diff options
author | David Woodhouse <dwmw2@infradead.org> | 2009-02-13 23:18:03 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-02-20 14:40:19 -0800 |
commit | f585c3cf6db583055c2dc027e8602b0fd07faeb6 (patch) | |
tree | 0f7ade0786a403d258673d5f08c8e675e3cf5a11 /drivers/scsi/libiscsi.c | |
parent | 2d554b617ee692633b99c5e1c15cfb983443bd8c (diff) |
Fix Intel IOMMU write-buffer flushing
commit ca77fde8e62cecb2c0769052228d15b901367af8 upstream.
This is the cause of the DMA faults and disk corruption that people have
been seeing. Some chipsets neglect to report the RWBF "capability" --
the flag which says that we need to flush the chipset write-buffer when
changing the DMA page tables, to ensure that the change is visible to
the IOMMU.
Override that bit on the affected chipsets, and everything is happy
again.
Thanks to Chris and Bhavesh and others for helping to debug.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Tested-by: Chris Wright <chrisw@sous-sol.org>
Reviewed-by: Bhavesh Davda <bhavesh@vmware.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/scsi/libiscsi.c')
0 files changed, 0 insertions, 0 deletions