KVM: arm64: nv: Add CPTR_EL2 handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | KVM: arm64: nv: Add TCPAC/TTA to CPTR->CPACR conversion helperarch/ | +3 | 0 replies | |
| 2/4 | KVM: arm64: nv: Add trap description for CPTR_EL2arch/ | +91 | 0 replies | |
| 3/4 | KVM: arm64: nv: Add additional trap setup for CPTR_EL2arch/ arch/ | +23 | 0 replies | |
| 4/4 | KVM: arm64: nv: Handle CPACR_EL1 trapsarch/ | +31 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] KVM: arm64: nv: Add CPTR_EL2 handling
Building on top of Oliver's NV+SVE series[1], I've put together a small set of patches handling CPTR_EL2, as the two are pretty closely related.
This series adds:
- the description on the CPTR_EL2-driven traps in the exception routing tables
- the merging of the L1 guest's CPTR_EL2 traps with the host's
- the handling of L1's CPTR_EL2 access via the CPACR_EL1 accessor as a trap so that we can emulate writing to the TCPAC/TTA bits
Overall, this is pretty straightforward (for NV, that is...).
[1] https://lore.kernel.org/r/[email protected]
Marc Zyngier (4):
KVM: arm64: nv: Add TCPAC/TTA to CPTR->CPACR conversion helper
KVM: arm64: nv: Add trap description for CPTR_EL2
KVM: arm64: nv: Add additional trap setup for CPTR_EL2
KVM: arm64: nv: Handle CPACR_EL1 traps
arch/arm64/include/asm/kvm_emulate.h | 2 +- arch/arm64/include/asm/kvm_nested.h | 4 +- arch/arm64/kvm/emulate-nested.c | 91 ++++++++++++++++++++++++++++ arch/arm64/kvm/hyp/vhe/switch.c | 55 ++++++++++++++++- 4 files changed, 148 insertions(+), 4 deletions(-)
Signature · 1 line
2.39.2