Commit 9b156845 authored by Adam Jackson's avatar Adam Jackson Committed by Ingo Molnar

x86, debug printouts: IOMMU setup failures should not be KERN_ERR

The number of BIOSes that have an option to enable the IOMMU, or fix
anything about its configuration, is vanishingly small.  There's no good
reason to punish quiet boot for this.
Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 12544697
...@@ -455,11 +455,11 @@ void __init gart_iommu_hole_init(void) ...@@ -455,11 +455,11 @@ void __init gart_iommu_hole_init(void)
force_iommu || force_iommu ||
valid_agp || valid_agp ||
fallback_aper_force) { fallback_aper_force) {
printk(KERN_ERR printk(KERN_INFO
"Your BIOS doesn't leave a aperture memory hole\n"); "Your BIOS doesn't leave a aperture memory hole\n");
printk(KERN_ERR printk(KERN_INFO
"Please enable the IOMMU option in the BIOS setup\n"); "Please enable the IOMMU option in the BIOS setup\n");
printk(KERN_ERR printk(KERN_INFO
"This costs you %d MB of RAM\n", "This costs you %d MB of RAM\n",
32 << fallback_aper_order); 32 << fallback_aper_order);
......
...@@ -52,15 +52,15 @@ static inline int aperture_valid(u64 aper_base, u32 aper_size, u32 min_size) ...@@ -52,15 +52,15 @@ static inline int aperture_valid(u64 aper_base, u32 aper_size, u32 min_size)
return 0; return 0;
if (aper_base + aper_size > 0x100000000ULL) { if (aper_base + aper_size > 0x100000000ULL) {
printk(KERN_ERR "Aperture beyond 4GB. Ignoring.\n"); printk(KERN_INFO "Aperture beyond 4GB. Ignoring.\n");
return 0; return 0;
} }
if (e820_any_mapped(aper_base, aper_base + aper_size, E820_RAM)) { if (e820_any_mapped(aper_base, aper_base + aper_size, E820_RAM)) {
printk(KERN_ERR "Aperture pointing to e820 RAM. Ignoring.\n"); printk(KERN_INFO "Aperture pointing to e820 RAM. Ignoring.\n");
return 0; return 0;
} }
if (aper_size < min_size) { if (aper_size < min_size) {
printk(KERN_ERR "Aperture too small (%d MB) than (%d MB)\n", printk(KERN_INFO "Aperture too small (%d MB) than (%d MB)\n",
aper_size>>20, min_size>>20); aper_size>>20, min_size>>20);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment