KVM: arm64: TCR_EL2 fixes, FEAT_LPA2=NI for NV
Status from this message: Applied to fixes, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Changes in v3 from the cover letter
- Collect R-b's from Joey
- Add patch "KVM: arm64: nv: Correctly compute the effective TCR_EL1 for nVHE TCR_EL2", itself picking up fixes for forwarding missing fields into the effective TCR_EL1 value (Fuad)
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | KVM: arm64: nv: Don't advertise FEAT_LPA2 for guest stage-1arch/ | +11 | 0 replies | |
| 2/5 | arm64: sysreg: Add TCR_EL2 to sysreg infrastructurearch/ arch/ arch/ | +125 | 0 replies | |
| 3/5 | KVM: arm64: Reset TCR_EL2 according to guest's E2H modearch/ | +9 | 0 replies | |
| 4/5 | KVM: arm64: Convert TCR_EL2 to config-driven sanitisationarch/ arch/ arch/ | +117 | 6 replies | |
| 5/5 | KVM: arm64: nv: Correctly compute the effective TCR_EL1 for nVHE TCR_EL2arch/ | +29 | 1 reply |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Mark Brown | Joey Gouly | Wei-Lin Chang | Fuad Tabba |
|---|---|---|---|---|
| Series | R-b T-b | |||
| 1/5 | ||||
| 2/5 | R-b | |||
| 3/5 | R-b | |||
| 4/5 | R-b | |||
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v3 0/5] KVM: arm64: TCR_EL2 fixes, FEAT_LPA2=NI for NV
I went ahead and grabbed Wei-Lin's series [1] that added TCR_EL2 sanitisation since it makes life quite a bit easier for computing an effective TCR_EL1.
Tested on Neoverse-V2 running a guest with FEAT_E2H0.
v2 -> v3:
- Collect R-b's from Joey
- Add patch "KVM: arm64: nv: Correctly compute the effective TCR_EL1 for nVHE TCR_EL2", itself picking up fixes for forwarding missing fields into the effective TCR_EL1 value (Fuad)
[*]: https://lore.kernel.org/all/[email protected]/
Marc Zyngier (1):
KVM: arm64: Reset TCR_EL2 according to guest's E2H mode
Oliver Upton (1):
KVM: arm64: nv: Correctly compute the effective TCR_EL1 for nVHE
TCR_EL2
Wei-Lin Chang (3):
KVM: arm64: nv: Don't advertise FEAT_LPA2 for guest stage-1
arm64: sysreg: Add TCR_EL2 to sysreg infrastructure
KVM: arm64: Convert TCR_EL2 to config-driven sanitisation
arch/arm64/include/asm/kvm_arm.h | 13 --- arch/arm64/include/asm/kvm_host.h | 2 +- arch/arm64/include/asm/kvm_nested.h | 38 +++++++-- arch/arm64/include/asm/sysreg.h | 1 - arch/arm64/kvm/config.c | 112 +++++++++++++++++++++++++ arch/arm64/kvm/nested.c | 15 ++++ arch/arm64/kvm/sys_regs.c | 10 ++- arch/arm64/tools/sysreg | 125 ++++++++++++++++++++++++++++ 8 files changed, 291 insertions(+), 25 deletions(-)
base-commit: 9e9283e4c941e806d2735f09b66763487bc48b50
Signature · 1 line
2.47.3