get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2215681,
    "url": "http://patchwork.ozlabs.org/api/patches/2215681/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260325031743.371728-3-marek.vasut+renesas@mailbox.org/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/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": "<20260325031743.371728-3-marek.vasut+renesas@mailbox.org>",
    "list_archive_url": null,
    "date": "2026-03-25T03:17:06",
    "name": "[RFC,3/3] arm64: renesas: Set gd->ram_top to the end address of last DRAM bank",
    "commit_ref": null,
    "pull_url": null,
    "state": "rfc",
    "archived": false,
    "hash": "ceab0426ee1a5f6b1c6381b2622d7d2564a94633",
    "submitter": {
        "id": 85650,
        "url": "http://patchwork.ozlabs.org/api/people/85650/?format=api",
        "name": "Marek Vasut",
        "email": "marek.vasut+renesas@mailbox.org"
    },
    "delegate": {
        "id": 3651,
        "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api",
        "username": "trini",
        "first_name": "Tom",
        "last_name": "Rini",
        "email": "trini@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260325031743.371728-3-marek.vasut+renesas@mailbox.org/mbox/",
    "series": [
        {
            "id": 497379,
            "url": "http://patchwork.ozlabs.org/api/series/497379/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=497379",
            "date": "2026-03-25T03:17:04",
            "name": "[RFC,1/3] fdtdec: Deduplicate iterator function",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497379/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2215681/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2215681/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 (2048-bit key;\n secure) header.d=mailbox.org header.i=@mailbox.org header.a=rsa-sha256\n header.s=mail20150812 header.b=iNfoFPzE;\n\tdkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org\n header.a=rsa-sha256 header.s=mail20150812 header.b=QY3AQcEC;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)",
            "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=mailbox.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n secure) header.d=mailbox.org header.i=@mailbox.org header.b=\"iNfoFPzE\";\n\tdkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org\n header.b=\"QY3AQcEC\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=mailbox.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=marek.vasut+renesas@mailbox.org"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de [85.214.62.61])\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 4fgXDC02Bnz1xy3\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 14:18:18 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 2675483CE3;\n\tWed, 25 Mar 2026 04:18:04 +0100 (CET)",
            "by phobos.denx.de (Postfix, from userid 109)\n id BE95383E4C; Wed, 25 Mar 2026 04:17:59 +0100 (CET)",
            "from mout-p-202.mailbox.org (mout-p-202.mailbox.org\n [IPv6:2001:67c:2050:0:465::202])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 16F3B83CE3\n for <u-boot@lists.denx.de>; Wed, 25 Mar 2026 04:17:57 +0100 (CET)",
            "from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4fgXCm69Xlz9sFB;\n Wed, 25 Mar 2026 04:17:56 +0100 (CET)"
        ],
        "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_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2",
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;\n s=mail20150812; t=1774408676;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=BYsF55XQCAZP5woEcrDYzJuGWjWe+IAX3Jo7TTABReo=;\n b=iNfoFPzEJDVk7f0o7Sc0/95hTl0YINaK5ke74qDDyitSTQA+pDyD/3BV5YETcF6V8zzyXv\n GhJtPG/JnbogG58wdotEPI+UAvKnMSbZgdRHCc4O2RJ9Ghstn3/uWQ0L41gawrAQxRS4OT\n oAt88i9qQPWimGahz8UM7WdgqUmQhr7j8kITVrqLHwNJ0LwWp3joHuGfdEhkWMKOsm0+Jx\n QxvQzQnAviFgAmvhPA1PuaMlubcOymy2YIGH0U8YdqLsFMXrIh7KVw8f7wxW0SThJC2YD4\n W4r7iVB9dr/I4Z7R5rnpDljhKtZHxx0K/UkSFyyEWJmPz3jASDWVjkyjJBTA7Q==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;\n s=mail20150812; t=1774408675;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=BYsF55XQCAZP5woEcrDYzJuGWjWe+IAX3Jo7TTABReo=;\n b=QY3AQcECBFtv5FJgTfYZ8MvpmYoVinb6yOYuGDK0B78o8sRGnc9Rk0tz+sR3WSYoahbTe/\n zrIIZVomjDTJ8Sy1bGWTRvBJOMjDI7sMxCLb5WlOQ2N8Rvo4XWvDT9U0+dwTCdhvCB1Dop\n 42cjYWi+ltawUqO7NIz9i4qYyLWOISGMlimOmrIRvx0tv4WdL0xBhHNMxZgMDHfvT39FJS\n uI/wvmbGeS2gYgAoJ5xlp5PPYurZNArCobXyls0l/V6GapLXOW2r6osOhkwIT2sLFhh5VN\n 881z+Y6jwVBB9JKqlzFmnTnlODsyB00YCRFl32MBT77XaooQltiC07quVGxeNw=="
        ],
        "From": "Marek Vasut <marek.vasut+renesas@mailbox.org>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Marek Vasut <marek.vasut+renesas@mailbox.org>,\n Casey Connolly <casey.connolly@linaro.org>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Nobuhiro Iwamatsu <iwamatsu@nigauri.org>,\n Raymond Mao <raymondmaoca@gmail.com>, Simon Glass <sjg@chromium.org>,\n Tom Rini <trini@konsulko.com>",
        "Subject": "[RFC][PATCH 3/3] arm64: renesas: Set gd->ram_top to the end address\n of last DRAM bank",
        "Date": "Wed, 25 Mar 2026 04:17:06 +0100",
        "Message-ID": "<20260325031743.371728-3-marek.vasut+renesas@mailbox.org>",
        "In-Reply-To": "<20260325031743.371728-1-marek.vasut+renesas@mailbox.org>",
        "References": "<20260325031743.371728-1-marek.vasut+renesas@mailbox.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-MBO-RS-ID": "bbcace5f50b6d1b230f",
        "X-MBO-RS-META": "czyh91ia87rpfwccww5bi4q7fz1kq6mz",
        "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": "Use previously introduced fdtdec_setup_mem_ram_top() function to\ndetermine the topmost address is the topmost DRAM bank and assign\nthat address into gd->ram_top to assure U-Boot is relocated to the\nend of last DRAM bank, which is the end of all available DRAM.\n\nSigned-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>\n---\nCc: Casey Connolly <casey.connolly@linaro.org>\nCc: Ilias Apalodimas <ilias.apalodimas@linaro.org>\nCc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>\nCc: Raymond Mao <raymondmaoca@gmail.com>\nCc: Simon Glass <sjg@chromium.org>\nCc: Tom Rini <trini@konsulko.com>\nCc: u-boot@lists.denx.de\n---\nNOTE: This currently breaks the platform, because its ethernet\n      controller cannot DMA above 4 GiB, and once U-Boot does\n      get relocated above 4 GiB, the packet buffer which is built\n      into the U-Boot binary is also relocated above 4 GiB.\n---\n board/renesas/common/rcar64-common.c | 7 +++++++\n 1 file changed, 7 insertions(+)",
    "diff": "diff --git a/board/renesas/common/rcar64-common.c b/board/renesas/common/rcar64-common.c\nindex bcb03792494..ed488bf5b91 100644\n--- a/board/renesas/common/rcar64-common.c\n+++ b/board/renesas/common/rcar64-common.c\n@@ -65,6 +65,13 @@ int dram_init_banksize(void)\n \treturn 0;\n }\n \n+phys_addr_t board_get_usable_ram_top(phys_size_t total_size)\n+{\n+\tfdtdec_setup_mem_ram_top();\n+\n+\treturn gd->ram_top;\n+}\n+\n int __weak board_init(void)\n {\n \treturn 0;\n",
    "prefixes": [
        "RFC",
        "3/3"
    ]
}