Skip to contentSkip to conversation

gpio fixes for v6.14-rc4

GIT PULL Merged Bartosz Golaszewski 2 participants 2 messages Feb 21, 2025 GPIO

lore
Share & tools
lore
#0 lore raw

From: Bartosz Golaszewski <[email protected]>

Linus,

Please pull the following set of GPIO fixes for the upcoming RC. There are two fixes for GPIO core: one adds missing retval checks to older code, while the second adds SRCU synchronization to legs in code that were missed during the big rework a few cycles back. There's also one small driver fix.

Best Regards,
Bartosz Golaszewski

The following changes since commit 0ad2507d5d93f39619fc42372c347d6006b64319:

Linux 6.14-rc3 (2025-02-16 14:02:44 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v6.14-rc4

for you to fetch changes up to 96fa9ec477ff60bed87e1441fd43e003179f3253:

gpiolib: don't bail out if get_direction() fails in gpiochip_add_data() (2025-02-20 14:08:18 +0100)

----------------------------------------------------------------
gpio fixes for v6.14-rc4

- check the return value of the get_direction() callback in struct gpio_chip
- protect the multi-line get/set legs in GPIO core with SRCU
- fix a race condition in gpio-vf610

----------------------------------------------------------------
Bartosz Golaszewski (3):
gpiolib: check the return value of gpio_chip::get_direction()
gpiolib: protect gpio_chip with SRCU in array_info paths in multi get/set
gpiolib: don't bail out if get_direction() fails in gpiochip_add_data()

Johan Korsnes (1):
gpio: vf610: add locking to gpio direction functions

 drivers/gpio/gpio-vf610.c |   4 ++
 drivers/gpio/gpiolib.c    | 100 ++++++++++++++++++++++++++++++++--------------
 drivers/gpio/gpiolib.h    |   4 +-
 3 files changed, 76 insertions(+), 32 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 21 Feb 2025 15:47:50 +0100:

The pull request you sent on Fri, 21 Feb 2025 15:47:50 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v6.14-rc4

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/534a2c6217f21a66e72d246417e0cae25c5a3d62

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html