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

From: Leonardo Bras

Date: Wed Nov 18 2026 - 06:18:11 EST


On Tue, Nov 17, 2026 at 08:42:19PM +0000, Colton Lewis wrote:
> Leonardo Bras <leo.bras@xxxxxxx> 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