• Matteo Croce's avatar
    x86/mm: Don't leak kernel addresses · 3fb2d0a2
    Matteo Croce authored
    [ Upstream commit a3151724 ]
    
    Since commit:
    
      ad67b74d ("printk: hash addresses printed with %p")
    
    at boot "____ptrval____" is printed instead of actual addresses:
    
        found SMP MP-table at [mem 0x000f5cc0-0x000f5ccf] mapped at [(____ptrval____)]
    
    Instead of changing the print to "%px", and leaking a kernel addresses,
    just remove the print completely, like in:
    
      071929db ("arm64: Stop printing the virtual memory layout").
    Signed-off-by: default avatarMatteo Croce <mcroce@redhat.com>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
    3fb2d0a2
mpparse.c 22.1 KB