diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-11-20 01:07:10 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-11-20 01:07:10 +0100 |
commit | 228c4f5cfbf1cda411d9aa7204a612a63c89b1e8 (patch) | |
tree | 0920f900732ce598fef2cdc0c4899860534e837d /drivers/dma/ioat/dca.c | |
parent | ioat: silence "dca disabled" messages (diff) | |
download | linux-228c4f5cfbf1cda411d9aa7204a612a63c89b1e8.tar.xz linux-228c4f5cfbf1cda411d9aa7204a612a63c89b1e8.zip |
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/dca.c')
-rw-r--r-- | drivers/dma/ioat/dca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ioat/dca.c b/drivers/dma/ioat/dca.c index 14f0a782df44..abd9038e06b1 100644 --- a/drivers/dma/ioat/dca.c +++ b/drivers/dma/ioat/dca.c @@ -103,7 +103,7 @@ static int dca_enabled_in_bios(struct pci_dev *pdev) return res; } -static int system_has_dca_enabled(struct pci_dev *pdev) +int system_has_dca_enabled(struct pci_dev *pdev) { if (boot_cpu_has(X86_FEATURE_DCA)) return dca_enabled_in_bios(pdev); |