From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 351AB606A32D for ; Thu, 3 Dec 2026 11:50:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=emyNh8ga; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=mxcVOQwP DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=lfkti+PL0ZImLlIP/jEKgSju6802MOYVoy+tnAcckxE=; b=emyNh8gaS2+HQSyqWEIJOfGYS6 lqw8ujHu2Yc40+OwZMlmmgNIDWYtCDaaR5n7qCfaO9GUXl/l60xhFLti2OHhI6gm/T7HZ39GAQwLS aay6+nt4BRVRmkU4kiJQDAwV9Rrb+0aHD5v4m1yRmyHOD1zmNdIiaWOiq5bEBJLpuJleQCsS0UxRd 0fSRLa+7/mPLKJfzb3N44QwHpww/PxnUq84aCnoCm4Ntr5pIz8Zl/bT5M5sloLu1B6+mPrPjoUMGr gWrXV+x3Enk+/jKyQetHCCLu62rCdpFsgYJqNBJiXwFpR/weh7psRdWWtxIMNxuSJirg/JH/exsjG jgWOo7zQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZ5Km-0000000ERG0-0lbn; Thu, 03 Dec 2026 11:50:44 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZ5Ki-0000000EREb-3CBZ for linux-arm-kernel@lists.infradead.org; Thu, 03 Dec 2026 11:50:42 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4270314BF; Thu, 3 Dec 2026 03:50:35 -0800 (PST) Received: from arm.com (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A37123F7D8; Thu, 3 Dec 2026 03:50:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1796298637; bh=F9SuLOB+h9ALBD5D/S1/N0J2y0IFkfKH3FQsWzYuTm4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mxcVOQwP4KcwrlQSFfUysQup7sWc2x26E3GF7rV9eIyzwaocqwaRZZlcyIk6ew2+/ LPreHTwip4Ylt8EWx3VC3RVIjPkKUY8c0kyqv8P740CJzPM125u8jQRLzJfyRzBabh adLdQEv/Lu2YTx0KXZ6WfxwLZaE9R84Fj7qpI5TQ= Date: Thu, 3 Dec 2026 11:50:30 +0000 From: Catalin Marinas To: Bartosz Golaszewski Cc: James Clark , Arnd Bergmann , Bartosz Golaszewski , Will Deacon , Thorsten Leemhuis , Greg Kroah-Hartman , Linus Walleij , Frank Li , Mark Rutland , Matthias Kaehlcke , Robert Nelson , soc@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, regressions@lists.linux.dev Subject: Re: [PATCH] Revert "arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms" Message-ID: References: <20261202103853.3885406-1-jjc@jclark.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261203_035040_835720_21810E78 X-CRM114-Status: GOOD ( 21.60 ) X-Spam-Score: -4.4 (----) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Wed, Dec 02, 2026 at 02:59:03PM +0100, Bartosz Golaszewski wrote: > On Wed, Dec 02, 2026 at 05:38:53PM +0700, James Clark wrote: > > This reverts commit f918e380449880824c415a39214b553aa7f64d5d. > > > > Since that commit, the BeagleY-AI no longer boots. The reset GPIO of its > > on-board USB hub is shared, so it is now handled by gpio-shared-proxy. > > This exposes a bug in onboard_usb_dev, which loops in deferred probing > > for about 90 seconds during boot, and systemd goes into emergency mode. > > > > A fix for onboard_usb_dev has been posted [1] but has not yet been > > reviewed. Revert this commit until the bug is fixed. > > > > Closes: https://lore.kernel.org/all/20261030114705.3159093-1-jjc@jclark.com/ > > Link: https://lore.kernel.org/all/cover.1794018128.git.jjc@jclark.com/ [1] > > Link: https://lore.kernel.org/all/1f23ba10-a4d1-4d59-b869-1d29975cb852@leemhuis.info/ > > Signed-off-by: James Clark > > --- > > I am sending this revert at the request of Thorsten Leemhuis, the Linux > > kernel regression tracker (see the last Link: above). > > Honestly, I don't see a good reason to revert it. The commit uncovered an > existing bug (didn't cause a regression due to its own bad logic) and this bug > has a pending fix on the list (how far are we from getting it upstream > anyway?). I agree. Before this commit, HAVE_SHARED_GPIOS was already selected by ARCH_QCOM and ARCH_APPLE, both enabled in the arm64 defconfig (and likely in most distro kernels). So I'd expect the BeagleY-AI to hit the same problem with a 7.3 defconfig kernel. I'd rather get the onboard_usb_dev fix merged. However, it's Arnd's call since the patch went in via the soc tree. -- Catalin