[PATCH v1 1/2] KVM: arm64: Fix inverted E2H0 check for HCR_EL2.NV1

Leonardo Bras leo.bras at arm.com
Wed Nov 18 03:17:49 PST 2026


On Tue, Nov 17, 2026 at 08:42:19PM +0000, Colton Lewis wrote:
> Leonardo Bras <leo.bras at arm.com> writes:
> 
> > Maybe feat_nv2_e2h0_not_res0(). What do you think?
> 
> Agreed on renaming it. Since HCR_EL2.NV1 is the bit marked RES0 (while
> ID_AA64MMFR4_EL1.E2H0 is the signed ID field controlling it), I renamed
> the helper to feat_nv2_nv1_not_res0() in v2.
> 
> -- Colton

Awesome! Thanks!
Leo



More information about the linux-arm-kernel mailing list