Skip to contentSkip to conversation

iommu/vt-d: Disable DMAR for Intel Q35 IGFX

PATCH Applied Naval Alcalá 2 participants 2 messages Apr 10 – May 8

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iommu/vt-d: Disable DMAR for Intel Q35 IGFX

Intel Q35 integrated graphics (8086:29b2) exhibits broken DMAR behaviour similar to other G4x/GM45 devices for which DMAR is already disabled via quirks.

When DMAR is enabled, the system may hard lock up during boot or early device initialization, requiring a reset.

This issue has been reported multiple times and remains unresolved:

Add the missing PCI ID to the existing quirk list to disable DMAR for this device.

---
 drivers/iommu/intel/iommu.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/iommu/intel/iommu.c +3 -0
index ef7613b177b9..8df0692e1fed 100644
@@ -3933,6 +3933,9 @@ static void quirk_iommu_igfx(struct pci_dev *dev)
 	disable_igfx_iommu = 1;
 }
 
+/* Q35 integrated gfx dmar support is totally busted. */
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x29b2, quirk_iommu_igfx);
+
 /* G4x/GM45 integrated gfx dmar support is totally busted. */
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2a40, quirk_iommu_igfx);
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2e00, quirk_iommu_igfx);
Signature · 1 line
2.51.0
maintainer Applied
#1 lore raw
Quoted 13 lines · Naval Alcalá

Intel Q35 integrated graphics (8086:29b2) exhibits broken DMAR behaviour similar to other G4x/GM45 devices for which DMAR is already disabled via quirks.

When DMAR is enabled, the system may hard lock up during boot or early device initialization, requiring a reset.

This issue has been reported multiple times and remains unresolved:

Quoted 7 lines

Add the missing PCI ID to the existing quirk list to disable DMAR for this device.

---
  drivers/iommu/intel/iommu.c | 3 +++
  1 file changed, 3 insertions(+)

Queued for v7.1-rc. Thanks!