]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Convert SCTLR_EL1 RES0 handling to compute_reg_res0_bits()
authorMarc Zyngier <maz@kernel.org>
Thu, 18 Sep 2025 15:14:01 +0000 (16:14 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 19 Sep 2025 12:43:26 +0000 (13:43 +0100)
commitd2a1d78ce5962b01500d09b15e2a854768552d44
tree099958cb9408e4490ebb3ea8d409869e8837b8ad
parent4870a8c1d18897681b6f6a50288d0b6dd5e21e24
KVM: arm64: Convert SCTLR_EL1 RES0 handling to compute_reg_res0_bits()

While SCTLR_EL1 cannot be RES0, convert it to the same infrastructure
anyway, as it make things cleaner.

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