KVM: arm64: Fix handling of TCR2_EL1
Status from this message: Applied to kvmarm/next, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | KVM: arm64: Correctly honor the presence of FEAT_TCRXarch/ arch/ | +10 | 3 replies | |
| 2/5 | KVM: arm64: Get rid of HCRX_GUEST_FLAGSarch/ arch/ | +7 | 1 reply | |
| 3/5 | KVM: arm64: Make TCR2_EL1 save/restore dependent on the VM featuresarch/ | +13 | 0 replies | |
| 4/5 | KVM: arm64: Make PIR{,E0}_EL1 save/restore conditional on FEAT_TCRXarch/ | +14 | 0 replies | |
| 5/5 | KVM: arm64: Honor trap routing for TCR2_EL1arch/ | +13 | 0 replies |
Reviews trailers per patch
2 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Joey Gouly |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] KVM: arm64: Fix handling of TCR2_EL1
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.
- trap bit description and routing: none, obviously, since we make a point in not trapping.
Given that these are prerequisites for the NV work and that we should have had that from the beginning, I would like to plug them before piling more patches on top.
Marc Zyngier (5):
KVM: arm64: Correctly honor the presence of FEAT_TCRX
KVM: arm64: Get rid of HCRX_GUEST_FLAGS
KVM: arm64: Make TCR2_EL1 save/restore dependent on the VM features
KVM: arm64: Make PIR{,E0}_EL1 save/restore conditional on FEAT_TCRX
KVM: arm64: Honor trap routing for TCR2_EL1
arch/arm64/include/asm/kvm_arm.h | 1 - arch/arm64/kvm/emulate-nested.c | 13 ++++++++ arch/arm64/kvm/hyp/include/hyp/sysreg-sr.h | 35 +++++++++++++++------- arch/arm64/kvm/sys_regs.c | 17 ++++++++++- 4 files changed, 54 insertions(+), 12 deletions(-)
Signature · 1 line
2.39.2