mbox series

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

Message ID 20200904081949.5594-1-linus.walleij@linaro.org (mailing list archive)
Headers show
Series RFC: ARM section mapping debug prints | expand

Message

Linus Walleij Sept. 4, 2020, 8:19 a.m. UTC
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(-)