]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Prevent userspace from disabling AArch64 support at any virtualisable EL
authorMarc Zyngier <maz@kernel.org>
Tue, 29 Apr 2025 11:41:16 +0000 (12:41 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Mon, 5 May 2025 19:19:45 +0000 (12:19 -0700)
commit7af7cfbe78e23af0ac3cbe9b2b16da69f1412222
treed182583b2b5844c0e4341c447e7b62e90e0f056b
parent859c60276e12a3a18c65a3f9325e656a068c9b62
KVM: arm64: Prevent userspace from disabling AArch64 support at any virtualisable EL

A sorry excuse for a selftest is trying to disable AArch64 support.
And yes, this goes as well as you can imagine.

Let's forbid this sort of things. Normal userspace shouldn't get
caught doing that.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Ganapatrao Kulkarni <gankulkarni@os.amperecomputing.com>
Link: https://lore.kernel.org/r/20250429114117.3618800-2-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/sys_regs.c