lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAD++jLng8aAhKJ-qCvrywm1k-_yZAMnwoVxkwT51EJozFQ8Vfw@mail.gmail.com>
Date: Wed, 31 Dec 2025 22:12:55 +0100
From: Linus Walleij <linusw@...nel.org>
To: Daniel J Blueman <daniel@...ra.org>
Cc: Bartosz Golaszewski <brgl@...nel.org>, linux-gpio@...r.kernel.org, 
	Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: [6.19-rc2 arm64] sleeping while atomic in gpiod_configure_flags

On Sun, Dec 28, 2025 at 8:18 AM Daniel J Blueman <daniel@...ra.org> wrote:

> When booting 6.19-rc2 [1, 2] with lockdep enabled on a Qualcomm X1
> Lenovo Slim7x ARM64 laptop, I am seeing mutex usage while atomic
> during gpiod driver registration:

OK...

(...)
> gpiod_direction_output (drivers/gpio/gpiolib.c:3026 drivers/gpio/gpiolib.c:3019)
>  gpio_shared_proxy_direction_output
> (drivers/gpio/gpio-shared-proxy.c:188) gpio_shared_proxy
> gpiochip_direction_output (drivers/gpio/gpiolib.c:2830)

Aha it's something with the shared proxy, it's related to the whole
trail of commits adding and fixing this feature, part of which you see
if you do:
git log drivers/gpio/gpiolib-shared.c

But don't worry: it's shared proxy and it's qualcomm which means Bartosz
will be all over it as soon as he's back from holidays!

Yours,
Linus Walleij

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ