Commit 9697add0 authored by Anton Blanchard's avatar Anton Blanchard Committed by Paul Mackerras

[POWERPC] Quieten cache information at boot

After 6 years the ppc64 kernel still thinks its important to tell me my
cache line size is 0x80 bytes. I think most people who care know that by
now. The rest probably cant even understand the hex output.

Since we might have misconfigured firmware or cpus that have a linesize
that isnt 128 bytes, I still print it out for those cases. If people
would prefer to remove it completely, lets do it.

Also for lpar remove the htab_address printout since its not used.

Anton
ppc64 boot log usability expert
Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 1281c8be
...@@ -426,11 +426,14 @@ void __init setup_system(void) ...@@ -426,11 +426,14 @@ void __init setup_system(void)
printk("-----------------------------------------------------\n"); printk("-----------------------------------------------------\n");
printk("ppc64_pft_size = 0x%lx\n", ppc64_pft_size); printk("ppc64_pft_size = 0x%lx\n", ppc64_pft_size);
printk("physicalMemorySize = 0x%lx\n", lmb_phys_mem_size()); printk("physicalMemorySize = 0x%lx\n", lmb_phys_mem_size());
printk("ppc64_caches.dcache_line_size = 0x%x\n", if (ppc64_caches.dline_size != 0x80)
ppc64_caches.dline_size); printk("ppc64_caches.dcache_line_size = 0x%x\n",
printk("ppc64_caches.icache_line_size = 0x%x\n", ppc64_caches.dline_size);
ppc64_caches.iline_size); if (ppc64_caches.iline_size != 0x80)
printk("htab_address = 0x%p\n", htab_address); printk("ppc64_caches.icache_line_size = 0x%x\n",
ppc64_caches.iline_size);
if (htab_address)
printk("htab_address = 0x%p\n", htab_address);
printk("htab_hash_mask = 0x%lx\n", htab_hash_mask); printk("htab_hash_mask = 0x%lx\n", htab_hash_mask);
#if PHYSICAL_START > 0 #if PHYSICAL_START > 0
printk("physical_start = 0x%x\n", PHYSICAL_START); printk("physical_start = 0x%x\n", PHYSICAL_START);
......
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