On 08/12/2025 22.32, Zhuoying Cai wrote:
From: Collin Walling <[email protected]>

In order to support secure IPL (aka secure boot) for the s390-ccw BIOS,
a new s390 DIAGNOSE instruction is introduced to leverage QEMU for
handling operations such as signature verification and certificate
retrieval.

Currently, only subcode 0 is supported with this patch, which is used to
query a bitmap of which subcodes are supported.

Signed-off-by: Collin Walling <[email protected]>
Reviewed-by: Farhan Ali <[email protected]>
---
  docs/specs/s390x-secure-ipl.rst | 18 ++++++++++++++++++
  include/hw/s390x/ipl/diag508.h  | 15 +++++++++++++++
  target/s390x/diag.c             | 27 +++++++++++++++++++++++++++
  target/s390x/kvm/kvm.c          | 14 ++++++++++++++
  target/s390x/s390x-internal.h   |  2 ++
  target/s390x/tcg/misc_helper.c  |  7 +++++++
  6 files changed, 83 insertions(+)
  create mode 100644 include/hw/s390x/ipl/diag508.h

Reviewed-by: Thomas Huth <[email protected]>


Reply via email to