Skip to contentSkip to conversation

quiet some ACPI boot messages

PATCH Applied Jesse Barnes 2 participants 2 messages Aug 24, 2004 – Aug 25, 2004 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 quiet some ACPI boot messages

This patch kills a couple of NUMA related printks and makes the tables parsing ones use KERN_DEBUG instead of KERN_INFO since most people don't really care where their ACPI tables are located.

Thanks,
Jesse

===== drivers/acpi/numa.c 1.10 vs edited =====

drivers/acpi/numa.c +0 -4
@@ -94,8 +94,6 @@
 	/* downcast just for %llu vs %lu for i386/ia64  */
 	localities = (u32) slit->localities;
 
-	printk(KERN_INFO PREFIX "SLIT localities %ux%u\n", localities, localities);
-
 	acpi_numa_slit_init(slit);
 
 	return 0;
@@ -147,8 +145,6 @@
 		return -EINVAL;
 
 	srat = (struct acpi_table_srat *) __va(phys_addr);
-
-	printk(KERN_INFO PREFIX "SRAT revision %d\n", srat->table_revision);
 
 	return 0;
 }

===== drivers/acpi/tables.c 1.25 vs edited =====

drivers/acpi/tables.c +2 -2
@@ -101,7 +101,7 @@
 	else
 		name = header->signature;
 
-	printk(KERN_INFO PREFIX "%.4s (v%3.3d %6.6s %8.8s 0x%08x %.4s 0x%08x) @ 0x%p\n",
+	printk(KERN_DEBUG PREFIX "%.4s (v%3.3d %6.6s %8.8s 0x%08x %.4s 0x%08x) @ 0x%p\n",
 		name, header->revision, header->oem_id,
 		header->oem_table_id, header->oem_revision,
 		header->asl_compiler_id, header->asl_compiler_revision,
@@ -587,7 +587,7 @@
 		return -ENODEV;
 	}
 
-	printk(KERN_INFO PREFIX "RSDP (v%3.3d %6.6s                                    ) @ 0x%p\n",
+	printk(KERN_DEBUG PREFIX "RSDP (v%3.3d %6.6s                                ) @ 0x%p\n",
 		rsdp->revision, rsdp->oem_id, (void *) rsdp_phys);
 
 	if (rsdp->revision < 2)

A message that is not in the archive (sent off-list or not yet received): 200408241520.08211.jbarnes-UzQTBcouhwxWk0Htik3J/[email protected]

Applied
#2 lore raw

Applied.

for debugging with serial console capture, be sure to remind folks to use "debug" to force all messages to the console.

thanks,
-Len

Quoted 11 lines · Jesse Barnes

This patch kills a couple of NUMA related printks and makes the tables parsing
ones use KERN_DEBUG instead of KERN_INFO since most people don't really care
where their ACPI tables are located.

Thanks,
Jesse

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285