From: Guo Ren <guoren@xxxxxxxxxxxxxxxxx> Current riscv kexec can't crash_save percpu states and disable interrupts properly. The series fix them, make crash correct. v6: - Fixup checkpatch.pl problems - Remove Fixes tags and make the series as features v5: https://lore.kernel.org/linux-riscv/20221020141603.2856206-1-guoren@xxxxxxxxxx/ - Remove the patch which isn't relate to riscv - Add fixup crash_smp_send_stop test result v4: https://lore.kernel.org/linux-riscv/20220921033134.3133319-1-guoren@xxxxxxxxxx/ - Add cpu_ops[cpu]->cpu_stop() in ipi_cpu_crash_stop - Wording optimization in comments V3: https://lore.kernel.org/linux-riscv/20220819025444.2121315-1-guoren@xxxxxxxxxx/ - Fixup compile problem with !SMP, which reported by lkp@xxxxxxxxx - Cleanup declarations in asm/smp.h - Add reviewed-by V2: https://lore.kernel.org/linux-riscv/20220817161258.748836-1-guoren@xxxxxxxxxx/ - Add Fixes tags - Remove extern from bool smp_crash_stop_failed(void) V1: https://lore.kernel.org/linux-riscv/20220816012701.561435-1-guoren@xxxxxxxxxx/ Guo Ren (2): riscv: kexec: EOI active and mask all interrupts in kexec crash path riscv: kexec: Make crash save multi harts' context arch/riscv/include/asm/smp.h | 3 + arch/riscv/kernel/machine_kexec.c | 46 +++++++++++---- arch/riscv/kernel/smp.c | 97 ++++++++++++++++++++++++++++++- 3 files changed, 133 insertions(+), 13 deletions(-) -- 2.36.1 -- Crash-utility mailing list Crash-utility@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/crash-utility Contribution Guidelines: https://github.com/crash-utility/crash/wiki