mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 18:23:53 +08:00
54c721b857
Daniel Walker reported problems which happens when
crash_kexec_post_notifiers kernel option is enabled
(https://lkml.org/lkml/2015/6/24/44).
In that case, smp_send_stop() is called before entering kdump routines
which assume other CPUs are still online. As the result, kdump
routines fail to save other CPUs' registers. Additionally for MIPS
OCTEON, it misses to stop the watchdog timer.
To fix this problem, call a new kdump friendly function,
crash_smp_send_stop(), instead of the smp_send_stop() when
crash_kexec_post_notifiers is enabled. crash_smp_send_stop() is a
weak function, and it just call smp_send_stop(). Architecture
codes should override it so that kdump can work appropriately.
This patch provides MIPS version.
Fixes:
|
||
---|---|---|
.. | ||
crypto | ||
executive | ||
cpu.c | ||
csrc-octeon.c | ||
dma-octeon.c | ||
flash_setup.c | ||
Kconfig | ||
Makefile | ||
oct_ilm.c | ||
octeon_boot.h | ||
octeon-irq.c | ||
octeon-memcpy.S | ||
octeon-platform.c | ||
Platform | ||
setup.c | ||
smp.c |