Thread (71 messages) 71 messages, 19 authors, 2026-03-13

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

From: Bartosz Golaszewski <hidden>
Date: 2025-11-18 14:14:04
Also in: linux-arm-msm, linux-gpio, linux-hardening, linux-sound, lkml

On Tue, Nov 18, 2025 at 3:06 PM Mark Brown [off-list ref] wrote:
On Wed, Nov 12, 2025 at 02:55:36PM +0100, Bartosz Golaszewski wrote:
quoted
From: Bartosz Golaszewski <redacted>

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help