diff options
| author | Oliver Upton <oliver.upton@linux.dev> | 2025-09-12 14:22:55 -0700 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2025-09-19 14:01:35 +0100 |
| commit | 952387c9d39998c7ba48a93aa7f8b8eb420d61dd (patch) | |
| tree | 1345b152eea33e0b4f9733e9114c4ddeef4e7594 | |
| parent | 05d9f3408334afb97b91dc869c658e6951c3dcb3 (diff) | |
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>
| -rw-r--r-- | arch/arm64/kvm/nested.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/kvm/nested.c b/arch/arm64/kvm/nested.c index 4e70b4908c99..a5e1a3de2742 100644 --- a/arch/arm64/kvm/nested.c +++ b/arch/arm64/kvm/nested.c @@ -1528,7 +1528,6 @@ u64 limit_nv_id_reg(struct kvm *kvm, u32 reg, u64 val) ID_AA64MMFR1_EL1_TIDCP1 | ID_AA64MMFR1_EL1_nTLBPA | ID_AA64MMFR1_EL1_ETS | - ID_AA64MMFR1_EL1_TWED | ID_AA64MMFR1_EL1_XNX | ID_AA64MMFR1_EL1_SpecSEI | ID_AA64MMFR1_EL1_HAFDBS); |
