]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: kexec: record parent context registers for non-crash CPUs
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 11 Apr 2018 18:35:19 +0000 (19:35 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Sat, 19 May 2018 10:35:56 +0000 (11:35 +0100)
commit359ff244268f58fd4d4fe60f57053e8a37d4bb47
tree64fc17a95c9c4f6b8345c9cb8e23c2bfd4a7602c
parent5a4d9849d66a6948ff989550473e8623501568e1
ARM: kexec: record parent context registers for non-crash CPUs

How we got to machine_crash_nonpanic_core() (iow, from an IPI, etc) is
not interesting for debugging a crash.  The more interesting context
is the parent context prior to the IPI being received.

Record the parent context register state rather than the register state
in machine_crash_nonpanic_core(), which is more relevant to the failing
condition.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/machine_kexec.c