public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] s390/uvdevice: Expose secret UVCs
@ 2023-05-12  9:31 Steffen Eiden
  2023-05-12  9:31 ` [PATCH 1/5] s390/uvdevice: Add info IOCTL Steffen Eiden
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Steffen Eiden @ 2023-05-12  9:31 UTC (permalink / raw)
  To: kvm, linux-s390, linux-kernel, Viktor Mihajlovski
  Cc: Janosch Frank, Claudio Imbrenda, Nico Boehr,
	Christian Borntraeger, Heiko Carstens, Hendrik Brueckner

IBM Secure Execution guests may want to inject secrets into the Ultravisor(UV).
Also they should be able to know which secrets the UV possesses and prevent the
further addition of more secrets.

Therefore, add three new Ultravisor-Calls and expose them via the uvdevice:
Add Secret, List Secrets, and Lock Secrets.
The uvdevice still acts as the messenger only and does not inspect or modify
the requests. Only some sanity checks are made to prevent the kernel from corruption.
Also add a new IOCTL to get information about the supported UV-calls of the uvdevice.
As userspace wants to know which secrets, types, etc. are supported expose the corresponding
UV Query info data to userspace via sysfs.

The series contains:
  * A new info IOCTL, giving information about the capabilities of the uvdevice and UV
  * 3 patches adding new Ultravisor-Calls and expose them to userspace
  * A patch with an Ultravisor Query Info update for the new secret related information

Steffen

Steffen Eiden (5):
  s390/uvdevice: Add info IOCTL
  s390/uvdevice: Add 'Add Secret' UVC
  s390/uvdevice: Add 'List Secrets' UVC
  s390/uvdevice: Add 'Lock Secret Store' UVC
  s390/uv: Update query for secret-UVCs

 arch/s390/boot/uv.c                   |   4 +
 arch/s390/include/asm/uv.h            |  30 +++-
 arch/s390/include/uapi/asm/uvdevice.h |  56 ++++++-
 arch/s390/kernel/uv.c                 |  40 +++++
 drivers/s390/char/uvdevice.c          | 229 +++++++++++++++++++++++++-
 5 files changed, 350 insertions(+), 9 deletions(-)

-- 
2.40.1


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

end of thread, other threads:[~2023-05-17 16:26 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-12  9:31 [PATCH 0/5] s390/uvdevice: Expose secret UVCs Steffen Eiden
2023-05-12  9:31 ` [PATCH 1/5] s390/uvdevice: Add info IOCTL Steffen Eiden
2023-05-12 12:51   ` Heiko Carstens
2023-05-13  6:10   ` kernel test robot
2023-05-12  9:31 ` [PATCH 2/5] s390/uvdevice: Add 'Add Secret' UVC Steffen Eiden
2023-05-12  9:31 ` [PATCH 3/5] s390/uvdevice: Add 'List Secrets' UVC Steffen Eiden
2023-05-17 16:03   ` Claudio Imbrenda
2023-05-17 16:11     ` Steffen Eiden
2023-05-12  9:31 ` [PATCH 4/5] s390/uvdevice: Add 'Lock Secret Store' UVC Steffen Eiden
2023-05-12  9:31 ` [PATCH 5/5] s390/uv: Update query for secret-UVCs Steffen Eiden
2023-05-12 12:53   ` Heiko Carstens
2023-05-12 13:27     ` Janosch Frank
2023-05-12 15:34       ` Heiko Carstens
2023-05-17 15:54   ` Claudio Imbrenda

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