diff options
| author | Hari Bathini <[email protected]> | 2021-12-07 16:07:18 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-12-09 22:41:22 +1100 |
| commit | 219572d2fc4135b5ce65c735d881787d48b10e71 (patch) | |
| tree | 9cb8fe21a962e5d81c5db88cdf37bc484f62b34c /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 3c42e9542050d49610077e083c7c3f5fd5e26820 (diff) | |
powerpc: handle kdump appropriately with crash_kexec_post_notifiers option
Kdump can be triggered after panic_notifers since commit f06e5153f4ae2
("kernel/panic.c: add "crash_kexec_post_notifiers" option for kdump
after panic_notifers") introduced crash_kexec_post_notifiers option.
But using this option would mean smp_send_stop(), that marks all other
CPUs as offline, gets called before kdump is triggered. As a result,
kdump routines fail to save other CPUs' registers. To fix this, kdump
friendly crash_smp_send_stop() function was introduced with kernel
commit 0ee59413c967 ("x86/panic: replace smp_send_stop() with kdump
friendly version in panic path"). Override this kdump friendly weak
function to handle crash_kexec_post_notifiers option appropriately
on powerpc.
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Hari Bathini <[email protected]>
[Fixed signature of crash_stop_this_cpu() - reported by [email protected]]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions