All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Revert "arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms"
@ 2026-12-02 10:38 James Clark
  2026-12-02 10:51 ` sashiko-bot
  0 siblings, 1 reply; 2+ messages in thread
From: James Clark @ 2026-12-02 10:38 UTC (permalink / raw)
  To: Arnd Bergmann, Bartosz Golaszewski, Catalin Marinas, Will Deacon
  Cc: Thorsten Leemhuis, Greg Kroah-Hartman, Linus Walleij, Frank Li,
	Mark Rutland, Matthias Kaehlcke, Robert Nelson, soc,
	linux-arm-kernel, linux-gpio, linux-kernel, regressions

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 <jjc@jclark.com>
---
I am sending this revert at the request of Thorsten Leemhuis, the Linux
kernel regression tracker (see the last Link: above).

Tested on a BeagleY-AI: with this revert on top of
v7.4-rc5-48-g693c2e04e3f1, it boots normally.

 arch/arm64/Kconfig           | 1 -
 arch/arm64/Kconfig.platforms | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 9b08b2457a55..dc4292f29a7f 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -196,7 +196,6 @@ config ARM64
 		if DYNAMIC_FTRACE_WITH_ARGS
 	select HAVE_SAMPLE_FTRACE_DIRECT
 	select HAVE_SAMPLE_FTRACE_DIRECT_MULTI
-	select HAVE_SHARED_GPIOS
 	select HAVE_BUILDTIME_MCOUNT_SORT
 	select HAVE_EFFICIENT_UNALIGNED_ACCESS
 	select HAVE_EXIT_THREAD
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 49dcd7be82ce..c52dc955df5f 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -37,6 +37,7 @@ config ARCH_APPLE
 	bool "Apple Silicon SoC family"
 	select APPLE_AIC
 	select APPLE_PMGR_PWRSTATE if PM
+	select HAVE_SHARED_GPIOS
 	help
 	  This enables support for Apple's in-house ARM SoC family, such
 	  as the Apple M1.
@@ -336,6 +337,7 @@ config ARCH_QCOM
 	select GPIOLIB
 	select PINCTRL
 	select HAVE_PWRCTRL if PCI
+	select HAVE_SHARED_GPIOS
 	help
 	  This enables support for the ARMv8 based Qualcomm chipsets.
 

base-commit: 693c2e04e3f1d4c59af236e1211b7b8cb165a790
-- 
2.56.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Revert "arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms"
  2026-12-02 10:38 [PATCH] Revert "arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms" James Clark
@ 2026-12-02 10:51 ` sashiko-bot
  0 siblings, 0 replies; 2+ messages in thread
From: sashiko-bot @ 2026-12-02 10:51 UTC (permalink / raw)
  To: James Clark; +Cc: linux-gpio

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] arm64: missing Fixes: trailer for commit f918e3804498
--

commit 73643d7cab1d42f23071c9234f7063ce0f86caaa
Author: James Clark <jjc@jclark.com>

> Revert "arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms"
>
> 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 <jjc@jclark.com>

[Severity: Low]
Since this revert fixes a boot regression on the BeagleY-AI, should it
include a Fixes: tag for the reverted commit?

  Fixes: f918e3804498 ("arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms")

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261202103853.3885406-1-jjc@jclark.com?part=1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-12-02 10:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 10:38 [PATCH] Revert "arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms" James Clark
2026-12-02 10:51 ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.