Skip to content

Commit 9b15684

Browse files
nwnkIngo Molnar
authored andcommitted
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: Adam Jackson <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
1 parent 1254469 commit 9b15684

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

arch/x86/kernel/aperture_64.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,11 +455,11 @@ void __init gart_iommu_hole_init(void)
455455
force_iommu ||
456456
valid_agp ||
457457
fallback_aper_force) {
458-
printk(KERN_ERR
458+
printk(KERN_INFO
459459
"Your BIOS doesn't leave a aperture memory hole\n");
460-
printk(KERN_ERR
460+
printk(KERN_INFO
461461
"Please enable the IOMMU option in the BIOS setup\n");
462-
printk(KERN_ERR
462+
printk(KERN_INFO
463463
"This costs you %d MB of RAM\n",
464464
32 << fallback_aper_order);
465465

include/asm-x86/gart.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ static inline int aperture_valid(u64 aper_base, u32 aper_size, u32 min_size)
5252
return 0;
5353

5454
if (aper_base + aper_size > 0x100000000ULL) {
55-
printk(KERN_ERR "Aperture beyond 4GB. Ignoring.\n");
55+
printk(KERN_INFO "Aperture beyond 4GB. Ignoring.\n");
5656
return 0;
5757
}
5858
if (e820_any_mapped(aper_base, aper_base + aper_size, E820_RAM)) {
59-
printk(KERN_ERR "Aperture pointing to e820 RAM. Ignoring.\n");
59+
printk(KERN_INFO "Aperture pointing to e820 RAM. Ignoring.\n");
6060
return 0;
6161
}
6262
if (aper_size < min_size) {
63-
printk(KERN_ERR "Aperture too small (%d MB) than (%d MB)\n",
63+
printk(KERN_INFO "Aperture too small (%d MB) than (%d MB)\n",
6464
aper_size>>20, min_size>>20);
6565
return 0;
6666
}

0 commit comments

Comments
 (0)