get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2228502,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2228502/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260426153617.2039651-2-dario.binacchi@amarulasolutions.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260426153617.2039651-2-dario.binacchi@amarulasolutions.com>",
    "list_archive_url": null,
    "date": "2026-04-26T15:35:26",
    "name": "[v5,1/8] lib: uuid: add partition type GUID for extended bootloader",
    "commit_ref": null,
    "pull_url": null,
    "state": "needs-review-ack",
    "archived": true,
    "hash": "5fbd460024cdfd0a1b8e300b8c7d350bd1ae2203",
    "submitter": {
        "id": 83038,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/83038/?format=api",
        "name": "Dario Binacchi",
        "email": "dario.binacchi@amarulasolutions.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260426153617.2039651-2-dario.binacchi@amarulasolutions.com/mbox/",
    "series": [
        {
            "id": 501544,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/501544/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=501544",
            "date": "2026-04-26T15:35:25",
            "name": "Support metadata-driven A/B boot for STM32MP25",
            "version": 5,
            "mbox": "http://patchwork.ozlabs.org/series/501544/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2228502/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2228502/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com\n header.a=rsa-sha256 header.s=google header.b=ZDHB1tiN;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=amarulasolutions.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com\n header.b=\"ZDHB1tiN\";\n\tdkim-atps=neutral",
            "phobos.denx.de; dmarc=pass (p=none dis=none)\n header.from=amarulasolutions.com",
            "phobos.denx.de; spf=pass\n smtp.mailfrom=dario.binacchi@amarulasolutions.com"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g3W5Q5g7gz1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 01:36:42 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 6F018840ED;\n\tSun, 26 Apr 2026 17:36:28 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 71C028407E; Sun, 26 Apr 2026 17:36:25 +0200 (CEST)",
            "from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com\n [IPv6:2a00:1450:4864:20::32a])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 35C2683FDB\n for <u-boot@lists.denx.de>; Sun, 26 Apr 2026 17:36:23 +0200 (CEST)",
            "by mail-wm1-x32a.google.com with SMTP id\n 5b1f17b1804b1-488b3f8fa2bso93890225e9.1\n for <u-boot@lists.denx.de>; Sun, 26 Apr 2026 08:36:23 -0700 (PDT)",
            "from dario-ThinkPad-P14s-Gen-5.amarulasolutions.com\n (host-82-56-22-134.retail.telecomitalia.it. [82.56.22.134])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48a5499b0edsm388438845e9.14.2026.04.26.08.36.21\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sun, 26 Apr 2026 08:36:21 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=amarulasolutions.com; s=google; t=1777217782; x=1777822582;\n darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=7DKsi4pzYyQDOTb8zo06i67V2qb9y1zARBTwXnfbWaQ=;\n b=ZDHB1tiNfMywSsgbzNgT0wsq6MWqOufeXoatMawEAeNynRZYXydnUsCcvXqa+itAPl\n JA00jNJzvyhqAlHbA+FnYBWBHNQlhIVdIqUgdx93K9woVa4DKKv76C8Iuf39SmdbslYX\n 9vfh8tb5v30NguMebEXtMa7RfRnyD69U0b3p8=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777217782; x=1777822582;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=7DKsi4pzYyQDOTb8zo06i67V2qb9y1zARBTwXnfbWaQ=;\n b=pBNI11tn56is6fpOVjABWuchwE3VTmAGRnkLxtqp0yvilHZbk4KUhLdvk4LyfH0/eJ\n cXlFSUm4irS9zhaS6mKHUynIbGG3f6v5t8dR6sCl9yvuC+VHM6lyxUxH34WhWxo6S79y\n Yi5b8elbKVAZSnerrUxQP6+OEeSPNIC5Dr5hWhS8ga6I0E8j9fD6OaXLl4lh+tDf9Cek\n WGry0lB9r4MGiXHBjRoEA2vDHW6/6Qtj/rEyf0ys2Js1y9jqA8HSLMXhvWjPPZSpzz1Y\n PdS7sdvvb2G186IBr5R42fQdvu3EE2Y7WMfJoGJQjyPKVNmxIIqxMNYtXilEoELTbsDl\n Zbrg==",
        "X-Gm-Message-State": "AOJu0YwMEjHE5ke3jnTzQowWX7KAESr+jH/Zrrx0IolBfS4CQZyekWEX\n eCQRtZBP/N/bCLFVZxoZjfDAU8B6M2+z8YqvvRckBczIHk0DA8XwOjrlffXgLyyCZaeavHaEHY6\n DRp5C",
        "X-Gm-Gg": "AeBDietU3rRdzQySW7Ok0U7U64W6gQuyyr4xg5rVhpVCpDWsJ5QKhBmuRTr5gypdeiT\n Ip9+OUlgHyuLi02AoSTJQ4p68Y2NveHgpKJx2QCMLTjoYSISS9Ol4gUOehcKz1SiXzLaRVouMZe\n soln7BoB2/vB5HhC4xbc4BJGxqEV8DCjaYbStp0wy2EesxfzauhxL4VhUtFPKhKYQG1NKVaKv1S\n fEoG/zEU6IwfOh+ksZhC1u2ZC+xyJJuLtceUaetbS2L3J2L4lpLc8PE3fu470snhDzWVelfftP6\n nYhD+yuX3IHkc1XFGzvmNE/oAVI4+7hhTerSlOlOYCtuSfWRTwxlzYoGjGunCexeqL9vkcrf2s5\n co3Csaqpo/tJz27S70O4EjP2flKBsOPTbsRhNZ/SVswa4atmshpQ38YHYPOKVY0MXOykkcyUEkH\n rpCzLvSIhXy0nk4DGZePDAOZwc+3ZwBgNMhvDsKN6i0SzDyigBOSYbsAkZtA1ftvNX7BDZ2785T\n LxgX/4x8Q5zsMXsdT5GWaxdm8QR3tvBRnNEew316DCkwvarJ49HtGA3oenGIBeVINH2Xi542Y9b\n Ei7bIBK4LfTs74hjLt4Q50lMa2D6OSTcurKfJjAJ",
        "X-Received": "by 2002:a05:600c:19d3:b0:48a:55ec:c007 with SMTP id\n 5b1f17b1804b1-48a55ecc113mr320987225e9.15.1777217782390;\n Sun, 26 Apr 2026 08:36:22 -0700 (PDT)",
        "From": "Dario Binacchi <dario.binacchi@amarulasolutions.com>",
        "To": "u-boot@lists.denx.de",
        "Cc": "linux-amarula@amarulasolutions.com,\n Dario Binacchi <dario.binacchi@amarulasolutions.com>,\n Simon Glass <sjg@chromium.org>, Heinrich Schuchardt <xypron.glpk@gmx.de>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Javier Martinez Canillas <javierm@redhat.com>,\n Patrick Delaunay <patrick.delaunay@foss.st.com>,\n Tom Rini <trini@konsulko.com>,\n =?utf-8?q?Vincent_Stehl=C3=A9?= <vincent.stehle@arm.com>",
        "Subject": "[PATCH v5 1/8] lib: uuid: add partition type GUID for extended\n bootloader",
        "Date": "Sun, 26 Apr 2026 17:35:26 +0200",
        "Message-ID": "<20260426153617.2039651-2-dario.binacchi@amarulasolutions.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260426153617.2039651-1-dario.binacchi@amarulasolutions.com>",
        "References": "<20260426153617.2039651-1-dario.binacchi@amarulasolutions.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.39",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>",
        "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "The Extended Boot Loader Partition (XBOOTLDR) is a standard defined by\nthe Discoverable Partitions Specification (DPS) to host boot loader\nresources outside of the EFI System Partition ([1], [2]).\n\nDefining this GUID (bc13c2ff-59e6-4262-a352-b275fd6f7172) allows U-Boot\nto correctly identify and label these partitions using the \"xbootldr\"\nshorthand.\n\n[1] https://uapi-group.org/specifications/specs/discoverable_partitions_specification/#extended-boot-loader-partition:~:text=UEFI%20Specification.-,Extended%20Boot%20Loader%20Partition,-bc13c2ff%2D59e6%2D4262\n[2] https://uapi-group.org/specifications/specs/boot_loader_specification/\nSigned-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>\nReviewed-by: Simon Glass <sjg@chromium.org>\n\n---\n\n(no changes since v2)\n\nChanges in v2:\n- Add links to the XBOOTLDR specification in the commit message\n- Add Reviewed-by tag of Simon Glass\n\n doc/README.gpt     | 2 ++\n include/part_efi.h | 3 +++\n lib/uuid.c         | 1 +\n 3 files changed, 6 insertions(+)",
    "diff": "diff --git a/doc/README.gpt b/doc/README.gpt\nindex 386ac2e0fc8f..a6e1fd7ce8d4 100644\n--- a/doc/README.gpt\n+++ b/doc/README.gpt\n@@ -286,6 +286,8 @@ Some strings can be also used at the place of known GUID :\n \t                    (E6D6D379-F507-44C2-A23C-238F2A3DF928)\n \t\"u-boot-env\"      = PARTITION_U_BOOT_ENVIRONMENT\n \t                    (3DE21764-95BD-54BD-A5C3-4ABE786F38A8)\n+\t\"xbootldr\"        = PARTITION_XBOOTLDR\n+\t                    (BC13C2FF-59E6-4262-A352-B275FD6F7172)\n \n     \"uuid_disk=...;name=u-boot,size=60MiB,uuid=...;\n \tname=kernel,size=60MiB,uuid=...,type=linux;\"\ndiff --git a/include/part_efi.h b/include/part_efi.h\nindex 2cea50880465..5713b3018f42 100644\n--- a/include/part_efi.h\n+++ b/include/part_efi.h\n@@ -60,6 +60,9 @@\n #define PARTITION_U_BOOT_ENVIRONMENT \\\n \tEFI_GUID( 0x3de21764, 0x95bd, 0x54bd, \\\n \t\t0xa5, 0xc3, 0x4a, 0xbe, 0x78, 0x6f, 0x38, 0xa8)\n+#define PARTITION_XBOOTLDR \\\n+\tEFI_GUID( 0xbc13c2ff, 0x59e6, 0x4262, \\\n+\t\t0xa3, 0x52, 0xb2, 0x75, 0xfd, 0x6f, 0x71, 0x72)\n \n /* Special ChromiumOS things */\n #define PARTITION_CROS_KERNEL \\\ndiff --git a/lib/uuid.c b/lib/uuid.c\nindex 3a666d0430db..d7c164ea06bf 100644\n--- a/lib/uuid.c\n+++ b/lib/uuid.c\n@@ -86,6 +86,7 @@ static const struct {\n \t{\"swap\",\tNULL,\tPARTITION_LINUX_SWAP_GUID},\n \t{\"lvm\",\t\tNULL,\tPARTITION_LINUX_LVM_GUID},\n \t{\"u-boot-env\",\tNULL,\tPARTITION_U_BOOT_ENVIRONMENT},\n+\t{\"xbootldr\",\tNULL,\tPARTITION_XBOOTLDR},\n \t{\"cros-kern\",\tNULL,\tPARTITION_CROS_KERNEL},\n \t{\"cros-root\",\tNULL,\tPARTITION_CROS_ROOT},\n \t{\"cros-fw\",\tNULL,\tPARTITION_CROS_FIRMWARE},\n",
    "prefixes": [
        "v5",
        "1/8"
    ]
}