diff options
| author | Mark Rutland <[email protected]> | 2018-07-02 14:17:53 +0100 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2018-07-04 18:34:24 +0100 |
| commit | 76f4e2da45b44bf70f61c28fcbc91668492463e0 (patch) | |
| tree | b6bc57929f74dfa86e552f92d1e614b09c33f69c /tools/perf/scripts/python/bin | |
| parent | 7e7df71fd57ff2894d96abb0080922bf39460a79 (diff) | |
arm64: kexec: always reset to EL2 if present
Currently machine_kexec() doesn't reset to EL2 in the case of a
crashdump kernel. This leaves potentially dodgy state active at EL2, and
means that if the crashdump kernel attempts to online secondary CPUs,
these will be booted as mismatched ELs.
Let's reset to EL2, as we do in all other cases, and simplify things. If
EL2 state is corrupt, things are already sufficiently bad that kdump is
unlikely to work, and it's best-effort regardless.
Cc: Catalin Marinas <[email protected]>
Cc: James Morse <[email protected]>
Acked-by: Marc Zyngier <[email protected]>
Signed-off-by: Mark Rutland <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions