[PATCH v1 0/2] s390/uv: Provide Host-key-hashes in sysfs

From: Steffen Eiden
Date: Mon Sep 30 2024 - 09:23:30 EST


List the installed host keys in the sysfs if the machine supports the
Query Ultravisor Keys UVC.

As of now, two types of host keys are available:
The used/primary host key, and the backup hostkey both hastes are
available in a sysfs file.
For forwards compatibility an `all` file is also available that displays
the whole payload (15*32 bytes) and therefore future key hashes.

Steffen Eiden (2):
s390/uv: Refactor uv-sysfs creation
s390/uv: Provide host-key hashes in sysfs

arch/s390/include/asm/uv.h | 16 ++++++
arch/s390/kernel/uv.c | 108 +++++++++++++++++++++++++++++++++----
2 files changed, 114 insertions(+), 10 deletions(-)

--
2.43.0