[PATCH 0/3] RFC: ARM section mapping debug prints

Linus Walleij linus.walleij at linaro.org
Fri Sep 4 04:19:46 EDT 2020


I just toss this out there to see if there is any general
interest. What the patches do is provide a printout of all
the very early section mappings right before the kernel
switches to execute from virtual memory.

I did this as part of troubleshooting KASan to see if the
problem was related to early boot and early section
mapping. It wasn't.

However if people find this useful I can polish it up with
your review comments and submit it to Russells patch tracker.

Linus Walleij (3):
  RFC: ARM: head: Use non-conditional instructions
  RFC: ARM: head: Save lr in r11 while setting up page tables
  RFC: ARM: head: Debug prints for section mappings

 arch/arm/Kconfig.debug |  13 ++++-
 arch/arm/kernel/head.S | 129 ++++++++++++++++++++++++++++++++++++++---
 2 files changed, 132 insertions(+), 10 deletions(-)

-- 
2.26.2




More information about the linux-arm-kernel mailing list