{"id":2226547,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2226547/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260422-b4-amlogic-sysreset-capsules-v2-2-e04e4c9e69f9@postmarketos.org/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.1/projects/18/?format=json","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-v2-2-e04e4c9e69f9@postmarketos.org>","date":"2026-04-22T15:39:05","name":"[v2,2/4] arm: meson: enable SYSRESET_PSCI","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"4d465858babd0adc927ab388134c7743dac9dc43","submitter":{"id":90020,"url":"http://patchwork.ozlabs.org/api/1.1/people/90020/?format=json","name":"Ferass El Hafidi","email":"funderscore@postmarketos.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260422-b4-amlogic-sysreset-capsules-v2-2-e04e4c9e69f9@postmarketos.org/mbox/","series":[{"id":501034,"url":"http://patchwork.ozlabs.org/api/1.1/series/501034/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=501034","date":"2026-04-22T15:39:04","name":"Enable EFI Capsule on Disk on Libre Computer LePotato & LaFrite","version":2,"mbox":"http://patchwork.ozlabs.org/series/501034/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2226547/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2226547/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=Oy9qLHBS;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; 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=\"Oy9qLHBS\";\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 [85.214.62.61])\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 4g13Lz1XxKz1yD5\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 01:39:55 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id D0C32842E6;\n\tWed, 22 Apr 2026 17:39:37 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 6649F8431C; Wed, 22 Apr 2026 17:39:31 +0200 (CEST)","from out-178.mta1.migadu.com (out-178.mta1.migadu.com\n [95.215.58.178])\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 AA1DF842FC\n for <u-boot@lists.denx.de>; Wed, 22 Apr 2026 17:39:28 +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=1776872368;\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=Eorrzyy9BK13S5Pam9Bg5mFPoJsYn/bMPfbU4fT/ZzE=;\n b=Oy9qLHBSzVIz0geSD0naRXwH+yjaAYYa35n8l265apCquWnVdfwenmCsS/VRP/N0dDbxAa\n mrG+Q5G/I/89bWX8UJJ0OsSPhh6/7zFlvVcTgTuBUt/q3cs5FWEelV+7pIBf6AFizpme3Y\n mkzNnXpvWOvB0TZoODNPW829L4iy5OVNyPyke4e+U1lW7PgR25nzuYXvc6FM+aP3FyNPFs\n TAmiZXukfL5uMBaByrEB1oa7HEmEiQ0bzvEGlNObxklxS3EEZQGpKpCQp+swq10BZTCF3/\n 9NQJEzKq3kttAb8s/175X5eS7uRnkGnLYGTEP0ySG9IPam9+AysBw/xVMwGe7w==","From":"Ferass El Hafidi <funderscore@postmarketos.org>","Date":"Wed, 22 Apr 2026 15:39:05 +0000","Subject":"[PATCH v2 2/4] arm: meson: enable SYSRESET_PSCI","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","Message-Id":"\n <20260422-b4-amlogic-sysreset-capsules-v2-2-e04e4c9e69f9@postmarketos.org>","References":"\n <20260422-b4-amlogic-sysreset-capsules-v2-0-e04e4c9e69f9@postmarketos.org>","In-Reply-To":"\n <20260422-b4-amlogic-sysreset-capsules-v2-0-e04e4c9e69f9@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=997;\n i=funderscore@postmarketos.org; h=from:subject:message-id;\n bh=g5YWUMtB5XwtBVRq1DeGDQ/bK7z/GRAg8nbP1JG+Un4=;\n b=owEBbQKS/ZANAwAKAYSvy9DXiZoDAcsmYgBp6Our5yPLYYcfUF57F4f7M14ND/ldNCo0p/cHX\n J7Kc+N2QYCJAjMEAAEKAB0WIQQDAbw3+1VcrP15i+6Er8vQ14maAwUCaejrqwAKCRCEr8vQ14ma\n A6cSD/9wA7D0L3WdXvqZuz08FptrSGXz7LNNL9iwcI5ByHBWSOm0mnJGlCA30MSBaOajpKEaxDT\n hrsjNGDQdwjLpRHCYjx1mM6v/fKQHUv+8NzVQGguD+QqM2tdhwOdBSxATWJp/hT9iKQ9gC14f6U\n UoosYqQnQmRGX1P6ufuHM/TnqRC6cXUL4owHS1wGeQrW70abZGsFN65cdUodEGM1ApVz5ESx49C\n vyVZEs0R48Q81S0nEVLUF8nJ4i5Z0+5di/rXgSRPsToOB5dCcxH3k80nSVj6neLFCut6v+4ceMh\n H8FnICR+0KyPkOAvXRWstx9oaBpIhrqe5GnIhYqX4ksDlDVp21Z2xURz+CjwwhNVtTfEBtnHAyi\n kAHBHVArLBsu4bIppVO+7Zw1sjC/JGL1+bTc09pkOzC/vD8qCWxqAvFEQhJQLInhHWbpcdTeUHL\n NGBCQtv4oM6PpOLqXMSyK7G5INAqkRPUBhOfYjSBh7CmOSdPRMQaz8TUEGo5T7/chzVPETKsVrf\n drMPrvuQW/MkvTHqUNqOfEeER1QlSnqdVrUmRVmTvkBCOvHqkI6z4D5obeKrIYBY4J837f1XYIW\n yq7wv9by71ZTaHhq8b9tinOF65ZjLc7K0qtBj0aO9TGDBGOofDzCH+19KtDGIzeQah8PoBhfcyd\n awuG5rft0lLQyfA==","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":"Previously, Amlogic SoCs defined their own reset_cpu() implementation\nthat essentially just did what the sysreset PSCI driver already\nsupports. To reduce duplication (and allow for EFI Capsule on Disk\nsupport), make use of it instead of a board-specific reset_cpu.\n\nThis does not affect SPL, as in that stage we do not actually have PSCI\n(BL31 is not loaded yet at that point). Also, boards that don't select\nPSCI support in their config will not have it enabled.\n\nSigned-off-by: Ferass El Hafidi <funderscore@postmarketos.org>\n---\n arch/arm/mach-meson/Kconfig | 2 ++\n 1 file changed, 2 insertions(+)","diff":"diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig\nindex ef86129b535..c687ef822a2 100644\n--- a/arch/arm/mach-meson/Kconfig\n+++ b/arch/arm/mach-meson/Kconfig\n@@ -12,6 +12,8 @@ config MESON64_COMMON\n \tselect MMC_PWRSEQ\n \tselect BOARD_LATE_INIT\n \tselect MESON_SM\n+\timply SYSRESET\n+\timply SYSRESET_PSCI\n \timply CMD_DM\n \n config MESON_GX\n","prefixes":["v2","2/4"]}