From: David Woodhouse Date: Fri, 13 Feb 2009 23:18:03 +0000 (+0000) Subject: Fix Intel IOMMU write-buffer flushing X-Git-Tag: v2.6.27.19~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06d36fce36d9b5bd879f92db2dfe5ce755389d53;p=pandora-kernel.git 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 Tested-by: Chris Wright Reviewed-by: Bhavesh Davda Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed