Skip to content

Commit ec5b705

Browse files
Qian Caimpe
authored andcommitted
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 <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 7dee93a commit ec5b705

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

arch/powerpc/mm/book3s64/radix_pgtable.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,6 @@ static void __init radix_init_pgtable(void)
369369
rts_field = radix__get_tree_size();
370370
process_tb->prtb0 = cpu_to_be64(rts_field | __pa(init_mm.pgd) | RADIX_PGD_INDEX_SIZE);
371371

372-
pr_info("Process table %p and radix root for kernel: %p\n", process_tb, init_mm.pgd);
373-
374372
/*
375373
* The init_mm context is given the first available (non-zero) PID,
376374
* which is the "guard PID" and contains no page table. PIDR should
@@ -399,7 +397,6 @@ static void __init radix_init_partition_table(void)
399397
mmu_partition_table_set_entry(0, dw0, dw1, false);
400398

401399
pr_info("Initializing Radix MMU\n");
402-
pr_info("Partition table %p\n", partition_tb);
403400
}
404401

405402
static int __init get_idx_from_shift(unsigned int shift)

0 commit comments

Comments
 (0)