]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Enforce absence of FEAT_SCTLR2 on SCTLR2_EL{1,2}
authorMarc Zyngier <maz@kernel.org>
Thu, 18 Sep 2025 15:13:59 +0000 (16:13 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 19 Sep 2025 12:43:26 +0000 (13:43 +0100)
commitf89763efe86cc05f8465c7eea85a76183f218c56
treed7b2392426648db9143054311d70485862e55a55
parentefe5406c55fb3203028507555c7da2bb417a397c
KVM: arm64: Enforce absence of FEAT_SCTLR2 on SCTLR2_EL{1,2}

Enforce that SCTLR2_EL{1,2} are RES0 when FEAT_SCTLR2 isn't present.

Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/config.c