Re: [PATCH v4 07/10] arm64: select HAVE_SHARED_GPIOS for ARCH_QCOM

Bartosz Golaszewski
2025-11-18T14:14:04Z

On Tue, Nov 18, 2025 at 3:06 PM Mark Brown <broonie@kernel.org> wrote:
>
> On Wed, Nov 12, 2025 at 02:55:36PM +0100, Bartosz Golaszewski wrote:
> > From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> >
> > Some qualcomm platforms use shared GPIOs. Enable support for them by
> > selecting the Kconfig switch provided by GPIOLIB.
>
> This is causing boot failures for me in -next on the ARM FVP with
> defconfig, the select affects all platforms not just the Qualcomm ones.
> We get:
>
> [ 0.137360] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000058
>
> ...
>
> [ 0.140979] Call trace:
> [ 0.141037] gpio_shared_of_traverse+0x48/0x480 (P)
> [ 0.141187] gpio_shared_init+0x28/0x14c
> [ 0.141314] do_one_initcall+0x60/0x1d4
> [ 0.141446] kernel_init_freeable+0x24c/0x2c8
> [ 0.141607] kernel_init+0x20/0x140
>
> Full log:
>
> https://lava.sirena.org.uk/scheduler/job/2101484#L692
>

Hi Mark!

Thanks for the heads-up. I'll try to fix it ASAP to avoid a revert.

I can't open the link:

500 Internal Server Error

FATAL: remaining connection slots are reserved for non-replication
superuser connections

Oops, something has gone wrong!

Any chance you could get the offending line out of this stack trace?

Bartosz