[PATCH V3] arm64: Unhash early pointer print plus improve comment

Catalin Marinas catalin.marinas at arm.com
Wed Dec 22 03:26:16 PST 2021


On Tue, 21 Dec 2021 12:52:30 -0300, Guilherme G. Piccoli wrote:
> When facing a really early issue on DT parsing we have currently
> a message that shows both the physical and virtual address of the FDT.
> The printk pointer modifier for the virtual address shows a hashed
> address there unless the user provides "no_hash_pointers" parameter in
> the command-line. The situation in which this message shows-up is a bit
> more serious though: the boot process is broken, nothing can be done
> (even an oops is too much for this early stage) so we have this message
> as a last resort in order to help debug bootloader issues, for example.
> Hence, we hereby change that to "%px" in order to make debugging easy,
> there's not much information leak risk in such early boot failure.
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: Unhash early pointer print plus improve comment
      https://git.kernel.org/arm64/c/31e833b20312

-- 
Catalin




More information about the linux-arm-kernel mailing list