From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796299426; b=IULyUjQFMk6LyCwWAB6mUW8u3bkfj3bSgkui2/r61rWYxhOjQwyn2utqEPTqUHl0pYL3 wcQrKVYGRVz83JL25n4gBywJ57XkM6Q2VjBEwWbyHPUcT8oqYmFFSMeEWRCVfWosdth67 Lw3EYBE1H/jOAEhRHsuWR7gOmVIvcSA/33abGQ3UftwYSNXegXthaQCqiioFO95rK36An Py1FWP6w1emMS2zsL22mvtq0G6xFDTL0I4Mzz3/tQ018w5EkFy+pOVWoPZ+lJpiqaD9Js NEYmA/6CQHJXt2Re347MY4J29CPCXP6ySgToXuOsN7eYKkPelUbZFr99YyTb5oDLcMg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796299426; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=t8MQUGrDjClOZU1nHUIKILCt/shkjbTefmiB9REhvDw=; b=29G8w+3YdrriQX0juMNbDnmsbM0sRWxow/re1xVfu+FVG6f2YtmPqvrr6m8GkpEDNRvm MB7WomyVyDnCYRnHs9ECFrC8umj7i9ierpID8nx3AqeTqEDS5GCMMHUgH6c1NzyoIrM91 NIKjV4WH6tCAj/H0Cb+66j+Sb/X6WME7pwQPf8H2L0BAMZjOL2V+HqZWrBN9q8lXlb/xE ERE0KrKrdYfQ+1+S6C1sxqCA1UpPTiZO3PEp3EkmoNthvpmSNRF74KAA430kXxNLZgn8O 5DbGXUIWAchflZ7OMNC/n5ChhV7yBOcbt2sx4SRMu3cSsVKzpL1AbuH/FDkCOy2BaYA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=NZ5+DLSl; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 35DD1606A691; Thu, 3 Dec 2026 12:03:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=NZ5+DLSl Received: by smtp.kernel.org (Postfix) with ESMTPSA id 52F481F00A02; Thu, 3 Dec 2026 12:03:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796299426; bh=t8MQUGrDjClOZU1nHUIKILCt/shkjbTefmiB9REhvDw=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=NZ5+DLSlPgwbYJ24CMftQFXexi8zHmmo4XzF57YvqN/GNI1jR9Xejk8A/zAPGAvko CG3IAF8AhCIPXqmuZ39B6kdc0fZbaPtyk3kv/LImabt4AQZPNzzJKX4BsvELcHNqDp aQw7QHHOHIWxKI6bY0ly/GROKxZxtDO4wsGBKFjI= Date: Thu, 3 Dec 2026 12:56:56 +0100 From: Greg Kroah-Hartman To: Catalin Marinas Cc: Bartosz Golaszewski , James Clark , Arnd Bergmann , Bartosz Golaszewski , Will Deacon , Thorsten Leemhuis , 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: <2026120325-preseason-excess-b507@gregkh> References: <20261202103853.3885406-1-jjc@jclark.com> X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Dec 03, 2026 at 11:50:30AM +0000, Catalin Marinas wrote: > 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. Worse case, I can take the usb patch now, and get it merged into -final, if this is going to be a pain for any other platforms. Just let me know. thanks, greg k-h