The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Bartosz Golaszewski <brgl@kernel.org>
Cc: James Clark <jjc@jclark.com>, Arnd Bergmann <arnd@arndb.de>,
	Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,
	Will Deacon <will@kernel.org>,
	Thorsten Leemhuis <regressions@leemhuis.info>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Linus Walleij <linusw@kernel.org>, Frank Li <Frank.Li@nxp.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Matthias Kaehlcke <mka@chromium.org>,
	Robert Nelson <robertcnelson@gmail.com>,
	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"
Date: Thu, 3 Dec 2026 11:50:30 +0000	[thread overview]
Message-ID: <axFXhmo9SIPVT_F0@arm.com> (raw)
In-Reply-To: <rn5onpjymzbdzemuxa6qd7jbm4kpm5stpqv6z3mtozizavmmqu@nibvjcnwtu7h>

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 <jjc@jclark.com>
> > ---
> > 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

  reply	other threads:[~2026-12-03 11:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 10:38 [PATCH] Revert "arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms" James Clark
2026-12-02 13:59 ` Bartosz Golaszewski
2026-12-03 11:50   ` Catalin Marinas [this message]
2026-12-03 11:56     ` Greg Kroah-Hartman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=axFXhmo9SIPVT_F0@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=Frank.Li@nxp.com \
    --cc=arnd@arndb.de \
    --cc=bartosz.golaszewski@oss.qualcomm.com \
    --cc=brgl@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jjc@jclark.com \
    --cc=linusw@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mka@chromium.org \
    --cc=regressions@leemhuis.info \
    --cc=regressions@lists.linux.dev \
    --cc=robertcnelson@gmail.com \
    --cc=soc@lists.linux.dev \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox