[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: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Родитель
1281c8bef8
Коммит
9697add0f8
|
@ -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);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче