Skip to content

Commit fe2c9cd

Browse files
ouptonMarc Zyngier
authored andcommitted
KVM: arm64: nv: Advertise FEAT_SpecSEI to NV-enabled VMs
FEAT_SpecSEI is an informational feature describing whether speculative loads may generate SErrors. Since there are already cases where KVM reinjects an SError into the VM it is already possible this may happen due to a speculative load within the VM. Stop hiding the feature from NV-enabled VMs. Signed-off-by: Oliver Upton <oliver.upton@linux.dev> Signed-off-by: Marc Zyngier <maz@kernel.org>
1 parent 952387c commit fe2c9cd

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

arch/arm64/kvm/nested.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1529,7 +1529,6 @@ u64 limit_nv_id_reg(struct kvm *kvm, u32 reg, u64 val)
15291529
ID_AA64MMFR1_EL1_nTLBPA |
15301530
ID_AA64MMFR1_EL1_ETS |
15311531
ID_AA64MMFR1_EL1_XNX |
1532-
ID_AA64MMFR1_EL1_SpecSEI |
15331532
ID_AA64MMFR1_EL1_HAFDBS);
15341533
/* FEAT_E2H0 implies no VHE */
15351534
if (test_bit(KVM_ARM_VCPU_HAS_EL2_E2H0, kvm->arch.vcpu_features))

0 commit comments

Comments
 (0)