]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: nv: Advertise FEAT_TIDCP1 to NV-enabled VMs
authorOliver Upton <oliver.upton@linux.dev>
Fri, 12 Sep 2025 21:22:57 +0000 (14:22 -0700)
committerMarc Zyngier <maz@kernel.org>
Fri, 19 Sep 2025 13:01:35 +0000 (14:01 +0100)
commit6f2224ef07437116ae9c46257b323306260074d1
tree2f661c27593f72fc5067595f4b9d0780ff086313
parentfe2c9cd439e0f84a31b3610e2530663e5d1d3fa8
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>
arch/arm64/kvm/nested.c