diff options
| -rw-r--r-- | drivers/pci/intel-iommu.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c index bf8fd913d064..c9171be74564 100644 --- a/drivers/pci/intel-iommu.c +++ b/drivers/pci/intel-iommu.c | |||
| @@ -340,7 +340,7 @@ int dmar_disabled = 0; | |||
| 340 | int dmar_disabled = 1; | 340 | int dmar_disabled = 1; |
| 341 | #endif /*CONFIG_DMAR_DEFAULT_ON*/ | 341 | #endif /*CONFIG_DMAR_DEFAULT_ON*/ |
| 342 | 342 | ||
| 343 | static int __initdata dmar_map_gfx = 1; | 343 | static int dmar_map_gfx = 1; |
| 344 | static int dmar_forcedac; | 344 | static int dmar_forcedac; |
| 345 | static int intel_iommu_strict; | 345 | static int intel_iommu_strict; |
| 346 | 346 | ||
| @@ -3721,6 +3721,12 @@ static void __devinit quirk_iommu_rwbf(struct pci_dev *dev) | |||
| 3721 | */ | 3721 | */ |
| 3722 | printk(KERN_INFO "DMAR: Forcing write-buffer flush capability\n"); | 3722 | printk(KERN_INFO "DMAR: Forcing write-buffer flush capability\n"); |
| 3723 | rwbf_quirk = 1; | 3723 | rwbf_quirk = 1; |
| 3724 | |||
| 3725 | /* https://bugzilla.redhat.com/show_bug.cgi?id=538163 */ | ||
| 3726 | if (dev->revision == 0x07) { | ||
| 3727 | printk(KERN_INFO "DMAR: Disabling IOMMU for graphics on this chipset\n"); | ||
| 3728 | dmar_map_gfx = 0; | ||
| 3729 | } | ||
| 3724 | } | 3730 | } |
| 3725 | 3731 | ||
| 3726 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2a40, quirk_iommu_rwbf); | 3732 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2a40, quirk_iommu_rwbf); |
