diff options
author | Oliver Upton <[email protected]> | 2022-08-16 19:25:54 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2022-08-17 10:29:07 +0100 |
commit | b10d86fb8e46cc812171728bcd326df2f34e9ed5 (patch) | |
tree | c09436e916099e931372589f3d755c4839e36df1 /scripts/gdb/linux/modules.py | |
parent | f3c6efc72f3b20ec23566e768979802f0a398f04 (diff) |
KVM: arm64: Reject 32bit user PSTATE on asymmetric systems
KVM does not support AArch32 EL0 on asymmetric systems. To that end,
prevent userspace from configuring a vCPU in such a state through
setting PSTATE.
It is already ABI that KVM rejects such a write on a system where
AArch32 EL0 is unsupported. Though the kernel's definition of a 32bit
system changed in commit 2122a833316f ("arm64: Allow mismatched
32-bit EL0 support"), KVM's did not.
Fixes: 2122a833316f ("arm64: Allow mismatched 32-bit EL0 support")
Signed-off-by: Oliver Upton <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions