diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2017-04-03 02:24:36 (GMT) |
---|---|---|
committer | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2017-06-08 10:17:24 (GMT) |
commit | 302143b3fe0ed40b3d3de18fd6de47a7f3a96aee (patch) | |
tree | 047e4e3b2c9fc5e9e74c2ed09882a15beea8b85c /arch/blackfin/mach-bf537 | |
parent | bba470f848029e67a0954f54660d9223bcab66be (diff) | |
download | linux-302143b3fe0ed40b3d3de18fd6de47a7f3a96aee.tar.xz |
arm64: kdump: implement machine_crash_shutdown()
Primary kernel calls machine_crash_shutdown() to shut down non-boot cpus
and save registers' status in per-cpu ELF notes before starting crash
dump kernel. See kernel_kexec().
Even if not all secondary cpus have shut down, we do kdump anyway.
As we don't have to make non-boot(crashed) cpus offline (to preserve
correct status of cpus at crash dump) before shutting down, this patch
also adds a variant of smp_send_stop().
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: James Morse <james.morse@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/blackfin/mach-bf537')
0 files changed, 0 insertions, 0 deletions