summaryrefslogtreecommitdiffstats
path: root/drivers/dma/ioat/registers.h
diff options
context:
space:
mode:
authorDave Jiang2016-05-11 23:32:49 +0200
committerVinod Koul2016-05-14 10:06:52 +0200
commit511deae0261c839461948f2d4d1c13b8c8a59cd8 (patch)
treedf07879dfeb5b9e5401c1dc99d364a1b2af9b354 /drivers/dma/ioat/registers.h
parentdmaengine: edma: Re-evaluate errors when ccerr is triggered w/o error event (diff)
downloadkernel-qcow2-linux-511deae0261c839461948f2d4d1c13b8c8a59cd8.tar.gz
kernel-qcow2-linux-511deae0261c839461948f2d4d1c13b8c8a59cd8.tar.xz
kernel-qcow2-linux-511deae0261c839461948f2d4d1c13b8c8a59cd8.zip
dmaengine: ioatdma: disable relaxed ordering for ioatdma
ioatdma by default is in snoop mode. Relaxed ordering according to spec does not do anything in snoop mode. However, it causes hang or significant performance degrade when tested with NTB. Disabling in the driver due to some BIOS do not configure it correctly. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/ioat/registers.h')
-rw-r--r--drivers/dma/ioat/registers.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/dma/ioat/registers.h b/drivers/dma/ioat/registers.h
index 4994a3623aee..70534981a49b 100644
--- a/drivers/dma/ioat/registers.h
+++ b/drivers/dma/ioat/registers.h
@@ -26,6 +26,13 @@
#define IOAT_PCI_CHANERR_INT_OFFSET 0x180
#define IOAT_PCI_CHANERRMASK_INT_OFFSET 0x184
+/* PCIe config registers */
+
+/* EXPCAPID + N */
+#define IOAT_DEVCTRL_OFFSET 0x8
+/* relaxed ordering enable */
+#define IOAT_DEVCTRL_ROE 0x10
+
/* MMIO Device Registers */
#define IOAT_CHANCNT_OFFSET 0x00 /* 8-bit */