[PATCH 0/2] iommu/amd: Fixes for x2APIC support

From: Suravee Suthikulpanit
Date: Wed Nov 20 2019 - 08:56:07 EST


Adding feature support check for MMIO access to MSI capability
block registers when enabling x2APIC (XT) mode. Also fix up logic
for checking XT feature support for IVHD type 10h.

Suravee Suthikulpanit (2):
iommu/amd: Check feature support bit before accessing MSI capability
registers
iommu/amd: Only support x2APIC with IVHD type 11h/40h

drivers/iommu/amd_iommu_init.c | 19 ++++++++++++-------
drivers/iommu/amd_iommu_types.h | 2 +-
2 files changed, 13 insertions(+), 8 deletions(-)

--
1.8.3.1