aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/Kconfig
diff options
context:
space:
mode:
authorHari Vyas <hari.vyas@broadcom.com>2018-08-07 16:33:48 +0530
committerCatalin Marinas <catalin.marinas@arm.com>2018-09-14 17:46:25 +0100
commite4ba15debcfd27f60d43da940a58108783bff2a6 (patch)
tree2a01ebdec3611ac984827b78dde854ee8ec83f53 /arch/arm64/Kconfig
parentarm64: force_signal_inject: WARN if called from kernel context (diff)
downloadlinux-dev-e4ba15debcfd27f60d43da940a58108783bff2a6.tar.xz
linux-dev-e4ba15debcfd27f60d43da940a58108783bff2a6.zip
arm64: fix for bad_mode() handler to always result in panic
The bad_mode() handler is called if we encounter an uunknown exception, with the expectation that the subsequent call to panic() will halt the system. Unfortunately, if the exception calling bad_mode() is taken from EL0, then the call to die() can end up killing the current user task and calling schedule() instead of falling through to panic(). Remove the die() call altogether, since we really want to bring down the machine in this "impossible" case. Signed-off-by: Hari Vyas <hari.vyas@broadcom.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions