Skip to content

Commit 6f2224e

Browse files
ouptonMarc Zyngier
authored andcommitted
KVM: arm64: nv: Advertise FEAT_TIDCP1 to NV-enabled VMs
While KVM does not expose IMPDEF features to VMs, FEAT_TIDCP1 is an architecturally-defined EL1 trap of a particular sysreg encoding range. Furthermore, KVM already advertises this feature to non-NV VMs. As there is no interaction with EL2 traps, expose the feature. Signed-off-by: Oliver Upton <oliver.upton@linux.dev> Signed-off-by: Marc Zyngier <maz@kernel.org>
1 parent fe2c9cd commit 6f2224e

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
@@ -1525,7 +1525,6 @@ u64 limit_nv_id_reg(struct kvm *kvm, u32 reg, u64 val)
15251525

15261526
case SYS_ID_AA64MMFR1_EL1:
15271527
val &= ~(ID_AA64MMFR1_EL1_CMOW |
1528-
ID_AA64MMFR1_EL1_TIDCP1 |
15291528
ID_AA64MMFR1_EL1_nTLBPA |
15301529
ID_AA64MMFR1_EL1_ETS |
15311530
ID_AA64MMFR1_EL1_XNX |

0 commit comments

Comments
 (0)