Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2226551/?format=api
{ "id": 2226551, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2226551/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260422-b4-amlogic-sysreset-capsules-v3-1-07b5ccc8f552@postmarketos.org/", "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": "<20260422-b4-amlogic-sysreset-capsules-v3-1-07b5ccc8f552@postmarketos.org>", "date": "2026-04-22T15:43:23", "name": "[v3,1/4] arm: mach-meson: provide reset_cpu only when SYSRESET is disabled", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "fbd6f620f2df0b5e5f464b25bb6afc4f73eafd02", "submitter": { "id": 90020, "url": "http://patchwork.ozlabs.org/api/1.1/people/90020/?format=api", "name": "Ferass El Hafidi", "email": "funderscore@postmarketos.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260422-b4-amlogic-sysreset-capsules-v3-1-07b5ccc8f552@postmarketos.org/mbox/", "series": [ { "id": 501035, "url": "http://patchwork.ozlabs.org/api/1.1/series/501035/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=501035", "date": "2026-04-22T15:43:22", "name": "Enable EFI Capsule on Disk on Libre Computer LePotato & LaFrite", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/501035/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2226551/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2226551/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 (2048-bit key;\n unprotected) header.d=postmarketos.org header.i=@postmarketos.org\n header.a=rsa-sha256 header.s=key1 header.b=Kp4WK7c4;\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=postmarketos.org", "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=postmarketos.org header.i=@postmarketos.org\n header.b=\"Kp4WK7c4\";\n\tdkim-atps=neutral", "phobos.denx.de; dmarc=pass (p=quarantine dis=none)\n header.from=postmarketos.org", "phobos.denx.de;\n spf=pass smtp.mailfrom=funderscore@postmarketos.org" ], "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 4g13RV09PGz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 01:43:50 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 74CDE843C6;\n\tWed, 22 Apr 2026 17:43:44 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 23809843D8; Wed, 22 Apr 2026 17:43:41 +0200 (CEST)", "from out-180.mta0.migadu.com (out-180.mta0.migadu.com\n [IPv6:2001:41d0:1004:224b::b4])\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 CF41B843D1\n for <u-boot@lists.denx.de>; Wed, 22 Apr 2026 17:43:38 +0200 (CEST)" ], "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 SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2", "X-Report-Abuse": "Please report any abuse attempt to abuse@migadu.com and\n include these headers.", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org;\n s=key1; t=1776872617;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=b7YPzW7ar84iuQsUv9oCtS64vTevJoRF13hjgsyAL9E=;\n b=Kp4WK7c4wPEb0AC6BmEajLrrl+w72SUdlkbERfYFSuD4DbLuAenCKu6qEiT4kcW857VrGa\n sQJSK8jRiBmu+ryRv9TLjjvLcyYRvuI4D4UUpdQ2NIPs65iHpuuKv1ScSBhY9HfL78P1Vr\n oR/Bd5xuZSXEw0T8tC4RjCojJD3ZhpmcmyCrhb5GIbV5oEldcWfoHKEWLfBTa50EOiAo9a\n f/6oSMQeklBTgf/1ddF6fzDPsbAG+dS7xrv5qf3krcWLUO5ktkmnPnm2o3ootXM5bH/X2c\n ArPpY3Kn04gWXu/xEAY+Fzij/aTEy/TI96yTYsCJ+gcIEqtEXSdtGYNdeIjYxg==", "From": "Ferass El Hafidi <funderscore@postmarketos.org>", "Date": "Wed, 22 Apr 2026 15:43:23 +0000", "Subject": "[PATCH v3 1/4] arm: mach-meson: provide reset_cpu only when\n SYSRESET is disabled", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Message-Id": "\n <20260422-b4-amlogic-sysreset-capsules-v3-1-07b5ccc8f552@postmarketos.org>", "References": "\n <20260422-b4-amlogic-sysreset-capsules-v3-0-07b5ccc8f552@postmarketos.org>", "In-Reply-To": "\n <20260422-b4-amlogic-sysreset-capsules-v3-0-07b5ccc8f552@postmarketos.org>", "To": "u-boot-amlogic@groups.io, u-boot@lists.denx.de", "Cc": "Tom Rini <trini@konsulko.com>,\n Neil Armstrong <neil.armstrong@linaro.org>,\n Evgeny Bachinin <EABachinin@salutedevices.com>,\n Marek Vasut <marek.vasut+renesas@mailbox.org>,\n Ferass El Hafidi <funderscore@postmarketos.org>", "X-Developer-Signature": "v=1; a=openpgp-sha256; l=1347;\n i=funderscore@postmarketos.org; h=from:subject:message-id;\n bh=IoO1gOKnt0cbf2RWK6vS8f3st5C63IkFCn5XCxBr6JE=;\n b=owEBbQKS/ZANAwAKAYSvy9DXiZoDAcsmYgBp6OyiD+/FeSVSupsuN9+ByzDbJBfvzZZ1s0FXQ\n SOyjPdkj9uJAjMEAAEKAB0WIQQDAbw3+1VcrP15i+6Er8vQ14maAwUCaejsogAKCRCEr8vQ14ma\n AwoHD/448ZNhM7XwwsPT9attJ/Wq6HlxLhSfhia/mKMhr1S/PamlQCxx2kmIuIc/PXY7Nj4q432\n B0wHm9L4mDMU4cdDq27xOtKlRVuB0BFiOVlkONByTYSQc2gx/Vav0DcZl+2EKOWGd4cR6sS64u3\n IN6mwNGY8wa/0ywWavvJJpU2bTDDOJDnIbq/EnJR8HOEmfJtDYX2HCylFem2H5D8OCQtb5i93Ty\n eXyNZWssKH5HSnvv+JvUy2bEFWP0tSZkuZVa3DXwP9nWMcnnfx9sr2bkeD50UqiIyx9lo50KYkJ\n qATdShUy4f6/jTLTy7pfBuQzJ4qrYRYqdFPAiZfLpFOIPQsGTIgruyoSPdcArLwr63/JFq8/+f6\n PVuAfdKU+yVsAk4FxSyinzbwFAJuUq7mXwoXwS8hF4KoR2lobg1cL1jMa9FfVD+wCyB+n0euUaX\n cnCpb1PU43R+AUau8+FSG8cjiqLhnZMilR2MOue6s6MgbRuutA8cGM/+QsJxwrBEfdodJtnrPDO\n DKy30s+OI6dwpGsBTpBsDZzj9pENChAgtdXJS/0FfQjIn8KGuGa8BqKnrwz2d/YfqOO9xIUunaO\n miSt0vRFe0mKdJkhE5q2c4FWg14GzQDO+HXQMqo81ZXT25YP4iBhXM70dpQTru1YsNLw5ILriQI\n 94nzUrmdXmZBTWA==", "X-Developer-Key": "i=funderscore@postmarketos.org; a=openpgp;\n fpr=0301BC37FB555CACFD798BEE84AFCBD0D7899A03", "X-Migadu-Flow": "FLOW_OUT", "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": "This is in preparation of enabling SYSRESET across all Amlogic boards by\ndefault. SYSRESET brings its own reset_cpu implementation which will\nconflict with the one defined in board-common.c.\nSPL however will not have SYSRESET enabled (due to overhead in the final\nimage, as we have very little space to work with), and thus will still\nneed that reset_cpu to be defined. Furthermore, some boards do not enable\nPSCI support in U-Boot, so they may still need this implementation.\nGuard reset_cpu inside #ifdef to only compile it in when SYSRESET is not\nenabled.\n\nSigned-off-by: Ferass El Hafidi <funderscore@postmarketos.org>\n---\n arch/arm/mach-meson/board-common.c | 6 ++----\n 1 file changed, 2 insertions(+), 4 deletions(-)", "diff": "diff --git a/arch/arm/mach-meson/board-common.c b/arch/arm/mach-meson/board-common.c\nindex a5afc2d75c0..c34b81e5e78 100644\n--- a/arch/arm/mach-meson/board-common.c\n+++ b/arch/arm/mach-meson/board-common.c\n@@ -155,16 +155,14 @@ int board_late_init(void)\n \treturn meson_board_late_init();\n }\n \n+#if defined(CONFIG_XPL) || !CONFIG_IS_ENABLED(SYSRESET)\n void reset_cpu(void)\n {\n-#if CONFIG_SPL_BUILD\n \t/*\n \t * We do not have BL31 running yet, so no PSCI.\n \t * Instead, let the watchdog reset the board.\n \t */\n \tfor (;;)\n \t\t;\n-#else\n-\tpsci_system_reset();\n-#endif\n }\n+#endif\n", "prefixes": [ "v3", "1/4" ] }