]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Convert MDCR_EL2 RES0 handling to compute_reg_res0_bits()
authorMarc Zyngier <maz@kernel.org>
Thu, 18 Sep 2025 15:14:02 +0000 (16:14 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 19 Sep 2025 12:45:36 +0000 (13:45 +0100)
commitac53365990a19e808fde2758074ee31be65d1015
tree0a29392cd4459e8d2c721cf00cf49d5edf72b3fd
parentd2a1d78ce5962b01500d09b15e2a854768552d44
KVM: arm64: Convert MDCR_EL2 RES0 handling to compute_reg_res0_bits()

While MDCR_EL2 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