On Tue, 25 Jun 2024 14:00:36 +0100, Marc Zyngier wrote: > As I'm inching towards supporting FEAT_S1PIE in a NV guest (oh, the > fun I'm having!), it has become obvious that we're missing the basics > when it comes to: > > - VM configuration: HCRX_EL2.TCR2En is forced to 1, and we blindly > save/restore stuff. > > [...] Applied to kvmarm/next, thanks! [1/5] KVM: arm64: Correctly honor the presence of FEAT_TCRX https://git.kernel.org/kvmarm/kvmarm/c/9b58e665d6b2 [2/5] KVM: arm64: Get rid of HCRX_GUEST_FLAGS https://git.kernel.org/kvmarm/kvmarm/c/a3ee9ce88ba3 [3/5] KVM: arm64: Make TCR2_EL1 save/restore dependent on the VM features https://git.kernel.org/kvmarm/kvmarm/c/1b04fd40275e [4/5] KVM: arm64: Make PIR{,E0}_EL1 save/restore conditional on FEAT_TCRX https://git.kernel.org/kvmarm/kvmarm/c/663abf04ee4d [5/5] KVM: arm64: Honor trap routing for TCR2_EL1 https://git.kernel.org/kvmarm/kvmarm/c/91e9cc70b775 -- Best, Oliver