riscv/mm/fault: add show_pte() before die()
authorYunhui Cui <cuiyunhui@bytedance.com>
Tue, 23 Jul 2024 02:18:20 +0000 (10:18 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Sat, 18 Jan 2025 21:29:23 +0000 (13:29 -0800)
commitb6de116e4636e1a45e5ee69264a66cfab721e581
tree224d1da35939e1d101a99ae6463961ff450b5951
parent2613c15b0cc1c0607d9f2b718d7bc117c40f9230
riscv/mm/fault: add show_pte() before die()

When the kernel displays "Unable to handle kernel paging request at
virtual address", we would like to confirm the status of the virtual
address in the page table. So add show_pte() before die().

Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20240723021820.87718-1-cuiyunhui@bytedance.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/mm/fault.c