public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] s390/uv: Provide host-key hashes in sysfs
@ 2024-10-02 16:04 Steffen Eiden
  2024-10-02 16:04 ` [PATCH v2 1/2] s390/uv: Refactor uv-sysfs creation Steffen Eiden
  2024-10-02 16:04 ` [PATCH v2 2/2] s390/uv: Provide host-key hashes in sysfs Steffen Eiden
  0 siblings, 2 replies; 5+ messages in thread
From: Steffen Eiden @ 2024-10-02 16:04 UTC (permalink / raw)
  To: linux-kernel, linux-s390
  Cc: Ingo Franzki, Harald Freudenberger, Christoph Schlameuss,
	Janosch Frank, Claudio Imbrenda

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


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

end of thread, other threads:[~2024-10-08 14:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-02 16:04 [PATCH v2 0/2] s390/uv: Provide host-key hashes in sysfs Steffen Eiden
2024-10-02 16:04 ` [PATCH v2 1/2] s390/uv: Refactor uv-sysfs creation Steffen Eiden
2024-10-08 14:33   ` Heiko Carstens
2024-10-02 16:04 ` [PATCH v2 2/2] s390/uv: Provide host-key hashes in sysfs Steffen Eiden
2024-10-08 12:12   ` Janosch Frank

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