KVM: arm64: Fixed features for protected VMs
Status from this message: Applied to next, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest11 patches 5 repliesApplied
- v711 patches 0 repliesSuperseded
- v612 patches 17 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 | 8 patches | 8 replies | Superseded | |
| v4 | 15 patches | 14 replies | Superseded | |
| v3 | 15 patches | 26 replies | Superseded | |
| v2 | 13 patches | 18 replies | Superseded | |
| v1 | 13 patches | 4 replies | Superseded |
Patches in v8 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | KVM: arm64: Move __get_fault_info() and co into their own include filearch/ arch/ arch/ | +77 | 0 replies | |
| 2/11 | KVM: arm64: Don't include switch.h into nvhe/kvm-main.carch/ | +1 | 0 replies | |
| 3/11 | KVM: arm64: Move early handlers to per-EC handlersarch/ arch/ arch/ | +124 | 0 replies | |
| 4/11 | KVM: arm64: Pass struct kvm to per-EC handlersarch/ arch/ arch/ | +4 | 0 replies | |
| 5/11 | KVM: arm64: Add missing field descriptor for MDCR_EL2arch/ | +1 | 0 replies | |
| 6/11 | KVM: arm64: Simplify masking out MTE in feature id regarch/ | +2 | 0 replies | |
| 7/11 | KVM: arm64: Add handlers for protected VM System Registersarch/ arch/ arch/ +5 more | +737 | 2 replies | |
| 8/11 | KVM: arm64: Initialize trap registers for protected VMsarch/ arch/ arch/ +4 more | +209 | 0 replies | |
| 9/11 | KVM: arm64: Move sanitized copies of CPU featuresarch/ arch/ | +2 | 0 replies | |
| 10/11 | KVM: arm64: Trap access to pVM restricted featuresarch/ | +57 | 0 replies | |
| 11/11 | KVM: arm64: Handle protected guests at 32 bitsarch/ | +34 | 25 replies |
Reviews trailers per patch
6 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Jones | Will Deacon | Fuad Tabba |
|---|---|---|---|
| 1/11 | |||
| 2/11 | |||
| 3/11 | |||
| 4/11 | |||
| 5/11 | R-b | ||
| 6/11 | R-b | ||
| 7/11 | R-b | ||
| 8/11 | R-b | ||
| 9/11 | A-b | ||
| 10/11 | |||
| 11/11 | R-b R-b R-b | R-b T-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 3 reviewers.
Cover letter [PATCH v8 00/11] KVM: arm64: Fixed features for protected VMs
Hi,
Changes since v7 [1]:
- Fix build warnings
This patch series adds support for restricting CPU features for protected VMs in KVM (pKVM). For more background, please refer to the previous series [2].
This series is based on 5.15-rc4. You can find the applied series here [3].
Cheers,
/fuad
[1] https://lore.kernel.org/kvmarm/[email protected]/
[2] https://lore.kernel.org/kvmarm/[email protected]/
[3] https://android-kvm.googlesource.com/linux/+/refs/heads/tabba/el2_fixed_feature_v8
Fuad Tabba (8):
KVM: arm64: Pass struct kvm to per-EC handlers
KVM: arm64: Add missing field descriptor for MDCR_EL2
KVM: arm64: Simplify masking out MTE in feature id reg
KVM: arm64: Add handlers for protected VM System Registers
KVM: arm64: Initialize trap registers for protected VMs
KVM: arm64: Move sanitized copies of CPU features
KVM: arm64: Trap access to pVM restricted features
KVM: arm64: Handle protected guests at 32 bits
Marc Zyngier (3):
KVM: arm64: Move __get_fault_info() and co into their own include file
KVM: arm64: Don't include switch.h into nvhe/kvm-main.c
KVM: arm64: Move early handlers to per-EC handlers
arch/arm64/include/asm/kvm_arm.h | 1 + arch/arm64/include/asm/kvm_asm.h | 1 + arch/arm64/include/asm/kvm_fixed_config.h | 195 +++++++ arch/arm64/include/asm/kvm_host.h | 2 + arch/arm64/include/asm/kvm_hyp.h | 5 + arch/arm64/kvm/arm.c | 13 + arch/arm64/kvm/hyp/include/hyp/fault.h | 75 +++ arch/arm64/kvm/hyp/include/hyp/switch.h | 221 ++++---- arch/arm64/kvm/hyp/include/nvhe/sys_regs.h | 29 + .../arm64/kvm/hyp/include/nvhe/trap_handler.h | 2 + arch/arm64/kvm/hyp/nvhe/Makefile | 2 +- arch/arm64/kvm/hyp/nvhe/hyp-main.c | 11 +- arch/arm64/kvm/hyp/nvhe/mem_protect.c | 8 +- arch/arm64/kvm/hyp/nvhe/pkvm.c | 186 +++++++ arch/arm64/kvm/hyp/nvhe/setup.c | 3 + arch/arm64/kvm/hyp/nvhe/switch.c | 108 ++++ arch/arm64/kvm/hyp/nvhe/sys_regs.c | 500 ++++++++++++++++++ arch/arm64/kvm/hyp/vhe/switch.c | 16 + arch/arm64/kvm/sys_regs.c | 10 +- 19 files changed, 1243 insertions(+), 145 deletions(-) create mode 100644 arch/arm64/include/asm/kvm_fixed_config.h create mode 100644 arch/arm64/kvm/hyp/include/hyp/fault.h create mode 100644 arch/arm64/kvm/hyp/include/nvhe/sys_regs.h create mode 100644 arch/arm64/kvm/hyp/nvhe/pkvm.c create mode 100644 arch/arm64/kvm/hyp/nvhe/sys_regs.c
base-commit: 1da38549dd64c7f5dd22427f12dfa8db3d8a722b
Signature · 1 line
2.33.0.882.g93a45727a2-goog