From: Aneesh Kumar K.V Date: Sun, 28 Apr 2013 09:37:38 +0000 (+0000) Subject: powerpc: Print page size info during boot X-Git-Tag: firefly_0821_release~3680^2~603^2~7 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3dc4feca4bf39d12f35a0e8c6997a8e188ab6cb8;p=firefly-linux-kernel-4.4.55.git powerpc: Print page size info during boot This gives hint about different base and actual page size combination supported by the platform. Signed-off-by: Aneesh Kumar K.V Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c index 5f7a85d40a75..3e4c4ed19335 100644 --- a/arch/powerpc/mm/hash_utils_64.c +++ b/arch/powerpc/mm/hash_utils_64.c @@ -316,7 +316,7 @@ static int __init htab_dt_scan_page_sizes(unsigned long node, prop = (u32 *)of_get_flat_dt_prop(node, "ibm,segment-page-sizes", &size); if (prop != NULL) { - DBG("Page sizes from device-tree:\n"); + pr_info("Page sizes from device-tree:\n"); size /= 4; cur_cpu_spec->mmu_features &= ~(MMU_FTR_16M_PAGE); while(size > 0) { @@ -370,10 +370,10 @@ static int __init htab_dt_scan_page_sizes(unsigned long node, "shift=%d\n", base_shift, shift); def->penc[idx] = penc; - DBG(" %d: shift=%02x, sllp=%04lx, " - "avpnm=%08lx, tlbiel=%d, penc=%d\n", - idx, shift, def->sllp, def->avpnm, - def->tlbiel, def->penc[idx]); + pr_info("base_shift=%d: shift=%d, sllp=0x%04lx," + " avpnm=0x%08lx, tlbiel=%d, penc=%d\n", + base_shift, shift, def->sllp, + def->avpnm, def->tlbiel, def->penc[idx]); } } return 1;