From cad4099f3b9941c3b0cfb7d3984c2a4b28e7375b Mon Sep 17 00:00:00 2001 From: Liao Xuan Date: Sun, 2 Mar 2025 03:57:50 -0500 Subject: [PATCH] anolis: iommu/hygon: Add support for Hygon family 18h model 10h IOAPIC ANBZ: #19132 The SB IOAPIC for Hygon family 18h model 10h processors is also on the device 0xb. Signed-off-by: Liao Xuan --- drivers/iommu/amd/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/amd/init.c b/drivers/iommu/amd/init.c index 5b0c89b08f25..d0a332494d59 100644 --- a/drivers/iommu/amd/init.c +++ b/drivers/iommu/amd/init.c @@ -2879,7 +2879,7 @@ static bool __init check_ioapic_information(void) (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON && boot_cpu_data.x86 == 0x18 && boot_cpu_data.x86_model >= 0x4 && - boot_cpu_data.x86_model <= 0xf && + boot_cpu_data.x86_model <= 0x10 && devid == IOAPIC_SB_DEVID_FAM18H_M4H)) { has_sb_ioapic = true; ret = true; -- Gitee