Skip to contentSkip to conversation

driver/iommu/intel_irq_remapping: Print x2apic opt out info instead of printing a warning

PATCH New Fenghua Yu 1 participant 1 message Feb 21, 2015 IOMMU

lore
Share & tools
lore

Fenghua Yu

author
#0 lore raw

PATCH 1/1 driver/iommu/intel_irq_remapping: Print x2apic opt out info instead of printing a warning

From: Fenghua Yu <[email protected]>

BIOS can set up x2apic_opt_out bit on some platforms. This is not a BIOS problem. A user can either disable the x2apic_opt_out bit in BIOS or by kernel parameter "no_x2apic_optout". Instead of printing a warning, we just print information of x2apic opt out.

---
 drivers/iommu/intel_irq_remapping.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/iommu/intel_irq_remapping.c +1 -4
index 14de1ab..cd3c4d6 100644
@@ -637,10 +637,7 @@ static int __init intel_enable_irq_remapping(void)
 	if (x2apic_supported()) {
 		eim = !dmar_x2apic_optout();
 		if (!eim)
-			printk(KERN_WARNING
-				"Your BIOS is broken and requested that x2apic be disabled.\n"
-				"This will slightly decrease performance.\n"
-				"Use 'intremap=no_x2apic_optout' to override BIOS request.\n");
+			pr_info("x2apic is disabled because BIOS sets x2apic opt out bit. You can use 'intremap=no_x2apic_optout' to override the BIOS setting.\n");
 	}
 
 	for_each_iommu(iommu, drhd) {
Signature · 1 line
1.8.1.2