KVM: PPC: Driver to manage pages of secure guest
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v11 Latest7 patches 6 repliesIn review
- v108 patches 30 repliesSuperseded
- v98 patches 6 repliesSuperseded
Earlier versions · 8
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v8 | 8 patches | 11 replies | Superseded | |
| v7 | 7 patches | 17 replies | Superseded | |
| v6 | 7 patches | 6 replies | Superseded | |
| v5 | 7 patches | 12 replies | Superseded | |
| v4 | 6 patches | 9 replies | Superseded | |
| v3 RFC | 4 patches | 2 replies | Superseded | |
| v2 RFC | 4 patches | 0 replies | Superseded | |
| v1 RFC | 4 patches | 14 replies | Superseded |
Patches in v11 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | mm: ksm: Export ksm_madvise()mm/ | +1 | 3 replies | |
| 2/7 | KVM: PPC: Support for running secure guestsarch/ arch/ arch/ +5 more | +758 | 0 replies | |
| 3/7 | KVM: PPC: Shared pages support for secure guestsarch/ arch/ | +84 | 0 replies | |
| 4/7 | KVM: PPC: Radix changes for secure guestarch/ arch/ arch/ +2 more | +66 | 0 replies | |
| 5/7 | KVM: PPC: Handle memory plug/unplug to secure VMarch/ arch/ arch/ +3 more | +76 | 0 replies | |
| 6/7 | KVM: PPC: Support reset of secure guestDocumentation/ arch/ arch/ +4 more | +128 | 0 replies | |
| 7/7 | KVM: PPC: Ultravisor: Add PPC_UV config optionarch/ | +17 | 0 replies |
Reviews trailers per patch
2 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Paul Mackerras | Sukadev Bhattiprolu | Hugh Dickins |
|---|---|---|---|
| 1/7 | A-b | A-b | |
| 2/7 | |||
| 3/7 | |||
| 4/7 | |||
| 5/7 | |||
| 6/7 | |||
| 7/7 | 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 3 reviewers.
Cover letter [PATCH v11 0/7] KVM: PPC: Driver to manage pages of secure guest
Hi,
This is the next version of the patchset that adds required support in the KVM hypervisor to run secure guests on PEF-enabled POWER platforms.
This version includes the following changes:
- Ensure that any malicious calls to the 4 hcalls (init_start, init_done, page_in and page_out) are handled safely by returning appropriate errors (Paul Mackerras)
- init_start hcall should work for only radix guests.
- Fix the page-size-order argument in uv_page_inval (Ram Pai)
- Don't free up partition scoped page tables in HV when guest becomes secure (Paul Mackerras)
- During guest reset, when we unpin VPA pages, make sure that no vcpu is running and fail the SVM_OFF ioctl if any are running (Paul Mackerras)
- Dropped the patch that implemented init_abort hcall as it still has unresolved questions.
Anshuman Khandual (1):
KVM: PPC: Ultravisor: Add PPC_UV config option
Bharata B Rao (6):
mm: ksm: Export ksm_madvise()
KVM: PPC: Support for running secure guests
KVM: PPC: Shared pages support for secure guests
KVM: PPC: Radix changes for secure guest
KVM: PPC: Handle memory plug/unplug to secure VM
KVM: PPC: Support reset of secure guest
Documentation/virt/kvm/api.txt | 18 + arch/powerpc/Kconfig | 17 + arch/powerpc/include/asm/hvcall.h | 9 + arch/powerpc/include/asm/kvm_book3s_uvmem.h | 74 ++ arch/powerpc/include/asm/kvm_host.h | 6 + arch/powerpc/include/asm/kvm_ppc.h | 1 + arch/powerpc/include/asm/ultravisor-api.h | 6 + arch/powerpc/include/asm/ultravisor.h | 36 + arch/powerpc/kvm/Makefile | 3 + arch/powerpc/kvm/book3s_64_mmu_radix.c | 25 + arch/powerpc/kvm/book3s_hv.c | 143 ++++ arch/powerpc/kvm/book3s_hv_uvmem.c | 774 ++++++++++++++++++++ arch/powerpc/kvm/powerpc.c | 12 + include/uapi/linux/kvm.h | 1 + mm/ksm.c | 1 + 15 files changed, 1126 insertions(+) create mode 100644 arch/powerpc/include/asm/kvm_book3s_uvmem.h create mode 100644 arch/powerpc/kvm/book3s_hv_uvmem.c
Signature · 1 line
2.21.0