get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.2/patches/2233187/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2233187,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2233187/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260505201905.997996-32-zycai@linux.ibm.com/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/14/?format=api",
        "name": "QEMU Development",
        "link_name": "qemu-devel",
        "list_id": "qemu-devel.nongnu.org",
        "list_email": "qemu-devel@nongnu.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260505201905.997996-32-zycai@linux.ibm.com>",
    "list_archive_url": null,
    "date": "2026-05-05T20:19:03",
    "name": "[v11,31/32] docs/specs: Add secure IPL documentation",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "efc1b11a8f93a65667f1a701909f402087b9f180",
    "submitter": {
        "id": 90643,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/90643/?format=api",
        "name": "Zhuoying Cai",
        "email": "zycai@linux.ibm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260505201905.997996-32-zycai@linux.ibm.com/mbox/",
    "series": [
        {
            "id": 502896,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/502896/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=502896",
            "date": "2026-05-05T20:18:37",
            "name": "Secure IPL Support for SCSI Scheme of virtio-blk/virtio-scsi Devices",
            "version": 11,
            "mbox": "http://patchwork.ozlabs.org/series/502896/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2233187/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2233187/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256\n header.s=pp1 header.b=nlD8SOnC;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g98zS2pN3z1yJx\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 06 May 2026 06:21:08 +1000 (AEST)",
            "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wKMFe-0000hV-Qy; Tue, 05 May 2026 16:20:19 -0400",
            "from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <zycai@linux.ibm.com>)\n id 1wKMFY-00005J-3i; Tue, 05 May 2026 16:20:12 -0400",
            "from mx0a-001b2d01.pphosted.com ([148.163.156.1])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <zycai@linux.ibm.com>)\n id 1wKMFW-0000dh-98; Tue, 05 May 2026 16:20:11 -0400",
            "from pps.filterd (m0353729.ppops.net [127.0.0.1])\n by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 645ELoUX1496151; Tue, 5 May 2026 20:20:06 GMT",
            "from ppma13.dal12v.mail.ibm.com\n (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221])\n by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4dw9x4njwh-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Tue, 05 May 2026 20:20:06 +0000 (GMT)",
            "from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1])\n by ppma13.dal12v.mail.ibm.com (8.18.1.7/8.18.1.7) with ESMTP id\n 645K9Zbb030295;\n Tue, 5 May 2026 20:20:05 GMT",
            "from smtprelay06.wdc07v.mail.ibm.com ([172.16.1.73])\n by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 4dwwtgb55j-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Tue, 05 May 2026 20:20:05 +0000 (GMT)",
            "from smtpav02.wdc07v.mail.ibm.com (smtpav02.wdc07v.mail.ibm.com\n [10.39.53.229])\n by smtprelay06.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 645KK3Jh24249036\n (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n Tue, 5 May 2026 20:20:03 GMT",
            "from smtpav02.wdc07v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id A8EEB5805C;\n Tue,  5 May 2026 20:20:03 +0000 (GMT)",
            "from smtpav02.wdc07v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 1794C5805D;\n Tue,  5 May 2026 20:20:02 +0000 (GMT)",
            "from fedora-workstation.pok.ibm.com (unknown [9.12.79.241])\n by smtpav02.wdc07v.mail.ibm.com (Postfix) with ESMTP;\n Tue,  5 May 2026 20:20:01 +0000 (GMT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc\n :content-transfer-encoding:date:from:in-reply-to:message-id\n :mime-version:references:subject:to; s=pp1; bh=ecN475uDNdBhFMSYd\n KmY4pVZOuDT/f2QCkIZnAYyMFc=; b=nlD8SOnCBwtmFca8Mx+xk4qMPHSa5fD5H\n MTwK9v2y0UEtEb5/AocNfp2+R20Ywnawo2HA38je8xSNhvV9pU7YXkbX0V659PNQ\n Sz8ycSebEG1ao3WCEqtnSNK5pamuMRBEFoMIlWCtGODQ7xlYNv6p1h419fkdoHQb\n Tw9Q9TLJKZrOGojxJu1iaChDubE5ptep8CAfj9CJmloxPACAKrRl1RKOx0BogDCm\n 3d7mIs6X7V0+4+uzIJL4zncoZJ+or100pLfRg2Vtb4lZc8Rdi+iCCqXviK7oGkN+\n NcBWu5AQQtz3FSlZmiTWGfI4D98gniJXI54w7IwKPPmfnk0Y4osPQ==",
        "From": "Zhuoying Cai <zycai@linux.ibm.com>",
        "To": "qemu-s390x@nongnu.org, qemu-devel@nongnu.org",
        "Cc": "jrossi@linux.ibm.com, cohuck@redhat.com, berrange@redhat.com,\n richard.henderson@linaro.org, david@kernel.org, walling@linux.ibm.com,\n jjherne@linux.ibm.com, pasic@linux.ibm.com, borntraeger@linux.ibm.com,\n farman@linux.ibm.com, mjrosato@linux.ibm.com, iii@linux.ibm.com,\n eblake@redhat.com, armbru@redhat.com, zycai@linux.ibm.com,\n alifm@linux.ibm.com, brueckner@linux.ibm.com,\n pierrick.bouvier@oss.qualcomm.com, jdaley@linux.ibm.com",
        "Subject": "[PATCH v11 31/32] docs/specs: Add secure IPL documentation",
        "Date": "Tue,  5 May 2026 16:19:03 -0400",
        "Message-ID": "<20260505201905.997996-32-zycai@linux.ibm.com>",
        "X-Mailer": "git-send-email 2.54.0",
        "In-Reply-To": "<20260505201905.997996-1-zycai@linux.ibm.com>",
        "References": "<20260505201905.997996-1-zycai@linux.ibm.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-TM-AS-GCONF": "00",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNTA1MDE5NSBTYWx0ZWRfX8L5xrS7SzinX\n GIUYeSNPSw6gJkHEYpHQi98FBoT1K11/OsOXCJpaZrm2CUXwCF8jYubQD2ydO/vmu33FYqL/zjP\n UI5bXjZAsnVP7LyijIt2XLra4xITpJqSyK7R8LntKJ+AuItWUGkzneaURQDWnhYJ9Sg+z6Sz1YL\n puGJEc9EfkmlhwPKWnlX8/WkmBAoFX1BDLy41ZWKeclMKLGJ+1lrodDd5gcCU8C+KTJBViYomfN\n IqMhE8Bn3JM478r9A9qGhbVzhlqzAblsr7Xbe1V4fPVQCzUS2kjRx3HzHVLgSW9gaKm9/EROTlY\n uZfBSQAjJXeFwg6G+FaEdwZef5q0cp30/cgTEo0igv0S9DMz+YiyQR9xoqbIbIWsfP50RREgz0Q\n uDm1mftEhBfq1gByv0oA9inP853ekRR1RRyAJR4MA72IZS8lEVmnihK/DLwa43rlPB0/2fgb1i8\n EcwwWu9aDcZ+Lo/rCJg==",
        "X-Proofpoint-ORIG-GUID": "joKRfmGZfRsFjZCG23MhVuHco1stSaJA",
        "X-Proofpoint-GUID": "joKRfmGZfRsFjZCG23MhVuHco1stSaJA",
        "X-Authority-Analysis": "v=2.4 cv=W7UIkxWk c=1 sm=1 tr=0 ts=69fa50f6 cx=c_pps\n a=AfN7/Ok6k8XGzOShvHwTGQ==:117 a=AfN7/Ok6k8XGzOShvHwTGQ==:17\n a=NGcC8JguVDcA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22\n a=uAbxVGIbfxUO_5tXvNgY:22 a=VnNF1IyMAAAA:8 a=XijvyHP8Q_8UnoOVIU8A:9",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-05-05_02,2026-04-30_02,2025-10-01_01",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n priorityscore=1501 adultscore=0 lowpriorityscore=0 malwarescore=0\n suspectscore=0 spamscore=0 clxscore=1015 phishscore=0 bulkscore=0\n impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc=\n route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604200000\n definitions=main-2605050195",
        "Received-SPF": "pass client-ip=148.163.156.1; envelope-from=zycai@linux.ibm.com;\n helo=mx0a-001b2d01.pphosted.com",
        "X-Spam_score_int": "-26",
        "X-Spam_score": "-2.7",
        "X-Spam_bar": "--",
        "X-Spam_report": "(-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7,\n RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=ham autolearn_force=no",
        "X-Spam_action": "no action",
        "X-BeenThere": "qemu-devel@nongnu.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "qemu development <qemu-devel.nongnu.org>",
        "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-devel>",
        "List-Post": "<mailto:qemu-devel@nongnu.org>",
        "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>",
        "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>",
        "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org",
        "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"
    },
    "content": "Add documentation for secure IPL\n\nSigned-off-by: Collin Walling <walling@linux.ibm.com>\n---\n docs/specs/s390x-secure-ipl.rst | 55 +++++++++++++++++++++++++++++++++\n 1 file changed, 55 insertions(+)",
    "diff": "diff --git a/docs/specs/s390x-secure-ipl.rst b/docs/specs/s390x-secure-ipl.rst\nindex 5fc15be99c..f4602fe19d 100644\n--- a/docs/specs/s390x-secure-ipl.rst\n+++ b/docs/specs/s390x-secure-ipl.rst\n@@ -1,5 +1,60 @@\n .. SPDX-License-Identifier: GPL-2.0-or-later\n \n+s390 Secure IPL\n+===============\n+\n+Secure IPL (a.k.a. secure boot) enables s390-ccw virtual machines to\n+leverage qcrypto libraries and z/Architecture emulations to verify the\n+integrity of signed kernels. The qcrypto libraries are used to perform\n+certificate validation and signature-verification, whereas the\n+z/Architecture emulations are used to ensure secure IPL data has not\n+been tampered with, convey data between QEMU and guest code, and set up\n+the relevant secure IPL data structures with verification results.\n+\n+To find out more about using this feature, see\n+:doc:`documentation </system/s390x/secure-ipl>`.\n+\n+Note that \"guest code\" will refer to the s390-ccw BIOS unless stated\n+otherwise.\n+\n+Both QEMU and guest code work in cooperation to perform secure IPL. The Secure\n+Loading Attributes Facility (SCLAF) is used to check the Secure Code\n+Loading Attribute Block (SCLAB) and ensure that secure IPL data has not\n+been tampered with. DIAGNOSE 'X'320' is invoked by guest code to query\n+the certificate store info and retrieve specific certificates from QEMU.\n+DIAGNOSE 'X'508' is used by guest code to leverage qcrypto libraries to\n+perform signature-verification in QEMU. Lastly, guest code generates and\n+appends an IPL Information Report Block (IIRB) at the end of the IPL\n+Parameter Block, which is used by the kernel to store signed and\n+verified entries.\n+\n+The logical steps are as follows:\n+\n+- guest code reads data payload from disk (e.g. stage3 boot loader, kernel)\n+- guest code checks the validity of the SCLAB\n+- guest code invokes DIAG 508 subcode 1 and provides it the payload\n+- QEMU handles DIAG 508 request by reading the payload and retrieving the\n+  certificate store\n+- QEMU DIAG 508 utilizes qcrypto libraries to perform signature-verification on\n+  the payload, attempting with each cert in the store (until success or\n+  exhausted)\n+- QEMU DIAG 508 returns:\n+\n+  - success: index of cert used to verify payload\n+  - failure: error code\n+\n+- guest code responds to this operation:\n+\n+  - success: retrieves cert from store via DIAG 320 using returned index\n+  - failure: reports with warning (audit mode), aborts with error (secure mode)\n+\n+- guest code appends IIRB at the end of the IPLB\n+- guest code kicks off IPL\n+\n+More information regarding the respective DIAGNOSE commands and IPL data\n+structures are outlined within this document.\n+\n+\n s390 Certificate Store and Functions\n ------------------------------------\n \n",
    "prefixes": [
        "v11",
        "31/32"
    ]
}