Re: [PATCH] Revert "arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms"

From: Catalin Marinas

Date: Thu Dec 03 2026 - 06:50:42 EST


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@xxxxxxxxxx/
> > Link: https://lore.kernel.org/all/cover.1794018128.git.jjc@xxxxxxxxxx/ [1]
> > Link: https://lore.kernel.org/all/1f23ba10-a4d1-4d59-b869-1d29975cb852@xxxxxxxxxxxxx/
> > Signed-off-by: James Clark <jjc@xxxxxxxxxx>
> > ---
> > 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