]> www.infradead.org Git - users/hch/misc.git/commitdiff
KVM: arm64: nv: Expose FEAT_RASv1p1 via RAS_frac
authorOliver Upton <oliver.upton@linux.dev>
Fri, 12 Sep 2025 21:22:51 +0000 (14:22 -0700)
committerMarc Zyngier <maz@kernel.org>
Fri, 19 Sep 2025 13:01:35 +0000 (14:01 +0100)
KVM already supports FEAT_RASv1p1 for NV-enabled VMs but only when
advertised through the canonical field. Stop masking the silly frac
field to expose the feature on systems without FEAT_DF.

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

index 5e46e95e26848acf02c3ceac0b02dfad141ebc7f..35fa6e00c9bef8c34d66f96c2c65936d635f972a 100644 (file)
@@ -1471,7 +1471,6 @@ u64 limit_nv_id_reg(struct kvm *kvm, u32 reg, u64 val)
                         ID_AA64PFR1_EL1_SME            |
                         ID_AA64PFR1_EL1_RES0           |
                         ID_AA64PFR1_EL1_MPAM_frac      |
-                        ID_AA64PFR1_EL1_RAS_frac       |
                         ID_AA64PFR1_EL1_MTE);
                break;