summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorQian Cai <cai@lca.pw>2019-08-23 10:22:00 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2019-09-14 00:04:46 +1000
commitec5b705c48365549c483fab17d68d15d83bef265 (patch)
tree3519ea844ad59a3f2f75c33bb9f9004605783492 /arch/powerpc
parent7dee93a9a8808b3d8595e1cc79ccb8b1a7bc7a77 (diff)
downloadblackbird-op-linux-ec5b705c48365549c483fab17d68d15d83bef265.tar.gz
blackbird-op-linux-ec5b705c48365549c483fab17d68d15d83bef265.zip
powerpc/mm/radix: remove useless kernel messages
Booting a POWER9 PowerNV system generates a few messages below with "____ptrval____" due to the pointers printed without a specifier extension (i.e unadorned %p) are hashed to prevent leaking information about the kernel memory layout. radix-mmu: Initializing Radix MMU radix-mmu: Partition table (____ptrval____) radix-mmu: Mapped 0x0000000000000000-0x0000000040000000 with 1.00 GiB pages (exec) radix-mmu: Mapped 0x0000000040000000-0x0000002000000000 with 1.00 GiB pages radix-mmu: Mapped 0x0000200000000000-0x0000202000000000 with 1.00 GiB pages radix-mmu: Process table (____ptrval____) and radix root for kernel: (____ptrval____) Signed-off-by: Qian Cai <cai@lca.pw> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/1566570120-16529-1-git-send-email-cai@lca.pw
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/mm/book3s64/radix_pgtable.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/mm/book3s64/radix_pgtable.c b/arch/powerpc/mm/book3s64/radix_pgtable.c
index 0d1107fb34c1..3a1fbf9cb8f8 100644
--- a/arch/powerpc/mm/book3s64/radix_pgtable.c
+++ b/arch/powerpc/mm/book3s64/radix_pgtable.c
@@ -369,8 +369,6 @@ static void __init radix_init_pgtable(void)
rts_field = radix__get_tree_size();
process_tb->prtb0 = cpu_to_be64(rts_field | __pa(init_mm.pgd) | RADIX_PGD_INDEX_SIZE);
- pr_info("Process table %p and radix root for kernel: %p\n", process_tb, init_mm.pgd);
-
/*
* The init_mm context is given the first available (non-zero) PID,
* which is the "guard PID" and contains no page table. PIDR should
@@ -399,7 +397,6 @@ static void __init radix_init_partition_table(void)
mmu_partition_table_set_entry(0, dw0, dw1, false);
pr_info("Initializing Radix MMU\n");
- pr_info("Partition table %p\n", partition_tb);
}
static int __init get_idx_from_shift(unsigned int shift)
OpenPOWER on IntegriCloud