[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241002160418.2424889-1-seiden@linux.ibm.com>
Date: Wed, 2 Oct 2024 18:04:16 +0200
From: Steffen Eiden <seiden@...ux.ibm.com>
To: linux-kernel@...r.kernel.org, linux-s390@...r.kernel.org
Cc: Ingo Franzki <ifranzki@...ux.ibm.com>,
Harald Freudenberger <freude@...ux.ibm.com>,
Christoph Schlameuss <schlameuss@...ux.ibm.com>,
Janosch Frank <frankja@...ux.ibm.com>,
Claudio Imbrenda <imbrenda@...ux.ibm.com>
Subject: [PATCH v2 0/2] s390/uv: Provide host-key hashes in sysfs
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.
Since v1:
* added r-b's from Janoch & Christoph
* fixed minor issues (Janosch)
* removed an unnecessary UVC availability-check in uv_query_keys
-> removed 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 | 16 ++++++
arch/s390/kernel/uv.c | 105 +++++++++++++++++++++++++++++++++----
2 files changed, 111 insertions(+), 10 deletions(-)
--
2.43.0
Powered by blists - more mailing lists