From e03fd64f365ec13cf6435640e1a7f3ed0667ffb6 Mon Sep 17 00:00:00 2001 From: yuntong Date: Tue, 3 Mar 2026 06:16:05 +0000 Subject: [PATCH] iommu/hygon: Add support for Hygon family 18h model 18h IOAPIC commit ec8b426005d02f1cff53e599d9a5aa1f7a85f920 anolis. ANBZ: #30095 The SB IOAPIC for Hygon family 18h model 18h processors is also on the device 0xb. Hygon-SIG: commit none hygon anolis: iommu/hygon: Add support for Hygon family 18h model 18h IOAPIC Hygon-SIG: commit ec8b426005d0 anolis anolis: iommu/hygon: Add support for Hygon family 18h model 18h IOAPIC Backport to support Hygon family 18h model 18h Signed-off-by: Liao Xuan Reviewed-by Guixin Liu Link: https://gitee.com/anolis/cloud-kernel/pulls/6458 [ YuntongJin : amend commit log ] Signed-off-by: YuntongJin --- drivers/iommu/amd_iommu_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.c index 7092df1002d8..f388ea863415 100644 --- a/drivers/iommu/amd_iommu_init.c +++ b/drivers/iommu/amd_iommu_init.c @@ -2477,7 +2477,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 <= 0x10 && + boot_cpu_data.x86_model <= 0x18 && devid == IOAPIC_SB_DEVID_FAM18H_M4H)) { has_sb_ioapic = true; ret = true; -- Gitee