diff options
author | Guo Ren <[email protected]> | 2022-10-20 10:16:02 -0400 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2022-11-29 21:50:58 -0800 |
commit | b17d19a5314a37f7197afd1a0200affd21a7227d (patch) | |
tree | 839898de2b24078bdc33d8b87228d4d148a3548c /scripts/gdb/linux/vmalloc.py | |
parent | 9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff) |
riscv: kexec: Fixup irq controller broken in kexec crash path
If a crash happens on cpu3 and all interrupts are binding on cpu0, the
bad irq routing will cause a crash kernel which can't receive any irq.
Because crash kernel won't clean up all harts' PLIC enable bits in
enable registers. This patch is similar to 9141a003a491 ("ARM: 7316/1:
kexec: EOI active and mask all interrupts in kexec crash path") and
78fd584cdec0 ("arm64: kdump: implement machine_crash_shutdown()"), and
PowerPC also has the same mechanism.
Fixes: fba8a8674f68 ("RISC-V: Add kexec support")
Signed-off-by: Guo Ren <[email protected]>
Signed-off-by: Guo Ren <[email protected]>
Reviewed-by: Xianting Tian <[email protected]>
Cc: Nick Kossifidis <[email protected]>
Cc: Palmer Dabbelt <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions