Skip to content
Commit 873c3e89 authored by Will Deacon's avatar Will Deacon
Browse files

arm64: Kill 32-bit applications scheduled on 64-bit-only CPUs



Scheduling a 32-bit application on a 64-bit-only CPU is a bad idea.

Ensure that 32-bit applications always take the slow-path when returning
to userspace on a system with mismatched support at EL0, so that we can
avoid trying to run on a 64-bit-only CPU and force a SIGKILL instead.

Reviewed-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20210608180313.11502-5-will@kernel.org


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 2f6a49bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment