get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2228185,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2228185/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260425033742.1519298-12-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-12-b-padhi@ti.com>",
    "date": "2026-04-25T03:37:42",
    "name": "[v4,11/11] arm: mach-k3: r5: common: Invoke boot of HSM M4 core",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "ba65533f938cdef0055f692e107f2a53d45e044f",
    "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-12-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/2228185/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2228185/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=X+z+5Hy8;\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=\"X+z+5Hy8\";\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 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g2vp80BgRz1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 26 Apr 2026 02:06:24 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 3146B84137;\n\tSat, 25 Apr 2026 18:06:08 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 51DED84109; Sat, 25 Apr 2026 18:06:05 +0200 (CEST)",
            "from CY7PR03CU001.outbound.protection.outlook.com\n (mail-westcentralusazlp170100005.outbound.protection.outlook.com\n [IPv6:2a01:111:f403:c112::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 9823984120\n for <u-boot@lists.denx.de>; Sat, 25 Apr 2026 18:06:00 +0200 (CEST)",
            "from CYXPR10MB7951.namprd10.prod.outlook.com (2603:10b6:930:dc::9)\n by CH2PR10MB4343.namprd10.prod.outlook.com (2603:10b6:610:a9::21) with\n 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 12:57:00 +0000",
            "from BL0PR0102CA0048.prod.exchangelabs.com (2603:10b6:208:25::25) by\n CYXPR10MB7951.namprd10.prod.outlook.com (2603:10b6:930:dc::9) with\n Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.9846.22; Sat, 25 Apr 2026 03:38:32 +0000",
            "from MN1PEPF0000ECD8.namprd02.prod.outlook.com\n (2603:10b6:208:25:cafe::49) by BL0PR0102CA0048.outlook.office365.com\n (2603:10b6:208:25::25) 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:32 +0000",
            "from lewvzet200.ext.ti.com (198.47.23.194) by\n MN1PEPF0000ECD8.mail.protection.outlook.com (10.167.242.137) 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:32 +0000",
            "from DLEE202.ent.ti.com (157.170.170.77) 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:31 -0500",
            "from DLEE215.ent.ti.com (157.170.170.118) by DLEE202.ent.ti.com\n (157.170.170.77) 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:31 -0500",
            "from lelvem-mr06.itg.ti.com (10.180.75.8) by DLEE215.ent.ti.com\n (157.170.170.118) 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:31 -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 63P3bk8A2903263; Fri, 24 Apr 2026 22:38:28 -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=kdREsT2e5nOWjM3BKXXtbkdMdZEsdNDLFhxnn9rJDdWcsz4+EdRcnlbp0OdIuunmY2h6E8sOIXG3Juy0MRCzqAOnX8pR2STfAmRh4BuUZmjUlFP5oLveuNO1n/N28xJezjNadug5T4LHDKdRDk/gx9A04/d2XvJW4uM6GN5nsuwHVXbP3eoi0rMql+IWX3hgRLUbw95gXSJuaOaTt+BhdWyCtmeOuykYxS3kGMZuHMMqlInypoa++kMcio8AaFfEnDNfzoh33zf9E0JPEFaG1apfvUNO78TeW0i1G3WPkBkO3vEVflMyeOOjQko5e32zaLbgLiesa2O4O0Iqpzf5aw==",
        "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=ywCzqBzg6fKPu0QKPGLzNUrzP6H95ANbjICTqPHRWrI=;\n b=Y+wglyuAI0PnrxgkPF265cyv3xOv6prZ6wbvYRBmXDX87SEyyPsKXYNlBoxAwiOVS+cs/n3UJ1sNDwlkaTiVo7LyCKstAkrEx/+IOXPM+oTapm859Wl0C7xLtF7zYo7wyO8R4CWm/4+TANkajvPYO67TFOvVjCfnQeVxjgeHBctyE2UHwA8iEpVyCwyF5JN0O6mihea5b94zxlOLI138TWLF9OFNgLCLBQGRqBgAyAwqqM1Qx1HRcN4HeNjiBctsuPYR4QAvGfmRpfDglVQep4yFKqqOf6LQxxNwJXKUZoX1iBwsZZBm+7JhxlPWfNjbGGXI9WFk0BPC938M++Xjtw==",
        "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=ywCzqBzg6fKPu0QKPGLzNUrzP6H95ANbjICTqPHRWrI=;\n b=X+z+5Hy86qsC9upLRoLbZzvnXA3aXJR3YcAw/a2k8yv84Ls79HV+Sg8+UNUZT6wnpfmMwkwzTC7I/l52GYvRRsSx3e9BZMJEvHKR5tIYnM5dXLlL7MU5SXzrQOjvDWWrNhnyNbHtB2bzcUrkRHZm1DvuS4Hy9F2ZBpX2zbYNO+g=",
        "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 11/11] arm: mach-k3: r5: common: Invoke boot of HSM M4 core",
        "Date": "Sat, 25 Apr 2026 09:07:42 +0530",
        "Message-ID": "<20260425033742.1519298-12-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 MN1PEPF0000ECD8:EE_|CYXPR10MB7951:EE_|CH2PR10MB4343:EE_",
        "X-MS-Office365-Filtering-Correlation-Id": "a2e6678d-ef70-47fd-9b36-08dea27c1f8e",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-MS-Exchange-AntiSpam-Relay": "0",
        "X-Microsoft-Antispam": "BCL:0;\n ARA:13230040|1800799024|82310400026|376014|36860700016|22082099003|18002099003|56012099003;",
        "X-Microsoft-Antispam-Message-Info": "\n 7VAspks8aetXBjChaCpm+gyBm4qXk/2e8tpCClAbCdFIBSdoHo3cUgFcUyxkJifgo2bpaN3sRe3TzrTI+/wBifrpEX7MeWdpJ8WhV3QORzEkQQGc175z6OO0RQ6fAewkjejA9JM8RIIZ9v2GwInBJdjuJGUQNROOUIc0FNPd+eI9Yb65FDLgPzXTtWBzzfIz4cxn781DUSFP+DFhbZpidey9TXuJQlxL1bWxS4PUxh2ht/WcI1Rqi8X2cjVkEGSiG5i/9FoTnJcSVOuT6k5p8I+eYne7u6b0lcuBNgok67N9z9tuwYc0ffs08z+7fofTgK2bgUae5LnWN1De08hBubzVuPVAR/ahGCN3ibSNjSz6lDqbVSwLMsVW5JtBX2J6brTl2egRt3RGORzm/FymP9fWdMQLBuCU0TQ5CADZsA8DvrVvyiMccYoBBx6eXzmnz2sxyGLzBXWHWAm9Ejr7TaGaMAyQsqZOlflbeBdjrmnXTx5YwKdI/mVloc9dszNFn+ZI5/yXdLKwRr6I3VkWhcaGGf7gDErszxfvstWRmo+n3AH9sDYFKFCUGCoc8K+qHR1u3aDoNeNXIUy68Z3YYg+3J7UWZ5GA/oukVrSL2hhjWCpU49/tTzfGjDR9bIMjVzfj3Nc9u99hA2JFT/DFs5HVKaW2BxNcpwv4rQCJ6gBepLER5eSWgNlSCSVYXyOkdazSO2EUI4Rk1VvYgeVOjmBweb64BCYZ1n6sr7JSyp0=",
        "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)(1800799024)(82310400026)(376014)(36860700016)(22082099003)(18002099003)(56012099003);\n DIR:OUT; SFP:1101;",
        "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1",
        "X-MS-Exchange-AntiSpam-MessageData-0": "\n Z8leqazGR8yqyNRuIVP1zx1iNntqQyZS0WNP/Yr5MjuSx3jkaRJ8gecD7/PX3HX3Gcbql8ZvKO7gQ5FcMacsPfbUBS+9bMGaHhYcJS/+MqpnL/6+GEsTaXJoEGaIRZYbflJLsaQj5TF2erWx5PFap0SAr0qtQNMw8LYFfHl019QtzptW0Uf10EtYK510SBi0H/S+nG1GjYsoGmBcYGyAm5NVXTm3UJYFtpwHhGG5g5iOoa3iebzSpDdDtrCxkkKFkMt8eSqA7wLEX/Um1R0xKeIcxpNYru1j96Xq/mu6KPDVOwi3M9VkD5xtJd5hNGLrI6WiuFGhqN0CfnNCcVX6oTzGrALNUD6agWJVv2S9Kmw6/NZWXP9xjTIIR+7K9nW+b73OdoMdvi8bH6DvSYl/hamh7xvn5q7nO9tzGcZVXrGmP/8pC/LoU/0pQpazBYmV",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "25 Apr 2026 03:38:32.1045 (UTC)",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n a2e6678d-ef70-47fd-9b36-08dea27c1f8e",
        "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 MN1PEPF0000ECD8.namprd02.prod.outlook.com",
        "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "CYXPR10MB7951",
        "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 tispl.bin fit image is packed with the HSM firmware image. Populate\nthe \"os\" info of the image so that it can be detected and used to load\nthe HSM core. Further, invoke the load and boot of HSM core at R5 SPL\nstage using the remoteprocessor framework.\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-11-b-padhi@ti.com/\n\nv3: Changelog:\n1. Use remoteproc framework to boot HSM core.\n\nLink to v2:\nhttps://lore.kernel.org/all/20250506104202.16741-8-b-padhi@ti.com/\n\nv2: Changelog:\n1. Hang system boot if HSM firmware failed to boot.\n2. __maybe_unused to decrease preprocessor usage.\n3. Better error messages with return code.\n4. Added Error case in if-elseif-else ladder.\n\nNote:\n#define PROC_ID_HSM_M4F seems to have extra tab in the diff/patch.\nBut when patch gets applied in file, all of them have consistent\ntabs.\n\nLink to v1:\nhttps://lore.kernel.org/all/18e01808-499d-4690-995a-45ac5fd727d9@ti.com\n\n arch/arm/mach-k3/r5/common.c | 16 ++++++++++++++++\n 1 file changed, 16 insertions(+)",
    "diff": "diff --git a/arch/arm/mach-k3/r5/common.c b/arch/arm/mach-k3/r5/common.c\nindex f075b881901..df93b2bba5f 100644\n--- a/arch/arm/mach-k3/r5/common.c\n+++ b/arch/arm/mach-k3/r5/common.c\n@@ -28,6 +28,7 @@ enum {\n \tIMAGE_ID_TIFSSTUB_HS,\n \tIMAGE_ID_TIFSSTUB_FS,\n \tIMAGE_ID_TIFSSTUB_GP,\n+\tIMAGE_ID_HSM,\n \tIMAGE_AMT,\n };\n \n@@ -40,6 +41,7 @@ static const char *image_os_match[IMAGE_AMT] = {\n \t\"tifsstub-hs\",\n \t\"tifsstub-fs\",\n \t\"tifsstub-gp\",\n+\t\"hsm\",\n };\n #endif\n \n@@ -158,6 +160,20 @@ void __noreturn jump_to_image(struct spl_image_info *spl_image)\n \t\t\t\t     &loadaddr);\n \t}\n \n+\tif (IS_ENABLED(CONFIG_REMOTEPROC_TI_K3_HSM_M4F)) {\n+\t\tret = rproc_load(2, fit_image_info[IMAGE_ID_HSM].load,\n+\t\t\t\t fit_image_info[IMAGE_ID_HSM].image_len);\n+\t\tif (ret) {\n+\t\t\tpanic(\"Error while loading HSM firmware, ret = %d\\n\", ret);\n+\t\t} else {\n+\t\t\tret = rproc_start(2);\n+\t\t\tif (ret)\n+\t\t\t\tpanic(\"Error while starting HSM core\\n\");\n+\t\t\telse\n+\t\t\t\tprintf(\"Successfully loaded and started HSM core\\n\");\n+\t\t}\n+\t}\n+\n \t/*\n \t * It is assumed that remoteproc device 1 is the corresponding\n \t * Cortex-A core which runs ATF. Make sure DT reflects the same.\n",
    "prefixes": [
        "v4",
        "11/11"
    ]
}