gpio fixes for v6.14-rc7
From: Bartosz Golaszewski <[email protected]>
Linus,
Please pull the following GPIO core fixes for the next RC.
The first commit is a backport from my v6.15-rc1 queue that turned out to be needed in v6.14 as well but as the former diverged from my fixes branch I had to adjust the patch a bit. I will pull in v6.14-rc7 once tagged and resolve the conflict between the two.
The second commit fixes a regression observed in user-space where closing a file descriptor associated with a GPIO device results in a ~10ms delay due to the atomic notifier calling rcu_synchronize() when unregistering.
Please pull,
Bartosz
The following changes since commit 80e54e84911a923c40d7bee33a34c1b4be148d7a:
Linux 6.14-rc6 (2025-03-09 13:45:25 -1000)
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-rc7
for you to fetch changes up to dcb73cbaaeb39c9fd00bf2e019f911725945e2fe:
gpio: cdev: use raw notifier for line state events (2025-03-13 09:20:12 +0100)
----------------------------------------------------------------
gpio fixes for v6.14-rc7
- use raw notifier for line state events
- don't check the return value of gpio_chip::get_direction() when registering a GPIO chip
----------------------------------------------------------------
Bartosz Golaszewski (2):
gpiolib: don't check the retval of get_direction() when registering a chip
gpio: cdev: use raw notifier for line state events
drivers/gpio/gpiolib-cdev.c | 15 +++++++++------ drivers/gpio/gpiolib.c | 35 ++++++++++++++++------------------- drivers/gpio/gpiolib.h | 5 ++++- 3 files changed, 29 insertions(+), 26 deletions(-)
The pull request you sent on Fri, 14 Mar 2025 15:27:40 +0100:
The pull request you sent on Fri, 14 Mar 2025 15:27:40 +0100:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.gittags/gpio-fixes-for-v6.14-rc7
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/6efcfe105c7ace776e011bd82e4f781876fdb38e
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html