KVM: arm64: Fixes for guest CPU feature trapping and enabling
Status from this message: Applied to next, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest9 patches 7 repliesApplied
- v59 patches 17 repliesSuperseded
- v48 patches 3 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 8 patches | 2 replies | Superseded | |
| v2 | 5 patches | 5 replies | Superseded | |
| v1 | 8 patches | 12 replies | Superseded |
Patches in v6 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | KVM: arm64: Fix Trace Buffer trapping for protected VMsarch/ | +1 | 0 replies | |
| 2/9 | KVM: arm64: Fix Trace Buffer trap polarity for protected VMsarch/ | +1 | 0 replies | |
| 3/9 | KVM: arm64: Fix MTE flag initialization for protected VMsarch/ | +3 | 0 replies | |
| 4/9 | KVM: arm64: Introduce helper to calculate fault IPA offsetarch/ arch/ arch/ +1 more | +6 | 0 replies | |
| 5/9 | KVM: arm64: Include VM type when checking VM capabilities in pKVMarch/ arch/ arch/ | +13 | 0 replies | |
| 6/9 | KVM: arm64: Do not allow KVM_CAP_ARM_MTE for any guest in pKVMarch/ | +2 | 0 replies | |
| 7/9 | KVM: arm64: Track KVM IOCTLs and their associated KVM capsarch/ arch/ include/ | +45 | 0 replies | |
| 8/9 | KVM: arm64: Check whether a VM IOCTL is allowed in pKVMarch/ arch/ | +24 | 6 replies | |
| 9/9 | KVM: arm64: Prevent host from managing timer offsets for protected VMsarch/ | +13 | 0 replies |
Reviews trailers per patch
3 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Suzuki K Poulose | Ben Horgan |
|---|---|---|
| 1/9 | R-b | |
| 2/9 | R-b | |
| 3/9 | R-b | |
| 4/9 | ||
| 5/9 | ||
| 6/9 | ||
| 7/9 | ||
| 8/9 | ||
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/9] KVM: arm64: Fixes for guest CPU feature trapping and enabling
Hi,
This series contains several fixes for guest feature trapping and enabling in pKVM, as well as a bit of tidying up.
Changes from v6 [1]:
- Fixes to the patch that tracks KVM IOCTLs and their associated KVM caps. Move static header data and function definitions to arm.c.
- Introduce a capability KVM_CAP_ARM_BASIC instead of KVM_CAP_CORE, since it is ARM-specific and that it only checks basic ARM ioctls.
- Tidying up code and commit messages.
- Based on Linux 6.18
Cheers,
/fuad
[1] https://lore.kernel.org/all/[email protected]/
Fuad Tabba (9):
KVM: arm64: Fix Trace Buffer trapping for protected VMs
KVM: arm64: Fix Trace Buffer trap polarity for protected VMs
KVM: arm64: Fix MTE flag initialization for protected VMs
KVM: arm64: Introduce helper to calculate fault IPA offset
KVM: arm64: Include VM type when checking VM capabilities in pKVM
KVM: arm64: Do not allow KVM_CAP_ARM_MTE for any guest in pKVM
KVM: arm64: Track KVM IOCTLs and their associated KVM caps
KVM: arm64: Check whether a VM IOCTL is allowed in pKVM
KVM: arm64: Prevent host from managing timer offsets for protected VMs
arch/arm64/include/asm/kvm_arm.h | 2 + arch/arm64/include/asm/kvm_host.h | 2 + arch/arm64/include/asm/kvm_pkvm.h | 33 ++++++++++++++-- arch/arm64/kvm/arch_timer.c | 18 ++++++--- arch/arm64/kvm/arm.c | 49 +++++++++++++++++++++++- arch/arm64/kvm/hyp/nvhe/pkvm.c | 18 ++++----- arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy.c | 2 +- arch/arm64/kvm/inject_fault.c | 2 +- arch/arm64/kvm/mmu.c | 4 +- include/uapi/linux/kvm.h | 1 + 10 files changed, 107 insertions(+), 24 deletions(-)
base-commit: 7d0a66e4bb9081d75c82ec4957c50034cb0ea449
Signature · 1 line
2.52.0.223.gf5cc29aaa4-goog