On Thu, 20 Feb 2025 13:48:53 +0000, Marc Zyngier wrote: > Since the previous incarnation of the ABI was proved to be subtly > wrong, I have reworked it to be more in line with the current way KVM > operates. > > No more late NV-specific adjustment nor writable ID_AA64MMFR0_EL1.VH. > The NV configuration is now entirely selected from the vcpu flags. > I've preserved the KVM_ARM_VCPU_EL2 flag which enables NV with VHE, > and added KVM_ARM_VCPU_EL2_E2H0 which alters the NV behaviour to only > allow nVHE guests without recursive NV support. > > [...] I fixed up the typos, including the one that breaks bisection. Can always back this out if anything is out of place. Applied to next, thanks! [01/14] arm64: cpufeature: Handle NV_frac as a synonym of NV2 https://git.kernel.org/kvmarm/kvmarm/c/88aea41b9bc5 [02/14] KVM: arm64: Hide ID_AA64MMFR2_EL1.NV from guest and userspace https://git.kernel.org/kvmarm/kvmarm/c/9d6745572899 [03/14] KVM: arm64: Mark HCR.EL2.E2H RES0 when ID_AA64MMFR1_EL1.VH is zero https://git.kernel.org/kvmarm/kvmarm/c/d9f943f76506 [04/14] KVM: arm64: Mark HCR.EL2.{NV*,AT} RES0 when ID_AA64MMFR4_EL1.NV_frac is 0 https://git.kernel.org/kvmarm/kvmarm/c/8f8d6084f5b5 [05/14] KVM: arm64: Advertise NV2 in the boot messages https://git.kernel.org/kvmarm/kvmarm/c/2cd9542a375a [06/14] KVM: arm64: Consolidate idreg callbacks https://git.kernel.org/kvmarm/kvmarm/c/57e7de2650c8 [07/14] KVM: arm64: Make ID_REG_LIMIT_FIELD_ENUM() more widely available https://git.kernel.org/kvmarm/kvmarm/c/179fd7e30f04 [08/14] KVM: arm64: Enforce NV limits on a per-idregs basis https://git.kernel.org/kvmarm/kvmarm/c/e7ef6ed4583e [09/14] KVM: arm64: Move NV-specific capping to idreg sanitisation https://git.kernel.org/kvmarm/kvmarm/c/94f296dcd6d9 [10/14] KVM: arm64: Allow userspace to limit NV support to nVHE https://git.kernel.org/kvmarm/kvmarm/c/f83c41fb3ddd [11/14] KVM: arm64: Make ID_AA64MMFR4_EL1.NV_frac writable https://git.kernel.org/kvmarm/kvmarm/c/642c23ea8b45 [12/14] KVM: arm64: Advertise FEAT_ECV when possible https://git.kernel.org/kvmarm/kvmarm/c/8b0b98ebf34d -- Best, Oliver