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

Colton Lewis coltonlewis at google.com
Tue Nov 17 12:42:19 PST 2026


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



More information about the linux-arm-kernel mailing list