Re: [PATCH v1] iommu/amd: Recognize Hygon southbridge IOAPIC for interrupt remapping
From: Pu Wen
Date: Wed Mar 25 2026 - 07:02:13 EST
On 2026/3/25 17:39, Wei Wang wrote:
Hygon systems use the AMD IOMMU driver but newer Hygon platforms report......
the southbridge IOAPIC at a different PCI device (00:0b.0), whereas AMD
systems use device 00:14.0.
+/* SB IOAPIC device IDs */These macro definitions is not accurate, old Hygon processor also use
+#define IOAPIC_SB_DEVID_AMD ((0x00 << 8) | PCI_DEVFN(0x14, 0))
+#define IOAPIC_SB_DEVID_HYGON ((0x00 << 8) | PCI_DEVFN(0x0b, 0))
device 0x14, as you mentioned device 0xb is only for 'newer Hygon platforms'.
--
Regards,
Pu Wen