From: Jared Rossi <jrossi@linux.ibm.com>
To: Joshua Daley <jdaley@linux.ibm.com>, qemu-s390x@nongnu.org
Cc: qemu-devel@nongnu.org, zycai@linux.ibm.com,
borntraeger@linux.ibm.com, jjherne@linux.ibm.com,
pasic@linux.ibm.com, farman@linux.ibm.com,
mjrosato@linux.ibm.com, richard.henderson@linaro.org,
iii@linux.ibm.com, david@kernel.org, cohuck@redhat.com
Subject: Re: [PATCH v1 1/3] hw/s390x/ipl: Add secure boot support to PCI dev IPLB builder
Date: Mon, 17 Aug 2026 14:54:30 -0400 [thread overview]
Message-ID: <95d17f14-98a7-43fa-bd23-537dccc2d220@linux.ibm.com> (raw)
In-Reply-To: <20260812152112.3330493-2-jdaley@linux.ibm.com>
On 8/12/26 11:21 AM, Joshua Daley wrote:
> In the PCI boot device case of s390_build_iplb(), call
> s390_apply_secure_boot() to update the IPLB when secure boot or audit
> mode are enabled.
>
> Secure IPL is now supported for virtio-blk-pci boot devices.
>
> Signed-off-by: Joshua Daley <jdaley@linux.ibm.com>
> ---
> hw/s390x/ipl.c | 8 +++-----
> 1 file changed, 3 insertions(+), 5 deletions(-)
>
> diff --git a/hw/s390x/ipl.c b/hw/s390x/ipl.c
> index d59ed36c78..b0da3cbb27 100644
> --- a/hw/s390x/ipl.c
> +++ b/hw/s390x/ipl.c
> @@ -599,11 +599,6 @@ static bool s390_build_iplb(DeviceState *dev_st, IplParameterBlock *iplb)
>
> pbdev = s390_get_pci_device(dev_st, &devtype);
> if (pbdev) {
> - if (s390_secure_boot_enabled() || s390_has_certificate()) {
> - error_report("Virtio pci boot device does not support secure boot!");
> - exit(1);
> - }
> -
> pci_lp = object_property_get_str(OBJECT(pbdev->pdev), "loadparm", NULL);
> if (pci_lp && strlen(pci_lp) > 0) {
> lp = pci_lp;
> @@ -625,6 +620,9 @@ static bool s390_build_iplb(DeviceState *dev_st, IplParameterBlock *iplb)
> s390_ipl_convert_loadparm((char *)lp, iplb->loadparm);
> iplb->flags |= DIAG308_FLAGS_LP_VALID;
>
> + s390_apply_secure_boot(iplb, devtype, s390_secure_boot_enabled(),
> + s390_has_certificate());
> +
> return true;
> }
>
Reviewed-by: Jared Rossi <jrossi@linux.ibm.com>
next prev parent reply other threads:[~2026-08-17 18:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-12 15:21 [PATCH v1 0/3] Extend secure IPL support to virtio-blk-pci boot devices Joshua Daley
2026-08-12 15:21 ` [PATCH v1 1/3] hw/s390x/ipl: Add secure boot support to PCI dev IPLB builder Joshua Daley
2026-08-17 18:54 ` Jared Rossi [this message]
2026-08-17 19:34 ` Zhuoying Cai
2026-08-24 13:49 ` Matthew Rosato
2026-08-12 15:21 ` [PATCH v1 2/3] tests/functional/s390x/test_secure_ipl: Skip test if SIPL not supported by hypervisor Joshua Daley
2026-08-17 20:01 ` Jared Rossi
2026-08-24 13:50 ` Matthew Rosato
2026-08-12 15:21 ` [PATCH v1 3/3] tests/functional/s390x/test_secure_ipl: Add virtio-blk-pci boot dev case Joshua Daley
2026-08-17 20:02 ` Jared Rossi
2026-08-24 14:55 ` Matthew Rosato
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=95d17f14-98a7-43fa-bd23-537dccc2d220@linux.ibm.com \
--to=jrossi@linux.ibm.com \
--cc=borntraeger@linux.ibm.com \
--cc=cohuck@redhat.com \
--cc=david@kernel.org \
--cc=farman@linux.ibm.com \
--cc=iii@linux.ibm.com \
--cc=jdaley@linux.ibm.com \
--cc=jjherne@linux.ibm.com \
--cc=mjrosato@linux.ibm.com \
--cc=pasic@linux.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-s390x@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=zycai@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.