mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/3]  KVM: s390: Enable AP instructions for pv-guests
@ 2023-07-28  9:23 Steffen Eiden
  2023-07-28  9:23 ` [PATCH v2 1/3] s390: uv: UV feature check utility Steffen Eiden
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Steffen Eiden @ 2023-07-28  9:23 UTC (permalink / raw)
  To: linux-kernel, linux-s390, kvm
  Cc: Janosch Frank, Claudio Imbrenda, David Hildenbrand,
	Michael Mueller, Marc Hartmayer

This series enables general KVM support for AP-passthrough for Secure
Execution guests (pv-guests).

To enable AP inside pv-guests two things have to be done/considered:
	1) set corresponding flags in the Create Secure Configuration UVC ifi
     firmware supports AP for pv-guests (patch 3).
	2) enable/disable AP in pv-guests if the VMM wants this (patch 2).

since v1:
  - PATCH 1: r-b from Claudio
  - PATCH 2: fixed formatting issues (Claudio)
  - PATCH 3: removed unnecessary checks (Claudio)

Steffen

Steffen Eiden (3):
  s390: uv: UV feature check utility
  KVM: s390: Add UV feature negotiation
  KVM: s390: pv:  Allow AP-instructions for pv guests

 arch/s390/include/asm/kvm_host.h |  2 ++
 arch/s390/include/asm/uv.h       | 17 ++++++++-
 arch/s390/include/uapi/asm/kvm.h | 25 +++++++++++++
 arch/s390/kernel/uv.c            |  2 +-
 arch/s390/kvm/kvm-s390.c         | 62 +++++++++++++++++++++++++++++++-
 arch/s390/kvm/pv.c               |  6 ++--
 arch/s390/mm/fault.c             |  2 +-
 7 files changed, 110 insertions(+), 6 deletions(-)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-07-28 15:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-28  9:23 [PATCH v2 0/3] KVM: s390: Enable AP instructions for pv-guests Steffen Eiden
2023-07-28  9:23 ` [PATCH v2 1/3] s390: uv: UV feature check utility Steffen Eiden
2023-07-28  9:23 ` [PATCH v2 2/3] KVM: s390: Add UV feature negotiation Steffen Eiden
2023-07-28 15:36   ` Heiko Carstens
2023-07-28  9:23 ` [PATCH v2 3/3] KVM: s390: pv: Allow AP-instructions for pv guests Steffen Eiden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome