RISC-V: fixups to work with crash tool
authorPalmer Dabbelt <palmer@rivosinc.com>
Thu, 11 Aug 2022 16:04:01 +0000 (09:04 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 11 Aug 2022 16:04:01 +0000 (09:04 -0700)
commitda06cc5bb600bc671715076b5bdd9088c674dd01
tree64d483dee67601fb29c9b15f7a66f6bf8ec54f2b
parent76ad33e1b95f3db7a2fb6c3141dc82a8d05f80dc
parentf9293ad46d8ba9909187a37b7215324420ad4596
RISC-V: fixups to work with crash tool

A handful of fixes to our kexec/crash kernel support that allow crash
tool to function.

Link: https://lore.kernel.org/r/mhng-f5fdaa37-e99a-4214-a297-ec81f0fed0c1@palmer-mbp2014
* commit 'f9293ad46d8ba9909187a37b7215324420ad4596':
  RISC-V: Add modules to virtual kernel memory layout dump
  RISC-V: Fixup schedule out issue in machine_crash_shutdown()
  RISC-V: Fixup get incorrect user mode PC for kernel mode regs
  RISC-V: kexec: Fixup use of smp_processor_id() in preemptible context
arch/riscv/mm/init.c