Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 322BFC43458 for ; Thu, 2 Jul 2026 18:28:04 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 740DC84A4B; Thu, 2 Jul 2026 20:27:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=0leil.net Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=0leil.net header.i=@0leil.net header.b="H7Ll5wh0"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B8700849F3; Thu, 2 Jul 2026 20:27:46 +0200 (CEST) Received: from smtp-190c.mail.infomaniak.ch (smtp-190c.mail.infomaniak.ch [185.125.25.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7AE46849C5 for ; Thu, 2 Jul 2026 20:27:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=0leil.net Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=foss+uboot@0leil.net Received: from smtp-4-0001.mail.infomaniak.ch (unknown [IPv6:2001:1600:7:10::a6c]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4grljp66sRzLFn; Thu, 2 Jul 2026 20:27:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0leil.net; s=20231125; t=1783016862; bh=T8YU8+bRoqFvTOqS3Z1MklzMCidm5KFZPuQJ2jlz1lA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=H7Ll5wh0Ml9m/ulhpw8nBOemDDV5sGHT6WHfGPA0X2BDcZNMInXDAnvZ475M7HHCE OdEmv8fOGS+ICXvYOAoG2B+5HX1AwaGoCyFHnPuJzQ3CKt0KLZDDBqcpJnUb75Aepo 19ynEW4O85RzrJhDkZfEV3eEuzxktASOhKzrVG3FVB9P5ten/XkRHV6OgZHq6cDptw 2/Juwwfz8A3HqZ0W6hZU3C5419BLnznOOYwkEAop6JhvomBHBX0JGikN4KWEo3qfsL yKVPP6kVOyMPlUS5PRf8JKe2BKd2OvpewZ+TsLJTX6RyPh6lam/2Q9bYD/f/r+Kc3I CfyftQ6h/f7yQ== Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4grljn5swJztZT; Thu, 2 Jul 2026 20:27:41 +0200 (CEST) From: Quentin Schulz Date: Thu, 02 Jul 2026 20:27:31 +0200 Subject: [PATCH 1/6] Revert "qcom_defconfig: enable psci based sysreset" MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260702-revert-sysreset-v1-1-7920c16a1f3a@cherry.de> References: <20260702-revert-sysreset-v1-0-7920c16a1f3a@cherry.de> In-Reply-To: <20260702-revert-sysreset-v1-0-7920c16a1f3a@cherry.de> To: Sumit Garg , u-boot-qcom@groups.io, u-boot@lists.denx.de Cc: Casey Connolly , Neil Armstrong , Tom Rini , Aswin Murugan , Luca Weiss , Varadarajan Narayanan , Simon Glass , Sumit Garg , Tien Fong Chee , Kuan-Wei Chiu , Michal Simek , Quentin Schulz X-Mailer: b4 0.15-dev-47773 X-Infomaniak-Routing: alpha X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean From: Quentin Schulz This reverts commit 63c806ba0e1236fea500f5d8b5486196d7c20806. The args support for the sysreset uclass contains a logic bug. The first sysreset device implementing the request_arg callback will consume the args, not support the specified arg and thus return -EPROTONOSUPPORT which will stop the iteration over all sysreset devices. This is an issue if one has multiple sysreset devices and each with support for different (valid) args. If a sysreset device implements a -dummy argument and another -foo and one calls reset -dummy on the U-Boot CLI, it'll depend on which sysreset device will be attempted first. If it is the one implementing -foo, it'll return it doesn't support the argument with -EPROTONOSUPPORT in which case the device implementing -dummy will never be attempted and instead we'll do a cold reset which is very likely not what's expected. Signed-off-by: Quentin Schulz --- configs/qcom_defconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index d0d54ec5a70b..b0d0f51b1c02 100644 --- a/configs/qcom_defconfig +++ b/configs/qcom_defconfig @@ -133,8 +133,6 @@ CONFIG_QCOM_RPMH=y CONFIG_SPMI_MSM=y CONFIG_SYSINFO=y CONFIG_SYSINFO_SMBIOS=y -CONFIG_SYSRESET_CMD_RESET_ARGS=y -CONFIG_SYSRESET_QCOM_PSCI=y CONFIG_SYSRESET_QCOM_PSHOLD=y CONFIG_USB=y CONFIG_USB_XHCI_HCD=y -- 2.55.0