1
0
Fork 0

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
alistair/sunxi64-5.4-dsi
Qian Cai 2019-08-23 10:22:00 -04:00 committed by Michael Ellerman
parent 7dee93a9a8
commit ec5b705c48
1 changed files with 0 additions and 3 deletions

View File

@ -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)