get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2231609,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2231609/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260430201503.320359-1-l.stelmach@samsung.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.1/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
    },
    "msgid": "<20260430201503.320359-1-l.stelmach@samsung.com>",
    "date": "2026-04-30T20:14:52",
    "name": "fastboot: read fastboot buffer address from fastboot_addr_r",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "95cade99c91a68adb790369269690f420e48b75b",
    "submitter": {
        "id": 65337,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/65337/?format=api",
        "name": "Łukasz Stelmach",
        "email": "l.stelmach@samsung.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260430201503.320359-1-l.stelmach@samsung.com/mbox/",
    "series": [
        {
            "id": 502403,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502403/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=502403",
            "date": "2026-04-30T20:14:52",
            "name": "fastboot: read fastboot buffer address from fastboot_addr_r",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502403/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2231609/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2231609/checks/",
    "tags": {},
    "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=samsung.com header.i=@samsung.com header.a=rsa-sha256\n header.s=mail20170921 header.b=gY7WlJsj;\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=samsung.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=samsung.com header.i=@samsung.com header.b=\"gY7WlJsj\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=samsung.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=l.stelmach@samsung.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)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g68f00jSPz1y1d\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 08:55:35 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 3FAE7803C6;\n\tFri,  1 May 2026 00:55:32 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 4D4EA80F0E; Thu, 30 Apr 2026 22:16:05 +0200 (CEST)",
            "from mailout1.w1.samsung.com (mailout1.w1.samsung.com\n [210.118.77.11])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 7BD1F803C6\n for <u-boot@lists.denx.de>; Thu, 30 Apr 2026 22:15:58 +0200 (CEST)",
            "from eucas1p2.samsung.com (unknown [182.198.249.207])\n by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id\n 20260430201557euoutp0116d276aec7bdb479eef87bad047106d1~rO7wcaL861021310213euoutp01J\n for <u-boot@lists.denx.de>; Thu, 30 Apr 2026 20:15:57 +0000 (GMT)",
            "from eusmtip1.samsung.com (unknown [203.254.199.221]) by\n eucas1p2.samsung.com (KnoxPortal) with ESMTPA id\n 20260430201556eucas1p21ad12913ce5c83e8bf5cef3c4f50d81b~rO7wCOCV71435814358eucas1p2e;\n Thu, 30 Apr 2026 20:15:56 +0000 (GMT)",
            "from localhost (unknown [106.120.51.111]) by eusmtip1.samsung.com\n (KnoxPortal) with ESMTPA id\n 20260430201556eusmtip1f8f39edb0d6794800177afe0ddd2a51c~rO7v_yfv31351913519eusmtip1E;\n Thu, 30 Apr 2026 20:15:56 +0000 (GMT)"
        ],
        "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,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,\n SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2",
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com\n 20260430201557euoutp0116d276aec7bdb479eef87bad047106d1~rO7wcaL861021310213euoutp01J",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com;\n s=mail20170921; t=1777580157;\n bh=0TiLTJl5VB7HDVP70zHSlpGOs61To0k0dW2SJ50GU30=;\n h=From:To:Cc:Subject:Date:References:From;\n b=gY7WlJsj+BHzcR26ZakF8diD+vZRcfo1ICW+TDV/taweWVFgFMl+zGkMPWvD0a69W\n dpVJB7WFVGgKC9NGJj/2AS5RSKtWy0i+vpDEgqhYHqRggrxbNsKNALxRNDQAEfdSSf\n 7Xx8G5opiC0lPXu1+vqs2cNVVz1BcGbCqhl9qnBE=",
        "From": "=?utf-8?q?=C5=81ukasz_Stelmach?= <l.stelmach@samsung.com>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Marek Szyprowski <m.szyprowski@samsung.com>, =?utf-8?q?=C5=81ukasz_Stelm?=\n\t=?utf-8?q?ach?= <l.stelmach@samsung.com>",
        "Subject": "[PATCH] fastboot: read fastboot buffer address from fastboot_addr_r",
        "Date": "Thu, 30 Apr 2026 22:14:52 +0200",
        "Message-ID": "<20260430201503.320359-1-l.stelmach@samsung.com>",
        "X-Mailer": "git-send-email 2.47.3",
        "MIME-Version": "1.0",
        "Organization": "Samsung R&D Institute Poland",
        "Content-Transfer-Encoding": "8bit",
        "X-CMS-MailID": "20260430201556eucas1p21ad12913ce5c83e8bf5cef3c4f50d81b",
        "X-Msg-Generator": "CA",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "X-RootMTR": "20260430201556eucas1p21ad12913ce5c83e8bf5cef3c4f50d81b",
        "X-EPHeader": "CA",
        "X-CMS-RootMailID": "20260430201556eucas1p21ad12913ce5c83e8bf5cef3c4f50d81b",
        "References": "\n <CGME20260430201556eucas1p21ad12913ce5c83e8bf5cef3c4f50d81b@eucas1p2.samsung.com>",
        "X-Mailman-Approved-At": "Fri, 01 May 2026 00:55:30 +0200",
        "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": "Following the previous advice (link below) check fastbooot_addr_r\nenvironment variable for fastboot buffer address.\n\nLink: https://lore.kernel.org/u-boot/aWiWFrdwvy7-IK63@sumit-xelite/\nSigned-off-by: Łukasz Stelmach <l.stelmach@samsung.com>\n---\n drivers/fastboot/fb_common.c | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/fastboot/fb_common.c b/drivers/fastboot/fb_common.c\nindex 68f92c4b887..4579f30b52e 100644\n--- a/drivers/fastboot/fb_common.c\n+++ b/drivers/fastboot/fb_common.c\n@@ -226,7 +226,9 @@ void fastboot_set_progress_callback(void (*progress)(const char *msg))\n  */\n void fastboot_init(void *buf_addr, u32 buf_size)\n {\n-\tfastboot_buf_addr = buf_addr ? buf_addr :\n+\tvoid *_buf_addr = (void *)env_get_hex(\"fastboot_addr_r\", 0);\n+\n+\tfastboot_buf_addr = buf_addr ? buf_addr : _buf_addr ? _buf_addr :\n \t\t\t\t       (void *)CONFIG_FASTBOOT_BUF_ADDR;\n \tfastboot_buf_size = buf_size ? buf_size : CONFIG_FASTBOOT_BUF_SIZE;\n \tfastboot_set_progress_callback(NULL);\n",
    "prefixes": []
}