get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2229911,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2229911/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260428-spl_fit_full-v1-2-dde63beeaab1@valla.it/",
    "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": "<20260428-spl_fit_full-v1-2-dde63beeaab1@valla.it>",
    "date": "2026-04-28T20:24:43",
    "name": "[2/5] boot: fit: decompress kernel when in SPL",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f2fedd8d19378950dc3f89c9cc913ff439823655",
    "submitter": {
        "id": 90982,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/90982/?format=api",
        "name": "Francesco Valla",
        "email": "francesco@valla.it"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260428-spl_fit_full-v1-2-dde63beeaab1@valla.it/mbox/",
    "series": [
        {
            "id": 501930,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501930/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=501930",
            "date": "2026-04-28T20:24:41",
            "name": "Enhance the SPL FIT \"full\" loading logic",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501930/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2229911/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2229911/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=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=antispam.mailspamprotection.com\n header.i=@antispam.mailspamprotection.com header.a=rsa-sha256\n header.s=default header.b=Pqz6/Gep;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=valla.it header.i=@valla.it header.a=rsa-sha256\n header.s=default header.b=mf5yOlpd;\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=fail (p=none dis=none) header.from=valla.it",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=antispam.mailspamprotection.com\n header.i=@antispam.mailspamprotection.com header.b=\"Pqz6/Gep\";\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=valla.it header.i=@valla.it header.b=\"mf5yOlpd\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=valla.it",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=francesco@valla.it",
            "\n outgoing.instance-europe-west4-fh50.prod.antispam.mailspamprotection.com;\n iprev=pass (214.173.214.35.bc.googleusercontent.com)\n smtp.remote-ip=35.214.173.214;\n auth=pass (LOGIN) smtp.auth=esm19.siteground.biz;\n dkim=pass header.d=valla.it header.s=default header.a=rsa-sha256;\n arc=none"
        ],
        "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 4g4sQH2X69z1xrS\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 06:25:59 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 6222B846AC;\n\tTue, 28 Apr 2026 22:25:29 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id A5B488467A; Tue, 28 Apr 2026 22:25:27 +0200 (CEST)",
            "from delivery.antispam.mailspamprotection.com\n (delivery.antispam.mailspamprotection.com [185.56.87.1])\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 D79C884687\n for <u-boot@lists.denx.de>; Tue, 28 Apr 2026 22:25:24 +0200 (CEST)",
            "from 214.173.214.35.bc.googleusercontent.com ([35.214.173.214]\n helo=esm19.siteground.biz)\n by instance-europe-west4-fh50.prod.antispam.mailspamprotection.com with\n esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.99.1)\n (envelope-from <francesco@valla.it>) id 1wHozh-00000006wWx-2t6u\n for u-boot@lists.denx.de; Tue, 28 Apr 2026 20:25:24 +0000",
            "from [95.248.129.24] (port=64167 helo=[192.168.178.175])\n by esm19.siteground.biz with essmtpa  (TLS1.3) tls TLS_AES_256_GCM_SHA384\n (Exim 4.99.1) (envelope-from <francesco@valla.it>)\n id 1wHozL-000000002Bh-0ff1; Tue, 28 Apr 2026 20:24:59 +0000"
        ],
        "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 RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS\n autolearn=ham autolearn_force=no version=3.4.2",
        "ARC-Seal": "i=1; cv=none; a=rsa-sha256;\n d=outgoing.instance-europe-west4-fh50.prod.antispam.mailspamprotection.com;\n s=arckey; t=1777407924;\n b=W1rIjnKTODt+byIfkw6vIvF9E6g72ucPpZZ39yzmXrqrl5eYVE4Zm2r+tr/WXYomzgGaVYk/7m\n LXPin/GfebGdwP8neKsCqMRDIguNEYLXnuEh1H05vZ8mOn04NXmmn/lJWMVWySGUJFW/w+x58u\n pu3YWfsSMhL64gHkADxee0PB9C90NH56hc5Xq5ngictYmWP9atvFieixWtIT9SCKYxZxznd1Dk\n X9bePp8YrORX0xp2yrMtUpnUx5U7VMRXbL2lSlhsPemCxQl8Jre1POp1EO3BEDUOk7Qo+18lso\n kiLzUlaCMTAVcvjo6w43PfRAwauwr0pcRb5HpWW6Rdta/w==;",
        "ARC-Authentication-Results": "i=1;\n outgoing.instance-europe-west4-fh50.prod.antispam.mailspamprotection.com;\n smtp.remote-ip=35.214.173.214;\n iprev=pass (214.173.214.35.bc.googleusercontent.com)\n smtp.remote-ip=35.214.173.214;\n auth=pass (LOGIN) smtp.auth=esm19.siteground.biz;\n dkim=pass header.d=valla.it header.s=default header.a=rsa-sha256;\n arc=none",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed;\n d=outgoing.instance-europe-west4-fh50.prod.antispam.mailspamprotection.com;\n s=arckey; t=1777407924;\n bh=kLiTZHQPHoHZHRSuQ+rBFfNN4bcx52MMED4PjMnx64k=;\n h=Cc:To:In-Reply-To:References:Message-ID:Content-Transfer-Encoding:\n Content-Type:MIME-Version:Subject:Date:From:DKIM-Signature:DKIM-Signature;\n b=D5c0NlEY2EVnVwyR/mGP7YhGbtfpA0bXkptXeeGyzAkPsmUGIpV4MQmSBZz1HyEV8brz0/e81b\n H005j9tDhsQj/6LHkGsh3wpzuzZgrZvlWqLnB4c593WP2ZxeGDJ/XXfSVh2hhHG3/5bkJSRPua\n 87OvnPr4lR7LQOTYiT5eKerqS5Z4u3XLDRCq1i+UxUJEghqeYpmuJ7aDuHnzwKm3fTRgt7eOXd\n a2IuwmP5Dpz0bGqw4umIHCiV16PxLaVIb8MDLBY08MI8Nj3d7wIHDZkGXyXsNTzjv2EXfxeICk\n 9aoqyEfKdkWL/G18G7Zezw6XylhLPrGPSlgijeQd/cSHAg==;",
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n d=antispam.mailspamprotection.com; s=default; h=CFBL-Feedback-ID:CFBL-Address\n :Cc:To:Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject\n :Date:From:Reply-To:List-Unsubscribe;\n bh=U3jdgXV8LVJawgNt2EHe6KBeotwTlzyQe9xFp8Plj8k=; b=Pqz6/GepTJlg6iMv/87SPpZaXh\n wbh8iek3Vxx8AFvRODYVZ01dwsy2n86jLicJZe4hn+mnGtmX3hvyDOkWHqS8Jig7FGzbYSfSXm7Du\n xq/aa/6UtlIt7DbBpghDm8v121rbmE2WW07YJDA+vUbJ6QvtPyk1PiDs/66aq9Fq3fV0=;",
            "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=valla.it;\n s=default; h=Cc:To:Subject:Date:From:list-help:list-unsubscribe:\n list-subscribe:list-post:list-owner:list-archive;\n bh=U3jdgXV8LVJawgNt2EHe6KBeotwTlzyQe9xFp8Plj8k=; b=mf5yOlpdTU06VBZ4oH2yMJHsCz\n hqt/irnUci5w+ULDc5gS4A11uKh8huLYCUscNlknXcNHBQfv4URnzD5Bu96EXP9vClt2Z4CPXcwit\n 5mL1ffRUHeSjRTHGf10R8SGTURK8xNnzn/ZCgRJ/OEfnx9gKkrUd0BUTPIeVorhngnvQ=;"
        ],
        "From": "Francesco Valla <francesco@valla.it>",
        "Date": "Tue, 28 Apr 2026 22:24:43 +0200",
        "Subject": "[PATCH 2/5] boot: fit: decompress kernel when in SPL",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Message-Id": "<20260428-spl_fit_full-v1-2-dde63beeaab1@valla.it>",
        "References": "<20260428-spl_fit_full-v1-0-dde63beeaab1@valla.it>",
        "In-Reply-To": "<20260428-spl_fit_full-v1-0-dde63beeaab1@valla.it>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Tom Rini <trini@konsulko.com>, Quentin Schulz <quentin.schulz@cherry.de>,\n Marek Vasut <marek.vasut+renesas@mailbox.org>,\n James Hilliard <james.hilliard1@gmail.com>,\n Julien Stephan <jstephan@baylibre.com>,\n Frank Wunderlich <frank-w@public-files.de>,\n Heinrich Schuchardt <xypron.glpk@gmx.de>,\n Kunihiko Hayashi <hayashi.kunihiko@socionext.com>,\n Anshul Dalal <anshuld@ti.com>, Leo Yu-Chi Liang <ycliang@andestech.com>,\n Andrew Goodbody <andrew.goodbody@linaro.org>,\n Ronald Wahl <ronald.wahl@legrand.com>, Simon Glass <sjg@chromium.org>,\n Dhruva Gole <d-gole@ti.com>,\n Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>,\n Rasmus Villemoes <ravi@prevas.dk>, Michael Walle <mwalle@kernel.org>,\n Marek Vasut <marek.vasut@mailbox.org>,\n Miquel Raynal <miquel.raynal@bootlin.com>,\n Richard Genoud <richard.genoud@bootlin.com>,\n Wolfgang Wallner <wolfgang.wallner@at.abb.com>,\n David Lechner <dlechner@baylibre.com>, Francesco Valla <francesco@valla.it>",
        "X-Mailer": "b4 0.16-dev",
        "X-Developer-Signature": "v=1; a=openpgp-sha256; l=1183; i=francesco@valla.it;\n h=from:subject:message-id; bh=kLiTZHQPHoHZHRSuQ+rBFfNN4bcx52MMED4PjMnx64k=;\n b=owGbwMvMwCX2aH1OUIzHTgbG02pJDJkfxad36FidLzURye6cbnJRYOu3Kl3V2feLGw4yfZ6zf\n V+jTUtjRykLgxgXg6yYIkvIuhv39sw1/5a2gfERzBxWJpAhDFycAjARRXFGhlcZczusvjD/OuAR\n p9Ra5nUp4Eb6RalJp4zKE3db7fC7f47hn24bK4uu08G59TcO1792sj7+rb3B+uSDItcte/qsufM\n 4mQE=",
        "X-Developer-Key": "i=francesco@valla.it; a=openpgp;\n fpr=CC70CBC9AA13257C6CCED8669601767CA07CA0EA",
        "X-AntiAbuse": [
            "This header was added to track abuse,\n please include it with any abuse report",
            "Primary Hostname - esm19.siteground.biz",
            "Original Domain - lists.denx.de",
            "Originator/Caller UID/GID - [47 12] / [47 12]",
            "Sender Address Domain - valla.it",
            "ID - 2635baf9abae5644e309f13066cb6682"
        ],
        "X-Source": "",
        "X-Source-Args": "",
        "X-Source-Dir": "",
        "X-SGantispam-id": "2635baf9abae5644e309f13066cb6682",
        "AntiSpam-DLS": "false",
        "AntiSpam-DLSP": "",
        "AntiSpam-DLSRS": "",
        "AntiSpam-TS": "1.0",
        "CFBL-Address": "feedback@antispam.mailspamprotection.com; report=arf",
        "CFBL-Feedback-ID": "\n 1wHozh-00000006wWx-2t6u-feedback@antispam.mailspamprotection.com",
        "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": "During the esecution of fit_image_load() in full U-Boot, the kernel is\nnot decompressed as this step is typically performed by the bootm\ncommand logic afterward. This is not however true when doing a falcon\nboot from SPL; enable the decompression in this case (i.e., if\nCONFIG_SPL_OS_BOOT is set).\n\nSigned-off-by: Francesco Valla <francesco@valla.it>\n---\n boot/image-fit.c | 7 ++++---\n 1 file changed, 4 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/boot/image-fit.c b/boot/image-fit.c\nindex 9aa165a38cd9..f3ddee940dbd 100644\n--- a/boot/image-fit.c\n+++ b/boot/image-fit.c\n@@ -2291,9 +2291,10 @@ int fit_image_load(struct bootm_headers *images, ulong addr,\n \tif (!fit_image_get_comp(fit, noffset, &comp) &&\n \t    comp != IH_COMP_NONE &&\n \t    load_op != FIT_LOAD_IGNORED &&\n-\t    !(image_type == IH_TYPE_KERNEL ||\n-\t      image_type == IH_TYPE_KERNEL_NOLOAD ||\n-\t      image_type == IH_TYPE_RAMDISK)) {\n+\t    image_type != IH_TYPE_RAMDISK &&\n+\t    (CONFIG_IS_ENABLED(OS_BOOT) ||\n+\t     image_type != IH_TYPE_KERNEL ||\n+\t     image_type != IH_TYPE_KERNEL_NOLOAD)) {\n \t\tulong max_decomp_len = len * 20;\n \n \t\tlog_debug(\"decompressing image\\n\");\n",
    "prefixes": [
        "2/5"
    ]
}