Skip to content

KVM: PPC: Paravirtualize KVM to support Ultravisor

Ram Pai kvm-ppc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13KVM: PPC: Ultravisor: generic ucall handler plpar_ucall()arch/powerpc/platforms/powernv/Makefile arch/powerpc/platforms/powernv/uvCall.S+42 -01 reply
2/13KVM: PPC: Ultravisor: Include ultravisor header file.arch/powerpc/include/asm/ucall-api.h arch/powerpc/include/uapi/asm/uapi_uvcall.h+15 -01 reply
3/13KVM: PPC: Ultravisor: Introduce the MSR_S bitarch/powerpc/include/asm/reg.h+3 -01 reply
4/13KVM: PPC: Ultravisor: Use UV_WRITE_PATE ucall to register a PATEarch/powerpc/include/asm/ucall-api.h arch/powerpc/include/uapi/asm/uapi_uvcall.h arch/powerpc/mm/hash_utils_64.c +2 more+69 -62 replies
5/13KVM: PPC: Ultravisor: Flush partition tlb cache, only if smf is not enabled.arch/powerpc/mm/pgtable-book3s64.c+21 -151 reply
6/13KVM: PPC: Ultravisor: UV_RESTRICTED_SPR_WRITE ucallarch/powerpc/include/asm/ucall-api.h arch/powerpc/include/uapi/asm/uapi_uvcall.h+7 -00 replies
7/13KVM: PPC: Ultravisor: UV_RESTRICTED_SPR_READ ucallarch/powerpc/include/asm/ucall-api.h arch/powerpc/include/uapi/asm/uapi_uvcall.h+12 -00 replies
8/13KVM: PPC: Ultravisor: fix mtspr and mfsprarch/powerpc/include/asm/reg.h arch/powerpc/include/asm/ucall-api.h arch/powerpc/kernel/paca.c +3 more+70 -420 replies
9/13KVM: PPC: Ultravisor: Return to UV for hcalls from SVMarch/powerpc/include/uapi/asm/uapi_uvcall.h arch/powerpc/kvm/book3s_hv_rmhandlers.S+25 -30 replies
10/13KVM: PPC: Ultravisor: Add PPC_KVM_UV config optionarch/powerpc/Kconfig+18 -00 replies
11/13KVM: PPC: Ultravisor: Check for MSR_S during hv_reset_msrarch/powerpc/kvm/book3s_64_mmu_hv.c+1 -00 replies
12/13KVM: PPC: Book3S HV: Fixed for running secure guestsarch/powerpc/kvm/book3s_hv_rmhandlers.S+7 -40 replies
13/13KVM: PPC: Ultravisor: Have fast_guest_return check secure_guestarch/powerpc/include/asm/kvm_host.h arch/powerpc/kernel/asm-offsets.c arch/powerpc/kvm/book3s_hv_rmhandlers.S+9 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/13] KVM: PPC: Paravirtualize KVM to support Ultravisor

Power9 supports a new feature called Protected Execution Facility; also known as Secure Memory Facility.

This feature enables a higher privileged execution mode called Ultravisor mode. When enabled, Hypervisor can access some system resources only through Ultravisor using ucalls. Paravirtualize the hypervisor to use the services of the Ultravisor. The PEF along with the Paravirtualized hypervisor and the Ultravisor, enables Secure Virtual Machines.

Anshuman Khandual (1):
KVM: PPC: Ultravisor: Add PPC_KVM_UV config option

Michael Anderson (2):
KVM: PPC: Ultravisor: Use UV_WRITE_PATE ucall to register a PATE
KVM: PPC: Ultravisor: Check for MSR_S during hv_reset_msr

Paul Mackerras (1):
KVM: PPC: Book3S HV: Fixed for running secure guests

Ram Pai (6):
KVM: PPC: Ultravisor: generic ucall handler plpar_ucall()
KVM: PPC: Ultravisor: Include ultravisor header file.
KVM: PPC: Ultravisor: Flush partition tlb cache, only if smf is not
enabled.
KVM: PPC: Ultravisor: UV_RESTRICTED_SPR_WRITE ucall
KVM: PPC: Ultravisor: UV_RESTRICTED_SPR_READ ucall
KVM: PPC: Ultravisor: fix mtspr and mfspr

Sukadev Bhattiprolu (3):
KVM: PPC: Ultravisor: Introduce the MSR_S bit
KVM: PPC: Ultravisor: Return to UV for hcalls from SVM
KVM: PPC: Ultravisor: Have fast_guest_return check secure_guest

 arch/powerpc/Kconfig                        | 18 +++++++++
 arch/powerpc/include/asm/kvm_host.h         |  1 +
 arch/powerpc/include/asm/reg.h              | 33 +++++++++++++---
 arch/powerpc/include/asm/ucall-api.h        | 58 +++++++++++++++++++++++++++
 arch/powerpc/include/uapi/asm/uapi_uvcall.h | 15 +++++++
 arch/powerpc/kernel/asm-offsets.c           |  1 +
 arch/powerpc/kernel/paca.c                  |  4 +-
 arch/powerpc/kvm/book3s_64_mmu_hv.c         |  1 +
 arch/powerpc/kvm/book3s_hv_rmhandlers.S     | 38 +++++++++++++++---
 arch/powerpc/mm/hash_utils_64.c             |  4 +-
 arch/powerpc/mm/pgtable-book3s64.c          | 61 ++++++++++++++++++++++-------
 arch/powerpc/mm/pgtable-radix.c             | 10 +++--
 arch/powerpc/oprofile/op_model_pa6t.c       |  4 +-
 arch/powerpc/perf/core-book3s.c             |  8 ++--
 arch/powerpc/platforms/powernv/Makefile     |  1 +
 arch/powerpc/platforms/powernv/uvCall.S     | 41 +++++++++++++++++++
 arch/powerpc/xmon/xmon.c                    | 58 ++++++++++++++-------------
 17 files changed, 290 insertions(+), 66 deletions(-)
 create mode 100644 arch/powerpc/include/asm/ucall-api.h
 create mode 100644 arch/powerpc/include/uapi/asm/uapi_uvcall.h
 create mode 100644 arch/powerpc/platforms/powernv/uvCall.S
Signature · 1 line
1.8.3.1