get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2228212,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2228212/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260425033742.1519298-3-b-padhi@ti.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": "<20260425033742.1519298-3-b-padhi@ti.com>",
    "date": "2026-04-25T03:37:33",
    "name": "[v4,02/11] arm: mach-k3: Use FIT image data addr as fallback if 'load' prop is missing",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "5036e3e018181247e8e2f222a7e53aa85a0b7006",
    "submitter": {
        "id": 88460,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/88460/?format=api",
        "name": "Padhi, Beleswar",
        "email": "b-padhi@ti.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260425033742.1519298-3-b-padhi@ti.com/mbox/",
    "series": [
        {
            "id": 501450,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501450/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=501450",
            "date": "2026-04-25T03:37:39",
            "name": "Add support to boot TI K3 HSM M4 core",
            "version": 4,
            "mbox": "http://patchwork.ozlabs.org/series/501450/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2228212/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2228212/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=ti.com header.i=@ti.com header.a=rsa-sha256\n header.s=selector1 header.b=Tw6q1mP/;\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=quarantine dis=none) header.from=ti.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=ti.com header.i=@ti.com header.b=\"Tw6q1mP/\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=quarantine dis=none) header.from=ti.com",
            "phobos.denx.de; spf=pass smtp.mailfrom=b-padhi@ti.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 4g2wT50l7Wz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 26 Apr 2026 02:36:40 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 3C53C8412A;\n\tSat, 25 Apr 2026 18:36:33 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 1D8178407E; Sat, 25 Apr 2026 18:36:32 +0200 (CEST)",
            "from CY3PR05CU001.outbound.protection.outlook.com\n (mail-westcentralusazlp170130007.outbound.protection.outlook.com\n [IPv6:2a01:111:f403:c112::7])\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 E02FA84109\n for <u-boot@lists.denx.de>; Sat, 25 Apr 2026 18:36:28 +0200 (CEST)",
            "from CO1PR10MB4435.namprd10.prod.outlook.com (2603:10b6:303:6c::17)\n by MW4PR10MB5861.namprd10.prod.outlook.com (2603:10b6:303:180::8)\n with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9846.23; Sat, 25 Apr\n 2026 07:49:23 +0000",
            "from BL1P221CA0034.NAMP221.PROD.OUTLOOK.COM (2603:10b6:208:5b5::18)\n by CO1PR10MB4435.namprd10.prod.outlook.com (2603:10b6:303:6c::17)\n with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9846.23; Sat, 25 Apr\n 2026 03:38:03 +0000",
            "from MN1PEPF0000ECD9.namprd02.prod.outlook.com\n (2603:10b6:208:5b5:cafe::ed) by BL1P221CA0034.outlook.office365.com\n (2603:10b6:208:5b5::18) with Microsoft SMTP Server (version=TLS1_3,\n cipher=TLS_AES_256_GCM_SHA384) id 15.20.9846.23 via Frontend Transport; Sat,\n 25 Apr 2026 03:38:03 +0000",
            "from lewvzet200.ext.ti.com (198.47.23.194) by\n MN1PEPF0000ECD9.mail.protection.outlook.com (10.167.242.138) with Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.9846.18 via Frontend Transport; Sat, 25 Apr 2026 03:38:03 +0000",
            "from DLEE206.ent.ti.com (157.170.170.90) by lewvzet200.ext.ti.com\n (10.4.14.103) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Fri, 24 Apr\n 2026 22:38:00 -0500",
            "from DLEE205.ent.ti.com (157.170.170.85) by DLEE206.ent.ti.com\n (157.170.170.90) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Fri, 24 Apr\n 2026 22:38:00 -0500",
            "from lelvem-mr06.itg.ti.com (10.180.75.8) by DLEE205.ent.ti.com\n (157.170.170.85) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20 via Frontend\n Transport; Fri, 24 Apr 2026 22:38:00 -0500",
            "from uda0510294.dhcp.ti.com (uda0510294.dhcp.ti.com [10.24.50.162])\n by lelvem-mr06.itg.ti.com (8.18.1/8.18.1) with ESMTP id\n 63P3bk812903263; Fri, 24 Apr 2026 22:37:57 -0500"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,T_SPF_PERMERROR autolearn=no\n autolearn_force=no version=3.4.2",
        "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=AFGYBrh43cOKFyvAH4roWsYi3mSL3XNznBPC4TqLyMK8K79Ls+BmH3H/WAwWBMAmYYMr0Ffg8rGHFVH8WZ/1Lyq+QYPqu8aTTfpR2myRM2eNPNlF7SNSF6ov9WC2Hicl8mPuuETJbjji4fR8tT/2FzEm/pG6aALj6TbX29MhBj66wGdRMTqCBBbHgZdUiBzWZFHqDzEWm9w0InewEK4rhPjGI0lyoIwJSuyhfiM6OgQwpZmO2oqgLdrTRsJagwoCiWTmUZUCce3i15oscmVGBKVlSSPWox9Yo2eNlwd3b4od7XiTkz3PboVYx6EhnjZrWTIJJ4lbet4NwMYO5rMbwA==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector10001;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;\n bh=+u4ubUIRwW/l0byA9OLrX8nXDHwY8oaHKB0cQgsEjhI=;\n b=g/DM1QgmOem/omxKf1/T3Pw6IvUVCDr5AW8z+DEJcurwL1+aL3jdNmU6n4yn5Y8owQ1bHn6Wy87iYE+0FPjS+qbtQgKeWOIT+2hVuh6TM3Ari5Jiph5XJmaD50IleapQHfmes8Rufys+BCIl5n3c90xUrB8JAMzg09p0IFVbCD45dgP6mkE0CQjH8KTZkKel5jDl/2R2puryIT+MLBh/rZczrgaDITrPzZxF2iNVGfpWHKksPixsKEhjj7vmZpoCqDwKjdqGIqONS2aD9cPW1HYxTYDa62w498W7Q8RwNfkrMbQjd6DrEH+Z8LckqlOSRoyJ70gwVD9wqR0/AM/hMw==",
        "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass (sender ip is\n 198.47.23.194) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=ti.com;\n dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=ti.com;\n dkim=none (message not signed); arc=none (0)",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=selector1;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=+u4ubUIRwW/l0byA9OLrX8nXDHwY8oaHKB0cQgsEjhI=;\n b=Tw6q1mP/s4A0gGsGqfhiBRx5ZOlG1rf2K1bym3vZNYokq2fJJyoMTCS2lauXsDIX2jRz3s0SZsY0vzL2tGf/NawyrvWD0LaL+tWUX/XbJPdSqmL6kag5yIwGCYVCCf4ZhnVsqtCVtLgVtfOUZLFSbt7cMIEJncMORuRrx5Z1QzU=",
        "X-MS-Exchange-Authentication-Results": "spf=pass (sender IP is 198.47.23.194)\n smtp.mailfrom=ti.com; dkim=none (message not signed) header.d=none;\n dmarc=pass\n action=none header.from=ti.com;",
        "Received-SPF": "Pass (protection.outlook.com: domain of ti.com designates\n 198.47.23.194 as permitted sender) receiver=protection.outlook.com;\n client-ip=198.47.23.194; helo=lewvzet200.ext.ti.com; pr=C",
        "From": "Beleswar Padhi <b-padhi@ti.com>",
        "To": "<trini@konsulko.com>",
        "CC": "<afd@ti.com>, <bb@ti.com>, <anshuld@ti.com>, <hnagalla@ti.com>,\n <jm@ti.com>, <nm@ti.com>, <n-francis@ti.com>, <u-kumar1@ti.com>,\n <b-padhi@ti.com>, <u-boot@lists.denx.de>",
        "Subject": "[PATCH v4 02/11] arm: mach-k3: Use FIT image data addr as fallback if\n 'load' prop is missing",
        "Date": "Sat, 25 Apr 2026 09:07:33 +0530",
        "Message-ID": "<20260425033742.1519298-3-b-padhi@ti.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20260425033742.1519298-1-b-padhi@ti.com>",
        "References": "<20260425033742.1519298-1-b-padhi@ti.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-C2ProcessedOrg": "333ef613-75bf-4e12-a4b1-8e3623f5dcea",
        "X-EOPAttributedMessage": "0",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-TrafficTypeDiagnostic": "\n MN1PEPF0000ECD9:EE_|CO1PR10MB4435:EE_|MW4PR10MB5861:EE_",
        "X-MS-Office365-Filtering-Correlation-Id": "b8b19ed8-9f6c-4e09-c0d1-08dea27c0e4e",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-MS-Exchange-AntiSpam-Relay": "0",
        "X-Microsoft-Antispam": "BCL:0;\n ARA:13230040|82310400026|36860700016|376014|1800799024|56012099003|22082099003|18002099003;",
        "X-Microsoft-Antispam-Message-Info": "\n 9n28rXG9HwhpboFpv8LwNH1MiePZBX6PNJMitU8GpKV4Q5b6ZWgHV0eroWr2VfQ/YBYi9lt1MzXV6K0ry6RMkIjX0lzQb9Ym16mu8bv2E8/pSqj/kOZK67G9QKlW+6vdXIBr0p1zDozgPMwyat90lwKoN5KVJ6SniZMMBIC4rgfSn/DPq6TLO+fHYGAAI3+z29QpSe0IVGpOO8wZ3c3ILGtWkaT85mYUJqDJHE07swO3S9+5PxwL1Q9fB5Fl1QcPiEIO8/ZnMsFGf2f/y2YIQKaelyY6PfnGz/JoGv+5AvjX/5A3DBWwR/KfGZc2TxA7vRGkVX0wnlU+GR9uFp/OlLyMtzhkM67mn/42BrkqG8hpyBAcQpjPDmDfpubZxMKG1hIqi74zrRQQD6dVo1U1Am7ZQBbrr8zo2w9c4cfphWtGUL2cIHkzQscYx8Y6I0ihTsV/vYNC8sfMsgakZu4vaAC2b7iEoRhWeNE+29LCSqVH1lywUm1zKnf7NzPBamma/ODeiacLuuRJmELqbdf4YY7WowAUZPdzTIeNDqywMc++fXpeFN3Jkyz3lwBInAesLW+1cUCQslhOa8Teu0aEm06EsN5im41PmbvJ0XRg77uuAFp3gsj/ajmr9ScchmEVbwZoo27ExI06OBGdTaAUdVihZ87dzh0H/+5tiNnYeprLRoCTCg79+DNndvil7AMI3LOg3kcS+7KPjTRJBjeTALAa9YAa4mSs4yl/a+xGGNi0BlaFfXl6Qx0PNow/xUVcgUQlt+0HWlyDpI1AajRLmIO+PV2hrkTcbxSkP1rNfNc=",
        "X-Forefront-Antispam-Report": "CIP:198.47.23.194; CTRY:US; LANG:en; SCL:1; SRV:;\n IPV:NLI; SFV:NSPM; H:lewvzet200.ext.ti.com; PTR:InfoDomainNonexistent;\n CAT:NONE;\n SFS:(13230040)(82310400026)(36860700016)(376014)(1800799024)(56012099003)(22082099003)(18002099003);\n DIR:OUT; SFP:1101;",
        "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1",
        "X-MS-Exchange-AntiSpam-MessageData-0": "\n YvNR5sD8FGyjj3ONSQvG9WKPAdwJvIT0S1k+Wxn7RnXJ9oJK/JguTeCMZILl5D/xZR+XDXHilhBPb52kdeuPrYsASEqb1Et2xLOxChUJZSqWcdigACm7uGaDyX/PEdAbJblMK7EZV01fBy7BlUEdWx10rwXiVHTMPncmFfWUqHZRO2MRtdKrAt7IZ+2EfigidZXwT9hc7ZJEeTM0MO0nzXxXnUxCo5xpPEcFG+EA/dLsb2KQiyDXCKoYj9sa6vWXNx5wmfvLxjbyKH3DSsiN+kXp0ftZMn1+kyBNVkzojc+D7DZmBiszpHy9tPzZfUbThnoIsyGu+wtPcylfiRf4ewax8J9UsCkqaI9Svt1hUsqv3otp1WXpsYlb++H39FM3UQvOmHS95lQI6wg3rR2QNhILoLqg5AyQKGmIm1sZlJXHvPbJLD4hChgq7939tzD6",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "25 Apr 2026 03:38:03.1677 (UTC)",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n b8b19ed8-9f6c-4e09-c0d1-08dea27c0e4e",
        "X-MS-Exchange-CrossTenant-Id": "e5b49634-450b-4709-8abb-1e2b19b982b7",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "\n TenantId=e5b49634-450b-4709-8abb-1e2b19b982b7; Ip=[198.47.23.194];\n Helo=[lewvzet200.ext.ti.com]",
        "X-MS-Exchange-CrossTenant-AuthSource": "\n MN1PEPF0000ECD9.namprd02.prod.outlook.com",
        "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "CO1PR10MB4435",
        "X-OriginatorOrg": "ti.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": "It is possible for FIT Images to skip mentioning the pre-defined 'load'\naddress property. In those cases, SPL uses the actual address of the FIT\nImage data as the fallback load address. Use this FIT data address for\nreferencing the image when the 'load' property is missing.\n\nSigned-off-by: Beleswar Padhi <b-padhi@ti.com>\n---\nv4: Changelog:\n1. None\n\nLink to v3:\nhttps://lore.kernel.org/all/20251231173621.1069988-3-b-padhi@ti.com/\n\nv3: Changelog:\n1. None\n\nLink to v2:\nhttps://lore.kernel.org/all/20250506104202.16741-6-b-padhi@ti.com/\n\nv2: Changelog:\n1. New patch. Fetch FDT Data addr for accessing image if 'load' prop is\nnot present in node.\n\n arch/arm/mach-k3/r5/common.c | 23 +++++++++++++++++++++--\n 1 file changed, 21 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/arch/arm/mach-k3/r5/common.c b/arch/arm/mach-k3/r5/common.c\nindex 484d96f9536..50c4231655e 100644\n--- a/arch/arm/mach-k3/r5/common.c\n+++ b/arch/arm/mach-k3/r5/common.c\n@@ -328,12 +328,15 @@ void board_fit_image_post_process(const void *fit, int node, void **p_image,\n \t\t\t\t  size_t *p_size)\n {\n \tint len;\n-\tint i;\n+\tint i, ret;\n \tconst char *os;\n-\tu32 addr;\n+\tu32 addr, load_addr;\n+\tconst void *fit_image_loadaddr;\n+\tsize_t fit_image_size;\n \n \tos = fdt_getprop(fit, node, \"os\", &len);\n \taddr = fdt_getprop_u32_default_node(fit, node, 0, \"entry\", -1);\n+\tload_addr = fdt_getprop_u32_default_node(fit, node, 0, \"load\", -1);\n \n \tdebug(\"%s: processing image: addr=%x, size=%d, os=%s\\n\", __func__,\n \t      addr, *p_size, os);\n@@ -342,6 +345,22 @@ void board_fit_image_post_process(const void *fit, int node, void **p_image,\n \t\tif (!strcmp(os, image_os_match[i])) {\n \t\t\tfit_image_info[i].image_start = addr;\n \t\t\tfit_image_info[i].image_len = *p_size;\n+\t\t\t/*\n+\t\t\t * If the 'load' property is missing in the FIT image,\n+\t\t\t * fall back to using the actual in-memory address of\n+\t\t\t * the FIT image data.\n+\t\t\t */\n+\t\t\tif (load_addr == -1) {\n+\t\t\t\tret = fit_image_get_data(fit, node,\n+\t\t\t\t\t\t\t &fit_image_loadaddr,\n+\t\t\t\t\t\t\t &fit_image_size);\n+\t\t\t\tif (ret < 0)\n+\t\t\t\t\tpanic(\"Error accessing node os = %s in FIT (%d)\\n\",\n+\t\t\t\t\t      os, ret);\n+\t\t\t\tfit_image_info[i].load = (ulong)fit_image_loadaddr;\n+\t\t\t} else {\n+\t\t\t\tfit_image_info[i].load = load_addr;\n+\t\t\t}\n \t\t\tdebug(\"%s: matched image for ID %d\\n\", __func__, i);\n \t\t\tbreak;\n \t\t}\n",
    "prefixes": [
        "v4",
        "02/11"
    ]
}