diff --git a/drivers/iommu/amd/init.c b/drivers/iommu/amd/init.c index e93bcb5eef70..f983b1961847 100644 --- a/drivers/iommu/amd/init.c +++ b/drivers/iommu/amd/init.c @@ -3098,7 +3098,7 @@ static bool __init check_ioapic_information(void) int idx; has_sb_ioapic = false; - ret = false; + ret = true; /* * If we have map overrides on the kernel command line the @@ -3123,7 +3123,6 @@ static bool __init check_ioapic_information(void) boot_cpu_data.x86_model <= 0xf && devid == IOAPIC_SB_DEVID_FAM18H_M4H)) { has_sb_ioapic = true; - ret = true; } } @@ -3137,6 +3136,7 @@ static bool __init check_ioapic_information(void) * device id for the IOAPIC in the system. */ pr_err("%s: No southbridge IOAPIC found\n", fw_bug); + ret = false; } if (!ret)