aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-07-06 17:03:59 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-07-06 17:03:59 -0400
commit085ff82c9c615d502d1e6754879d8d4ff590d143 (patch)
tree5c29d4a691064adc6e5d62e29960a4be02a445b5 /arch/x86
parentf63bafe55654caf3a62f73500eafd1b89ca6f7ff (diff)
parent3dfc813d94bba2046c6aed216e0fd69ac93a8e03 (diff)
Merge git://git.infradead.org/iommu-2.6
* git://git.infradead.org/iommu-2.6: intel-iommu: Don't use identity mapping for PCI devices behind bridges intel-iommu: Use iommu_should_identity_map() at startup time too. intel-iommu: No mapping for non-PCI devices intel-iommu: Restore DMAR_BROKEN_GFX_WA option for broken graphics drivers intel-iommu: Add iommu_should_identity_map() function intel-iommu: Fix reattaching of devices to identity mapping domain intel-iommu: Don't set identity mapping for bypassed graphics devices intel-iommu: Fix dma vs. mm page confusion with aligned_nrpages()
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index c07f72205909..738bdc6b0f8b 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1913,6 +1913,18 @@ config DMAR_DEFAULT_ON
1913 recommended you say N here while the DMAR code remains 1913 recommended you say N here while the DMAR code remains
1914 experimental. 1914 experimental.
1915 1915
1916config DMAR_BROKEN_GFX_WA
1917 def_bool n
1918 prompt "Workaround broken graphics drivers (going away soon)"
1919 depends on DMAR
1920 ---help---
1921 Current Graphics drivers tend to use physical address
1922 for DMA and avoid using DMA APIs. Setting this config
1923 option permits the IOMMU driver to set a unity map for
1924 all the OS-visible memory. Hence the driver can continue
1925 to use physical addresses for DMA, at least until this
1926 option is removed in the 2.6.32 kernel.
1927
1916config DMAR_FLOPPY_WA 1928config DMAR_FLOPPY_WA
1917 def_bool y 1929 def_bool y
1918 depends on DMAR 1930 depends on DMAR