diff options
author | Fenghua Yu <fenghua.yu@intel.com> | 2015-02-21 13:07:27 -0800 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2015-03-25 15:35:19 +0000 |
commit | 68c1b89cf5653acd1107253e146b332420a1f4a7 (patch) | |
tree | 235f48b04b4c6a7f3fc996b0950fde4d5ddf720e | |
parent | 44caf2f37f009b2affa743073fa935826b6ab2fd (diff) | |
download | linux-68c1b89cf5653acd1107253e146b332420a1f4a7.tar.gz linux-68c1b89cf5653acd1107253e146b332420a1f4a7.tar.bz2 linux-68c1b89cf5653acd1107253e146b332420a1f4a7.zip |
iommu/vt-d: Print x2apic opt out info instead of printing a warning
BIOS can set up x2apic_opt_out bit on some platforms, for various misguided
reasons like insane SMM code with weird assumptions about what descriptors
look like, or wanting Windows not to enable the IOMMU so that the graphics
driver will take it over for SVM in "driver mode".
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.
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
-rw-r--r-- | drivers/iommu/intel_irq_remapping.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/iommu/intel_irq_remapping.c b/drivers/iommu/intel_irq_remapping.c index a55b207b9425..07d1a6848ad7 100644 --- a/drivers/iommu/intel_irq_remapping.c +++ b/drivers/iommu/intel_irq_remapping.c @@ -615,10 +615,7 @@ static int __init intel_enable_irq_remapping(void) 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) { |