]> Gentwo Git Trees - linux/.git/commit
KVM: arm64: Convert HCR_EL2 RES0 handling to compute_reg_res0_bits()
authorMarc Zyngier <maz@kernel.org>
Thu, 18 Sep 2025 15:13:58 +0000 (16:13 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 19 Sep 2025 12:43:26 +0000 (13:43 +0100)
commitefe5406c55fb3203028507555c7da2bb417a397c
treec9cd4c6d18316044ee8d26b51a84061e47cb5b40
parentc99d62771f63116ffe54636980414fc74ab3471c
KVM: arm64: Convert HCR_EL2 RES0 handling to compute_reg_res0_bits()

While HCR_EL2 is unlikely to ever be RES0 (at least when NV is on),
but consistency doesn't hurt, and it can be described in the same
way as the other registers.

Convert it over to the new RES0-computing infrastructure.

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