]> asedeno.scripts.mit.edu Git - linux.git/commit
MIPS: kdump: Mark cpu back online before rebooting
authorDengcheng Zhu <dzhu@wavecomp.com>
Wed, 26 Sep 2018 19:49:10 +0000 (19:49 +0000)
committerPaul Burton <paul.burton@mips.com>
Fri, 28 Sep 2018 17:09:03 +0000 (10:09 -0700)
commit82689ac663ac2f3fe89231b2f929fbdae178bb81
tree91b0c5e088def7e4944a1a1add7c968e6fd70a39
parentedaa978e52c5928edd16905c8f3ef06e5b90e310
MIPS: kdump: Mark cpu back online before rebooting

The crash utility initializes cpu state by reading the system kernel
memory, which is copied into vmcore.

It is also natural to preserve the online state for CPUs at crash.

Failing to do so could make the analysis tool present info for only 1 CPU
by default, and unable to find panic task.

Signed-off-by: Dengcheng Zhu <dzhu@wavecomp.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20809/
Cc: Paul Burton <pburton@wavecomp.com>
Cc: "ralf@linux-mips.org" <ralf@linux-mips.org>
Cc: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
Cc: "rachel.mozes@intel.com" <rachel.mozes@intel.com>
arch/mips/kernel/machine_kexec.c