[PATCH v3 0/2] s390/uv: Provide host-key hashes in sysfs
From: Steffen Eiden
Date: Tue Oct 15 2024 - 07:41:27 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 host-key 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.
Sice v2:
* add rb from Janosch (& fix nits)
* slightly refactor sysfs directory creation (Heiko)
Since v1:
* add r-b's from Janoch & Christoph
* fix minor issues (Janosch)
* remove an unnecessary UVC availability-check in uv_query_keys
-> remove Christoph's r-b from patch 2
Steffen Eiden (2):
s390/uv: Refactor uv-sysfs creation
s390/uv: Provide host-key hashes in sysfs
arch/s390/include/asm/uv.h | 17 ++++++
arch/s390/kernel/uv.c | 103 +++++++++++++++++++++++++++++++++----
2 files changed, 110 insertions(+), 10 deletions(-)
--
2.43.0