Skip to content

Commit 952387c

Browse files
ouptonMarc Zyngier
authored andcommitted
KVM: arm64: nv: Expose FEAT_TWED to NV-enabled VMs
KVM now handles HCR_EL2.{TWEDEn,TWEDEL} correctly when computing the effective HCR for a nested context. Advertise the feature. Signed-off-by: Oliver Upton <oliver.upton@linux.dev> Signed-off-by: Marc Zyngier <maz@kernel.org>
1 parent 05d9f34 commit 952387c

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
@@ -1528,7 +1528,6 @@ u64 limit_nv_id_reg(struct kvm *kvm, u32 reg, u64 val)
15281528
ID_AA64MMFR1_EL1_TIDCP1 |
15291529
ID_AA64MMFR1_EL1_nTLBPA |
15301530
ID_AA64MMFR1_EL1_ETS |
1531-
ID_AA64MMFR1_EL1_TWED |
15321531
ID_AA64MMFR1_EL1_XNX |
15331532
ID_AA64MMFR1_EL1_SpecSEI |
15341533
ID_AA64MMFR1_EL1_HAFDBS);

0 commit comments

Comments
 (0)