]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Correctly handle SCTLR_EL1 RES1 bits for unsupported features
authorMarc Zyngier <maz@kernel.org>
Mon, 2 Feb 2026 18:43:17 +0000 (18:43 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 5 Feb 2026 09:01:41 +0000 (09:01 +0000)
commitc27b8b7aabefb8ef226c3dfbc86ef7df6a9958c2
tree4345c52a29cfdb965a13de45b1c9dd6d13520d0a
parent459fc4e77e1ac932e47cb4a6d1a01b3be79fd41c
KVM: arm64: Correctly handle SCTLR_EL1 RES1 bits for unsupported features

A bunch of SCTLR_EL1 bits must be set to RES1 when the controlling
feature is not present. Add the AS_RES1 qualifier where needed.

Reviewed-by: Fuad Tabba <tabba@google.com>
Tested-by: Fuad Tabba <tabba@google.com>
Link: https://patch.msgid.link/20260202184329.2724080-9-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/config.c