[PATCH 0/2] riscv: kexec: Support crash_save percpu and machine_kexec_mask_interrupts

From: guoren
Date: Tue Aug 16 2022 - 02:41:46 EST


From: Guo Ren <guoren@xxxxxxxxxxxxxxxxx>

Current riscv kexec can't crash_save percpu states and disable
interrupts properly. The patch series fix them.

Guo Ren (2):
riscv: kexec: EOI active and mask all interrupts in kexec crash path
riscv: kexec: Implement crash_smp_send_stop with percpu crash_save_cpu

arch/riscv/include/asm/smp.h | 6 +++
arch/riscv/kernel/machine_kexec.c | 44 +++++++++++----
arch/riscv/kernel/smp.c | 89 ++++++++++++++++++++++++++++++-
3 files changed, 126 insertions(+), 13 deletions(-)

--
2.36.1