Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2196295/?format=api
{ "id": 2196295, "url": "http://patchwork.ozlabs.org/api/patches/2196295/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260213110527.1254098-2-aswin.murugan@oss.qualcomm.com/", "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": "<20260213110527.1254098-2-aswin.murugan@oss.qualcomm.com>", "list_archive_url": null, "date": "2026-02-13T11:05:26", "name": "[v3,1/2] firmware: psci: Refactor EFI runtime PSCI reset handling", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "f6993d6bae221113532d9fb063321a97ff6f3f99", "submitter": { "id": 90811, "url": "http://patchwork.ozlabs.org/api/people/90811/?format=api", "name": "Aswin Murugan", "email": "aswin.murugan@oss.qualcomm.com" }, "delegate": { "id": 151538, "url": "http://patchwork.ozlabs.org/api/users/151538/?format=api", "username": "kcxt", "first_name": "Casey", "last_name": "Connolly", "email": "casey.connolly@linaro.org" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260213110527.1254098-2-aswin.murugan@oss.qualcomm.com/mbox/", "series": [ { "id": 492081, "url": "http://patchwork.ozlabs.org/api/series/492081/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=492081", "date": "2026-02-13T11:05:25", "name": "qcom: EFI PSCI runtime reset handling and config update", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/492081/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2196295/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2196295/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 unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=HxMeD3F7;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=KdBotEPV;\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=none (p=none dis=none) header.from=oss.qualcomm.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com\n header.b=\"HxMeD3F7\";\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.b=\"KdBotEPV\";\n\tdkim-atps=neutral", "phobos.denx.de; dmarc=none (p=none dis=none)\n header.from=oss.qualcomm.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=aswin.murugan@oss.qualcomm.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 4fC8Vm0Y90z1xpl\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 13 Feb 2026 22:06:24 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 026E783CF2;\n\tFri, 13 Feb 2026 12:06:14 +0100 (CET)", "by phobos.denx.de (Postfix, from userid 109)\n id 176AF83DE4; Fri, 13 Feb 2026 12:06:12 +0100 (CET)", "from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com\n [205.220.180.131])\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 E02AA83CEE\n for <u-boot@lists.denx.de>; Fri, 13 Feb 2026 12:06:02 +0100 (CET)", "from pps.filterd (m0279869.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 61DAo6mO2093483\n for <u-boot@lists.denx.de>; Fri, 13 Feb 2026 11:06:01 GMT", "from mail-pg1-f198.google.com (mail-pg1-f198.google.com\n [209.85.215.198])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4c9k6y3c79-1\n (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n for <u-boot@lists.denx.de>; Fri, 13 Feb 2026 11:06:01 +0000 (GMT)", "by mail-pg1-f198.google.com with SMTP id\n 41be03b00d2f7-c6136af8e06so654474a12.1\n for <u-boot@lists.denx.de>; Fri, 13 Feb 2026 03:06:00 -0800 (PST)", "from hu-aswinm-blr.qualcomm.com\n (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19])\n by smtp.gmail.com with ESMTPSA id\n 41be03b00d2f7-c6e196a3663sm7943908a12.9.2026.02.13.03.05.53\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 13 Feb 2026 03:05:58 -0800 (PST)" ], "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_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2", "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n cc:content-transfer-encoding:date:from:in-reply-to:message-id\n :mime-version:references:subject:to; s=qcppdkim1; bh=hImQDvgKu9h\n saN9nt5U2O1xnGRiQmy5K52PekaGjZ4s=; b=HxMeD3F7GExKUOhbWVxJtytHUdM\n 6ckt3KVH/NT1Q+8ZfUUjE0X2eyo3IbsgJ64rQ31Cc9O3iTdFuEdDCh5OD7AV8v2P\n zjuJk2Dwc72sM++IewusKJcCt7dU8P3P/oQ6RMoj3DUJz70ar/OTVaFrUXucY7lq\n BlnQ0hjxRyEXnJPyT0goxR5WO8A0yWXBvC0JP+FFHCz9gKwswAeQkajs78b3rBJZ\n 9VvEI3moB9YyN+Q2jX9Kk6Ed/soImepGYFaQfkRY2eu4T/ZiXxRTq/JPulnGJRo6\n MlslVEF4Fq07GHRL5rJBsyirM+X9Nj/4pUFPewDbRUMOh5/Ix6HhMs/yOzg==", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1770980760; x=1771585560; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=hImQDvgKu9hsaN9nt5U2O1xnGRiQmy5K52PekaGjZ4s=;\n b=KdBotEPV56XpU4TVbbWZerDP7HDIjVuG4FU53mGH5WDniI2PvgDNC8xyQEPF3fOg7f\n 91cBvPz9BUY4lfIeQODMRwfND3bs910pScc3Rs63WmhCskeJdsu4NKWHh5IINXDUjVlH\n aHpT2Q7InAjblcp7R7zfP3IJfEetdlszh0XBSQoRrLE2a/IEWnJ+8x/bz49vzMhVElJo\n 859SGZyKoSEXGoxIUpA4UsMMBUnD3jII9HCju57sClS+8FGVBU4u9+JN3cYJvoZnMdCj\n Wcnp2M5sn99mNqV/QDmguSXqXRTH40nkyuDImufPqjES4qGK8P3//LAKWFSNEnAnmtpl\n t1xg==" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1770980760; x=1771585560;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=hImQDvgKu9hsaN9nt5U2O1xnGRiQmy5K52PekaGjZ4s=;\n b=RbMGaETPLG6QlULOtkZC93oTgFsjjMRKiWAPH2/PvZ0GIixlJWbMMZqJ28DPcHqbwO\n UzUCsmWGNQZS2OHDqKgqoEc+6FcdGNtgtP+//PXFIKl7EgVtPu9HkxQcAQBqoZ7e9jYN\n ccoEvoe4jJaLT1dDJQ0Ew0IhNp2GeYcfhTtp/SvRexi8ba0h2ngw3t8D3Bv9wurNo/g5\n cW5XCkfbdAkxwOJSmdre1oXzHvg/8sTrpnJ2wh+x4XDGq6b286l4r+Sdiyhev4bvl9+b\n Ii/JsUYN9e3zrZQ33RHQhdTnCckMmuBWKxDZtUyuEA38IecTln7EDdujkEjOIxvy10Jg\n +IFA==", "X-Gm-Message-State": "AOJu0YyNthi6llxgh42bf4PB+AQLzVFyGypCLHV00PdhCr5yq5PVvN2o\n IMnLHukbvRj7t1yPtdQcZgfbmJTA9UWHXmjIGmZxD3lFTRqWEh3OOxzTJw1bVsinqCG9XudJqnn\n 2+P8sBsShQ81LYOjRz8DgavEDsoVTSHhsHm6eR/++MPaVQ5Yxo2+Zo1f3RHznhOrB", "X-Gm-Gg": "AZuq6aJSJfbVvDLLgZOARbEKTpz1H/pELEgNo67XxLK8a4q69G6ntQuBXmgBr3hTPzx\n PuyVMkCcHjNaTgeLN/Y8yYLUptH4MpCzvM4dud8S8OynbC/5MLLVZ9lIg0JWoTfzcmOZMJaXTZa\n sIzqHCHcJq61gFcMH9r0RPH5p843V3N8UksdyRikMiynqcbzB01V5Kx2rdBdtkIZi7eqJdX2l5i\n EY2oYJwa0e/4BoAlMDitA5/1XZp73iNKXzzLAVN4LfjgydN2ggsJZeezAisHxrJ/rqXkDtvbyd+\n aJKpyNiEBQ/W8zVmRSe0ZM4hzAWtJ6Jo2prF5bfNxcCi7d8uQaPjO3bOU0n+xTp21m9lkZI313i\n 05a2vQfOpeKSJAuIzRIv+Wz1pCBxRSNSoXft2eT5v/Ohq6g7/t36ygoP+ekDjKBVjCEbH/5zOQu\n vxbgLFcf4NRb338QShK0XL6ZQaVDp9ueer/j6E4r7A", "X-Received": [ "by 2002:a05:6a21:7009:b0:366:1880:c8f7 with SMTP id\n adf61e73a8af0-3946c56e491mr1351094637.0.1770980759687;\n Fri, 13 Feb 2026 03:05:59 -0800 (PST)", "by 2002:a05:6a21:7009:b0:366:1880:c8f7 with SMTP id\n adf61e73a8af0-3946c56e491mr1351053637.0.1770980758888;\n Fri, 13 Feb 2026 03:05:58 -0800 (PST)" ], "From": "Aswin Murugan <aswin.murugan@oss.qualcomm.com>", "To": "u-boot@lists.denx.de, sumit.garg@kernel.org, casey.connolly@linaro.org,\n u-boot-qcom@groups.io", "Cc": "trini@konsulko.com, xypron.glpk@gmx.de, ilias.apalodimas@linaro.org,\n sjg@chromium.org, michal.simek@amd.com, gabriel.dalimonte@gmail.com,\n jan.kiszka@siemens.com, paul.liu@linaro.org, j-humphreys@ti.com,\n neil.armstrong@linaro.org, me@samcday.com, marek.vasut+renesas@mailbox.org,\n Aswin Murugan <aswin.murugan@oss.qualcomm.com>", "Subject": "[PATCH v3 1/2] firmware: psci: Refactor EFI runtime PSCI reset\n handling", "Date": "Fri, 13 Feb 2026 16:35:26 +0530", "Message-Id": "<20260213110527.1254098-2-aswin.murugan@oss.qualcomm.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20260213110527.1254098-1-aswin.murugan@oss.qualcomm.com>", "References": "<20260213110527.1254098-1-aswin.murugan@oss.qualcomm.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Authority-Analysis": "v=2.4 cv=NsTcssdJ c=1 sm=1 tr=0 ts=698f0599 cx=c_pps\n a=Qgeoaf8Lrialg5Z894R3/Q==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17\n a=HzLeVaNsDn8A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22\n a=Mpw57Om8IfrbqaoTuvik:22 a=GgsMoib0sEa3-_RKJdDe:22 a=EUspDBNiAAAA:8\n a=CLkPrrlkzVyQE86M9QYA:9 a=x9snwWr2DeNwDh03kgHS:22", "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwMjEzMDA4NSBTYWx0ZWRfX+N/BlPNHE8do\n JcpwqSxoWNSaTOtiX5OkCPskD2JFxHboHuqQTvFpvC7kBkJZU8YEBL/F8SEtOhI4nf0LifHHVp4\n crEZck21NWPj0jevhicX9s12QQc+qrKpOEUxQ6Re3DwsH+UFR2ouI34SSq1jqdsRzWyBkgJK/bI\n 8RUeFm4jEwlsiRHZRZg89ydnFy9Nx824x1uEcUmCwXop1WgqOTAmLc4DMetUTwB2So5OCGPM2F3\n eJFDgTp5stijIY+YVG3qw6y2orynNxqxSklyaVRrt+6ApsrlHmzK8gMwXgRfIEcmOnHcdUCa0Cn\n RW+8UXY6elYqzdK3sBQ8WmtqmebJjvM5OJ0A+LrjkxunOrmOcfYh94jEcaBxXEG8MHa8/EodPbG\n HHSY87eVJgPFujebNDkqs2nnBSLLT1Z6FdGt6z6eP+hKs/ATMxiiOWV1upv0QqfXosDHuz0ZYEn\n KBJMIiENkLWkkO66pXg==", "X-Proofpoint-GUID": "mU7FVJEK4WNtk-asuPP6UjupHdx3FuV1", "X-Proofpoint-ORIG-GUID": "mU7FVJEK4WNtk-asuPP6UjupHdx3FuV1", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-02-13_01,2026-02-12_03,2025-10-01_01", "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n bulkscore=0 impostorscore=0 spamscore=0 suspectscore=0 priorityscore=1501\n lowpriorityscore=0 adultscore=0 phishscore=0 malwarescore=0 clxscore=1015\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2602130085", "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 current PSCI-based EFI runtime reset implementation is always enabled\nwhen CONFIG_PSCI_RESET is set, but it does not support the extra arguments\nrequired for specialized reset modes. As a result, reboot requests such as\nbootloader mode or EDL mode are ignored and fall back to a normal reboot.\n\nAdd CONFIG_EFI_PSCI_RESET_RUNTIME to give platforms explicit control over\nthe PSCI-specific EFI runtime reset path. This allows a platform to disable\nU-Boot's PSCI reset handler when needed so that the kernel can perform the\nreset with the correct arguments for special reboot modes.\n\nThe option defaults to enabled to maintain backward compatibility with the\nexisting behavior.\n\nSigned-off-by: Aswin Murugan <aswin.murugan@oss.qualcomm.com>\n---\nChanges in v3:\n- Commit message has been updated, no change in code\n\nChanges in v2:\n- As per review comments made default y for EFI_PSCI_RESET_RUNTIME config\n---\n drivers/firmware/psci.c | 4 ++--\n lib/efi_loader/Kconfig | 8 ++++++++\n 2 files changed, 10 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/firmware/psci.c b/drivers/firmware/psci.c\nindex 2e3223e1c32..009c6153d0c 100644\n--- a/drivers/firmware/psci.c\n+++ b/drivers/firmware/psci.c\n@@ -244,7 +244,7 @@ static void __maybe_unused do_psci_probe(void)\n \tuclass_get_device_by_name(UCLASS_FIRMWARE, DRIVER_NAME, &dev);\n }\n \n-#if IS_ENABLED(CONFIG_EFI_LOADER) && IS_ENABLED(CONFIG_PSCI_RESET)\n+#if IS_ENABLED(CONFIG_EFI_PSCI_RESET_RUNTIME)\n efi_status_t efi_reset_system_init(void)\n {\n \tdo_psci_probe();\n@@ -266,7 +266,7 @@ void __efi_runtime EFIAPI efi_reset_system(enum efi_reset_type reset_type,\n \twhile (1)\n \t\t;\n }\n-#endif /* IS_ENABLED(CONFIG_EFI_LOADER) && IS_ENABLED(CONFIG_PSCI_RESET) */\n+#endif /* IS_ENABLED(CONFIG_EFI_PSCI_RESET_RUNTIME) */\n \n #ifdef CONFIG_PSCI_RESET\n void reset_misc(void)\ndiff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig\nindex 13e44be1d06..3882de273bb 100644\n--- a/lib/efi_loader/Kconfig\n+++ b/lib/efi_loader/Kconfig\n@@ -106,6 +106,14 @@ config EFI_HAVE_RUNTIME_RESET\n \tdepends on ARCH_BCM283X || FSL_LAYERSCAPE || PSCI_RESET || \\\n \t\t SANDBOX || SYSRESET_SBI || SYSRESET_X86\n \n+config EFI_PSCI_RESET_RUNTIME\n+\tbool \"EFI Runtime PSCI Reset Support\"\n+\tdefault y if EFI_LOADER && PSCI_RESET\n+\tdepends on ARM_PSCI_FW\n+\thelp\n+\t Enable PSCI-based reset implementation for EFI runtime services.\n+\t This allows the OS to reset the system through EFI runtime calls.\n+\n endmenu\n \n menu \"UEFI Variables\"\n", "prefixes": [ "v3", "1/2" ] }