s390/uvdevice: Add 'Add Secret' UVC
authorSteffen Eiden <seiden@linux.ibm.com>
Thu, 15 Jun 2023 10:05:29 +0000 (12:05 +0200)
committerJanosch Frank <frankja@linux.ibm.com>
Fri, 16 Jun 2023 09:08:09 +0000 (11:08 +0200)
commit44567ca21aaf6f60cb5dcde180b1f6aab9da33dd
tree493fc06ab1b1a06e1a435dd061d61903c0881a36
parentea9d97163523d299022fc78258eccc466d92102a
s390/uvdevice: Add 'Add Secret' UVC

Userspace can call the Add Secret Ultravisor Call using IOCTLs on the
uvdevice. The Add Secret UV call sends an encrypted and
cryptographically verified request to the Ultravisor. The request
inserts a protected guest's secret into the Ultravisor for later use.

The uvdevice is merely transporting the request from userspace to the
Ultravisor. It's neither checking nor manipulating the request data.

Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Link: https://lore.kernel.org/r/20230615100533.3996107-4-seiden@linux.ibm.com
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Message-Id: <20230615100533.3996107-4-seiden@linux.ibm.com>
arch/s390/include/asm/uv.h
arch/s390/include/uapi/asm/uvdevice.h
drivers/s390/char/uvdevice.c