summaryrefslogtreecommitdiff
path: root/drivers/dma/ioat/hw.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-11-20 03:07:10 +0300
committerDan Williams <dan.j.williams@intel.com>2009-11-20 03:07:10 +0300
commit228c4f5cfbf1cda411d9aa7204a612a63c89b1e8 (patch)
tree0920f900732ce598fef2cdc0c4899860534e837d /drivers/dma/ioat/hw.h
parente22dde9904c2d26a522f1a2b89854a8238bf0933 (diff)
downloadlinux-228c4f5cfbf1cda411d9aa7204a612a63c89b1e8.tar.xz
ioat3: dca and raid operations are incompatible
RAID operations cause a system hang on platforms with DCA (Direct-Cache-Access) enabled. So turn off RAID capabilities in this case. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/ioat/hw.h')
-rw-r--r--drivers/dma/ioat/hw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/ioat/hw.h b/drivers/dma/ioat/hw.h
index 99afb12bd409..60e675455b6a 100644
--- a/drivers/dma/ioat/hw.h
+++ b/drivers/dma/ioat/hw.h
@@ -39,6 +39,8 @@
#define IOAT_VER_3_0 0x30 /* Version 3.0 */
#define IOAT_VER_3_2 0x32 /* Version 3.2 */
+int system_has_dca_enabled(struct pci_dev *pdev);
+
struct ioat_dma_descriptor {
uint32_t size;
union {