From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796298640; b=oBfIgMyeIOycOyIPSUKlBcQ4bDe/naqEYDV46BZOJjzDUPzmPAQc1b1X482sBHlCvG3m yGFQcEpU0IPD1YhgUfph4jAHcNTL9Gc+qQreNIfZQf7ObCYqsRAWWyETMzNXBho+YsKRN a536QosZTjuKOX/SBPg/X6x8Ay2WW3A+FktWU55e3KdaEdKCrjPf8To6ZL+AjhYFfcEvd 5835MVDs7lzjzX/i5M6RV0RlVCZspV3BrywniTGyPUR0BGKQojThPRZLvfvRQCTHVb5eq 7/rdm3ZGluke7B6PJftGKzdlxpkSkG+E3KvtTsCPwRl9re1iHZ/x4qpnuT6mJQwz0Dw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796298640; h=DMARC-Filter:Received:Received:DKIM-Signature:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=lfkti+PL0ZImLlIP/jEKgSju6802MOYVoy+tnAcckxE=; b=5P5zaIYu5m/nEC38z2S81Vr5fhYMBkXtVqQ8V0KDY4AcjMZMD365XX+nnMhHXCwP6mmn 3TMp8umwiEvrSesntq2P3BAf/FYX7ct7uOvDbGIjTUyN0Ro2qwqsf8Acub8fqjPaJLN5J Dsf9FwM+tnSUvOp2ere76LxiZ4k772Fb4QfPET7of/GZPYWMnUTTI35MZJ8lSIER2QAL4 3VAevjqBrT1NZXTTD6DsHb/YLm54SEMHbMwMVHHIiS8pfwOto0kwi7cjyBRyvFWNJFUjl ksvciTUxoP7KKSKUuA9JO8HUkxECe5pKt4fm8zq+PMvI9RsF9QQnoWSPTUSy2IopSyQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=mxcVOQwP; arc=none smtp.remote-ip=217.140.110.172 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F3640606A322; Thu, 3 Dec 2026 11:50:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org F3640606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=mxcVOQwP 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-Mailing-List: linux-kernel@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 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