Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2228188/?format=api
{ "id": 2228188, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2228188/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260425033742.1519298-4-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-4-b-padhi@ti.com>", "date": "2026-04-25T03:37:34", "name": "[v4,03/11] arm: mach-k3: Explicitly identify TIFSSTUB images when discarding buffers", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "2d471be29dab81a44ad35e631c0e83cd16991440", "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-4-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/2228188/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2228188/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=miqY2lM+;\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=\"miqY2lM+\";\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 4g2vqC4WTjz1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 26 Apr 2026 02:07:19 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 85B5B84312;\n\tSat, 25 Apr 2026 18:07:17 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id A045C84380; Sat, 25 Apr 2026 18:07:16 +0200 (CEST)", "from DM1PR04CU001.outbound.protection.outlook.com\n (mail-centralusazlp170100005.outbound.protection.outlook.com\n [IPv6:2a01:111:f403:c111::5])\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 CF22B8429E\n for <u-boot@lists.denx.de>; Sat, 25 Apr 2026 18:07:04 +0200 (CEST)", "from PH8PR10MB6340.namprd10.prod.outlook.com (2603:10b6:510:1cf::7)\n by DM6PR10MB4362.namprd10.prod.outlook.com (2603:10b6:5:21a::23) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9846.24; Sat, 25 Apr\n 2026 10:19:01 +0000", "from BN9PR03CA0736.namprd03.prod.outlook.com (2603:10b6:408:110::21)\n by PH8PR10MB6340.namprd10.prod.outlook.com (2603:10b6:510:1cf::7)\n with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9846.22; Sat, 25 Apr\n 2026 03:38:07 +0000", "from BN2PEPF000044A3.namprd02.prod.outlook.com\n (2603:10b6:408:110:cafe::f9) by BN9PR03CA0736.outlook.office365.com\n (2603:10b6:408:110::21) with Microsoft SMTP Server (version=TLS1_3,\n cipher=TLS_AES_256_GCM_SHA384) id 15.20.9846.22 via Frontend Transport; Sat,\n 25 Apr 2026 03:38:07 +0000", "from flwvzet201.ext.ti.com (198.47.21.195) by\n BN2PEPF000044A3.mail.protection.outlook.com (10.167.243.154) 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:05 +0000", "from DFLE202.ent.ti.com (10.64.6.60) by flwvzet201.ext.ti.com\n (10.248.192.32) 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:04 -0500", "from DFLE205.ent.ti.com (10.64.6.63) by DFLE202.ent.ti.com\n (10.64.6.60) 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:04 -0500", "from lelvem-mr06.itg.ti.com (10.180.75.8) by DFLE205.ent.ti.com\n (10.64.6.63) 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:04 -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 63P3bk822903263; Fri, 24 Apr 2026 22:38:01 -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=mKf3Kfd1QqaRmup+B3jqCZEFq8ZRAerEQvmo0oaZNOUGvj56mQPyPRghTxGjilr3m39HKFdELrUIdrrvFfxW27kA3uvjKgjn21TX3wXXFQCYuYpC683Y+X01sRMaVw3qYlHoX3728xImrv6uexEjOCNbqS4GDn1yq97oWW0PRKT1n7+ByZfdb0BNcdMfzaD/6ZF+q7+x1RtYv5w4WaiPZgrO1MQsjUVEhRsPCL0hTgR4PLx5D36sH9+pw1uwNowWDUNjgeiAtwAwgoOk7+wwetEqRvA7K3Mqt1sl4Esk8VI/Ii2FxQAIUQu775dpfdoP3OaSSqnjLilfE6w0+gQEWg==", "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=Ok+8VSM333ZN7ig4p/cLzMDhL9b4HcUZAJh67Bkb44o=;\n b=WjcKvH9rIbhyGWbjoEthHP/DoA254JWgyIdsOIevijh5H/pehqhL5KGPhRKwQiZzxxMOVyXO2NCfmUsxDQumAwKhtLWMJtPr6QjiMuIeuB95ImittGKY6ScHI2tPqfuX4CJ+PXfUvCoE84Hb9GCbeQnLkJXg/2TMOTVWSfSxFKrajhg3Ae7ofHDtvDUWhVbiSsfioo/3KAJj0we1YkYvOjMxAx8kMjceVKYWcJGBqI1wH9tGObHtpW0p4wlIia40mt2BbO4pARKM0mZYdJHfLJo3Nrv67LWAW+t7GUO6paOS+m4Lkjk5l38pUySQbheC8JuUMqvgSYdWbgPcsy5O6g==", "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass (sender ip is\n 198.47.21.195) 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=Ok+8VSM333ZN7ig4p/cLzMDhL9b4HcUZAJh67Bkb44o=;\n b=miqY2lM+B3VqA8mAptme7FWJIVUQSqxae+x9ZgA7iL7HZ1anr+zw8/ll8dXvPHQ2Fv5OUqjhwas8x6UcmMnGi3dqBXVP4GpoKDAQJjI8tVYrz9gKwnCJYV30e9sBhJhSkVunZ+1CtnXI4VNydN++ro1GzMCFvhxHhNyVaps45EI=", "X-MS-Exchange-Authentication-Results": "spf=pass (sender IP is 198.47.21.195)\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.21.195 as permitted sender) receiver=protection.outlook.com;\n client-ip=198.47.21.195; helo=flwvzet201.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 03/11] arm: mach-k3: Explicitly identify TIFSSTUB images\n when discarding buffers", "Date": "Sat, 25 Apr 2026 09:07:34 +0530", "Message-ID": "<20260425033742.1519298-4-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 BN2PEPF000044A3:EE_|PH8PR10MB6340:EE_|DM6PR10MB4362:EE_", "X-MS-Office365-Filtering-Correlation-Id": "5384cdd9-42e5-4bdd-a2d5-08dea27c0f9a", "X-MS-Exchange-SenderADCheck": "1", "X-MS-Exchange-AntiSpam-Relay": "0", "X-Microsoft-Antispam": "BCL:0;\n ARA:13230040|82310400026|376014|36860700016|1800799024|56012099003|18002099003|22082099003;", "X-Microsoft-Antispam-Message-Info": "\n 7uyFljuL3aGnUFJZztoXmcs6i1MnGAQxoTtDtUBFwDXfU0vfpx+xdsOKizTRG+Hn4ZTY8FMm3agem/N2iXQTmk/4AYqwQ+h/9fGbXFitE57Up8w+iJDU6MHMrusvBoGslA3cmC6QfdLheAZb8+Q5TgPwUY+Ko+zxVhMJ+zkRC+V09TJdTNhkLCA7Yarnazclz72lgLeicdy1z1hztwNnQz0tcd23YrZEgoKwcjxQhBShKpNj2hXM8S4/nTW0x4aLI4AZD9j82ZCFdNp1gSp7Y2gZBDdS0bntKAs+tfM07LxzDbmqnoHzBZG6/9h6rMiaW5BQ3FpOqXqlsZR6EnHSbIdgj10pPT325w979x33TKPjseRgTvuWM33iybsAogP1wrheOI2iFFYnJGKty03UKY2S3Xa9SHDf6+38eNGyfH14EABA/YyWhcrAdmEw1y/dD8DThsQOtVRNNhRN2EI7TMeyj/N2rDcrk1LR0IuANe97ciRXYTxcFi7uQRVo3tBxewXQ2M9tMmIssKhttiAlZRvtxXYFkdrwElbi5ak4gX2Z6qKp+cPFcX7c3M6/4xAGMatdvhMz0n7CCKG9LgiOi0eMT4l5hgpTv5hB0EOMCpNk9vHluzja24hD5JCMqq50NQ7N613nMWcX4gYyfFXR+Daeytg7czOG3Qh3CfRcGeNpboXMdy52pHK/G2EiohOBTgUu4/AnCcSPxI3M/rbO2wy+qzfbVpYIqx/F6lwTYuN83xVeq5oQBbzeu3tvxCoiDsPUjmnkHvmqDiaccqewGqhJrUURAKKdujeWm9upJL8=", "X-Forefront-Antispam-Report": "CIP:198.47.21.195; CTRY:US; LANG:en; SCL:1; SRV:;\n IPV:NLI; SFV:NSPM; H:flwvzet201.ext.ti.com; PTR:ErrorRetry; CAT:NONE;\n SFS:(13230040)(82310400026)(376014)(36860700016)(1800799024)(56012099003)(18002099003)(22082099003);\n DIR:OUT; SFP:1101;", "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1", "X-MS-Exchange-AntiSpam-MessageData-0": "\n vSWgd+bns1a3gJG7VaXFoMyr7ES3dtTXWSAQG8ZCQhQobAefD5ptlKEqbb7RiZ14bYTD3rcJsVsB53VXQAZT5YEamkCmwqx43e/OrTAWwkEfKueAO0MjAlrzoUXh2X3Nab5JHGB0e/b86/ZupwJzqmsBhPTVJoHr4Y64/bRE9jkhiRcEmExgalBkzfEW/uqG+tvj40hjF8z/dk9aERAZrjSbpF35GaWQEXGzcyUMdvb/dxhO3bFjXEVUcQcgTaf4tU2L7Cef1EguCHNjfz017CBb7/IIoa80RKoW+tX1CsgX5lqwetodo0lPr18Tnkf8YcxAlaAIRtPScOs63HNgTboh+p1juERCh5oOh3SLeaQkJ0h5GcCCsmMYng4gGThocLYjx6nmY0tqs9Bk2mqPY/GnynRIjvqgf4jW6CwT56JleGeQ1FBzrc2+vEJZsWv4", "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "25 Apr 2026 03:38:05.3397 (UTC)", "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 5384cdd9-42e5-4bdd-a2d5-08dea27c0f9a", "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.21.195];\n Helo=[flwvzet201.ext.ti.com]", "X-MS-Exchange-CrossTenant-AuthSource": "\n BN2PEPF000044A3.namprd02.prod.outlook.com", "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous", "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem", "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "PH8PR10MB6340", "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": "The board_fit_image_post_process() function assumes that all TIFSSTUB\nimages appear at the end of the image_os_match[] array by using\nthe condition:\n\n\ti < IMAGE_AMT && i > IMAGE_ID_DM_FW\n\nHowever, this assumption breaks when new image types are appended to the\nenum and the array, causing unintended image types to match this\ncondition and having their buffer sizes incorrectly set to 0 with:\n\n\t*p_size = 0\n\nTo avoid this issue, replace the range-based check with an explicit\nmatch for TIFSSTUB image IDs.\n\nSigned-off-by: Beleswar Padhi <b-padhi@ti.com>\n---\nv4: Changelog:\n1. Added the correct condition in commit message. [Andrew]\n\nLink to v3:\nhttps://lore.kernel.org/all/20251231173621.1069988-4-b-padhi@ti.com/\n\nv3: Changelog:\n1. None\n\nLink to v2:\nhttps://lore.kernel.org/all/20250506104202.16741-7-b-padhi@ti.com/\n\nv2: Changelog:\n1. New patch. Fixes condition to allow new images to be added at the end\nof the enum.\n\n arch/arm/mach-k3/r5/common.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/arch/arm/mach-k3/r5/common.c b/arch/arm/mach-k3/r5/common.c\nindex 50c4231655e..f075b881901 100644\n--- a/arch/arm/mach-k3/r5/common.c\n+++ b/arch/arm/mach-k3/r5/common.c\n@@ -366,7 +366,8 @@ void board_fit_image_post_process(const void *fit, int node, void **p_image,\n \t\t}\n \t}\n \n-\tif (i < IMAGE_AMT && i > IMAGE_ID_DM_FW) {\n+\tif (i == IMAGE_ID_TIFSSTUB_HS || i == IMAGE_ID_TIFSSTUB_FS ||\n+\t i == IMAGE_ID_TIFSSTUB_GP) {\n \t\tint device_type = get_device_type();\n \n \t\tif ((device_type == K3_DEVICE_TYPE_HS_SE &&\n", "prefixes": [ "v4", "03/11" ] }