aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2016-07-13 05:35:25 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2016-07-17 02:42:52 -0400
commit56547411a07b0aabf55ce8b841dfdb7daced1250 (patch)
treebfb168afca52d56ce04a4d2525dacb451216a505 /arch/powerpc
parentaccfad7d0a85c5678eef76083972426032d64469 (diff)
powerpc/mm: Print formation regarding the the MMU mode
This helps in easily identifying the MMU mode with which the kernel is operating. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/mm/hash_utils_64.c3
-rw-r--r--arch/powerpc/mm/pgtable-radix.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c
index 1e9117e58a78..4f0fd470ded4 100644
--- a/arch/powerpc/mm/hash_utils_64.c
+++ b/arch/powerpc/mm/hash_utils_64.c
@@ -739,7 +739,7 @@ static void __init hash_init_partition_table(phys_addr_t hash_table,
739 * For now UPRT is 0 for us. 739 * For now UPRT is 0 for us.
740 */ 740 */
741 partition_tb->patb1 = 0; 741 partition_tb->patb1 = 0;
742 DBG("Partition table %p\n", partition_tb); 742 pr_info("Partition table %p\n", partition_tb);
743 /* 743 /*
744 * update partition table control register, 744 * update partition table control register,
745 * 64 K size. 745 * 64 K size.
@@ -947,6 +947,7 @@ void __init hash__early_init_mmu(void)
947 */ 947 */
948 htab_initialize(); 948 htab_initialize();
949 949
950 pr_info("Initializing hash mmu with SLB\n");
950 /* Initialize SLB management */ 951 /* Initialize SLB management */
951 slb_initialize(); 952 slb_initialize();
952} 953}
diff --git a/arch/powerpc/mm/pgtable-radix.c b/arch/powerpc/mm/pgtable-radix.c
index 4732fa3fe591..8636bf120985 100644
--- a/arch/powerpc/mm/pgtable-radix.c
+++ b/arch/powerpc/mm/pgtable-radix.c
@@ -182,7 +182,8 @@ static void __init radix_init_partition_table(void)
182 partition_tb = early_alloc_pgtable(1UL << PATB_SIZE_SHIFT); 182 partition_tb = early_alloc_pgtable(1UL << PATB_SIZE_SHIFT);
183 partition_tb->patb0 = cpu_to_be64(rts_field | __pa(init_mm.pgd) | 183 partition_tb->patb0 = cpu_to_be64(rts_field | __pa(init_mm.pgd) |
184 RADIX_PGD_INDEX_SIZE | PATB_HR); 184 RADIX_PGD_INDEX_SIZE | PATB_HR);
185 printk("Partition table %p\n", partition_tb); 185 pr_info("Initializing Radix MMU\n");
186 pr_info("Partition table %p\n", partition_tb);
186 187
187 memblock_set_current_limit(MEMBLOCK_ALLOC_ANYWHERE); 188 memblock_set_current_limit(MEMBLOCK_ALLOC_ANYWHERE);
188 /* 189 /*