mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] gpio fixes for v7.4-rc5
@ 2026-11-27  8:49 Bartosz Golaszewski
  2026-11-27 19:58 ` pr-tracker-bot
  0 siblings, 1 reply; 4+ messages in thread
From: Bartosz Golaszewski @ 2026-11-27  8:49 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Linus Walleij, linux-gpio, linux-kernel, brgl, Bartosz Golaszewski

Linus,

Please pull the following set of GPIO fixes for the next RC.

Thanks,
Bartosz

The following changes since commit b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f:

  Linux 7.4-rc4 (2026-11-22 14:57:40 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v7.4-rc5

for you to fetch changes up to d8e27d04274746093f8d5a4e909efd9885262166:

  gpio: mvebu: fix Armada XP per-CPU mask register save/restore (2026-11-26 15:46:27 +0100)

----------------------------------------------------------------
gpio fixes for v7.4-rc5

GPIO core fixes:
- fix several logic & locking issues and resource leaks in GPIO
  character device code
- fix GPIO hogging for controllers using the three-cell binding
- fix inverted trace values in gpiod_get_array_value()
- remove shared GPIO proxies before freeing interrupts that are still
  requested by the parent controller and fix a race in remove path
- fix UAF bugs around the GPIO label cleanup

GPIO driver fixes:
- fix a use-after-free bug in gpio-davinci
- fix an issue in gpio-davinci where the driver could setup an IRQ for a
  wrong controller
- validate the number of GPIOs in gpio-mvebu
- use correct registers in suspend/resume in gpio-mvebu
- fix non-kerneldoc comment in nsc-gpio header
- fix memory leak in gpio-aspeed
- do not unprepare the debounce clock twice in probe error path in
  gpio-omap
- fix resume in gpio-pca953x: restore output registers before direction
  to fix potential spurious output-high pin

GPIO tools fixes:
- fix command-line arguments parsing in gpio-hammer
- preserve the device listing error in lsgpio instead of dropping it
  unconditionally
- return 0 from gpio-event-mon on success: we currently return the
  number of read events from main() which is interpreted as an error in
  shell

----------------------------------------------------------------
Adrian Ambrozewicz (8):
      gpiolib: wait for pending label frees before cleaning up desc_srcu
      gpiolib: free the label of lines released after their chip was removed
      gpiolib: cdev: do not free line IRQs again after the chip is removed
      gpiolib: cdev: don't sleep in the SRCU read section in read()
      gpiolib: cdev: don't leak the IRQ name when the chip is removed
      gpiolib: cdev: don't report a failed line read as an edge
      gpiolib: let the character device free its IRQs first on chip removal
      gpiolib: remove the shared GPIO proxies before freeing the remaining IRQs

Bartosz Golaszewski (1):
      gpiolib: use the of_xlate() result when hogging lines

Cong Nguyen (1):
      gpio: omap: do not unprepare the debounce clock twice on probe failure

Dean Sellers (1):
      gpio: pca953x: restore output registers before direction on resume

Guangshuo Li (1):
      gpio: aspeed: Fix potential coprocessor bank map leak

Jan Schär (1):
      gpiolib: fix inverted trace values in gpiod_get_array_value()

Randy Dunlap (1):
      chardev: GPIO common access methods: repair non-kernel-doc comment

Rosen Penev (2):
      gpio: mvebu: validate ngpios before use
      gpio: mvebu: fix Armada XP per-CPU mask register save/restore

Sahaj Chaudhari (2):
      gpio: davinci: use controller-specific MMIO for BINTEN
      gpio: davinci: allocate bank IRQ data before installing handlers

Zhu Jun (3):
      tools: gpio-hammer: Accept the maximum number of line offsets
      tools: gpio: Preserve device listing errors in lsgpio
      tools: gpio: Return success after monitoring requested events

 drivers/gpio/gpio-aspeed.c  |  12 ++--
 drivers/gpio/gpio-davinci.c |  26 ++++----
 drivers/gpio/gpio-mvebu.c   |  11 ++--
 drivers/gpio/gpio-omap.c    |   2 -
 drivers/gpio/gpio-pca953x.c |  15 +++--
 drivers/gpio/gpiolib-cdev.c | 157 ++++++++++++++++++++++++++++++++------------
 drivers/gpio/gpiolib-of.c   |  10 +--
 drivers/gpio/gpiolib-of.h   |  15 +++--
 drivers/gpio/gpiolib.c      |  54 ++++++++++-----
 include/linux/nsc_gpio.h    |   2 +-
 tools/gpio/gpio-event-mon.c |   4 +-
 tools/gpio/gpio-hammer.c    |   4 +-
 tools/gpio/lsgpio.c         |   3 +-
 13 files changed, 211 insertions(+), 104 deletions(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [GIT PULL] gpio fixes for v7.4-rc5
@ 2026-09-25  8:02 Bartosz Golaszewski
  2026-09-25 18:41 ` pr-tracker-bot
  0 siblings, 1 reply; 4+ messages in thread
From: Bartosz Golaszewski @ 2026-09-25  8:02 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Linus Walleij, linux-gpio, linux-kernel, brgl, Bartosz Golaszewski

Linus,

Please pull the following set of GPIO fixes for the next RC.

Thanks,
Bartosz

The following changes since commit 93f51579e7df248780214094418f205253383cc5:

  Linux 7.3-rc4 (2026-09-20 13:48:15 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v7.3-rc5

for you to fetch changes up to 270437f3fe62516f16482742a7762a075e7a9457:

  gpio: tps65219: Fix TPS65214 GPIO direction programming (2026-09-23 16:42:01 +0200)

----------------------------------------------------------------
gpio fixes for v7.4-rc5

- fix a regression introduced by moving GPIO hog handling into GPIOLIB
  core where of_node_name was used if line name property was missing on
  DT systems
- fix kernel stack leak to user-space in error path in GPIO character
  device code
- fix runtime PM leaks in gpio-xilinx and gpio-arizona
- fix several register programming bugs in gpio-tps65219
- fix interrupt storm on resume in gpio-mvebu

----------------------------------------------------------------
Bartosz Golaszewski (2):
      Merge tag 'v7.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into gpio/for-current
      gpio: cdev: fix kernel stack leak to user-space in error path

Frank Wunderlich (1):
      gpiolib: use of_node_name if line-name is missing

Karl Mehltretter (3):
      gpio: tps65219: Fix GPIO input value reads
      gpio: tps65219: Use the variant-specific direction callback
      gpio: tps65219: Fix TPS65214 GPIO direction programming

Ridham Khurana (1):
      gpio: zynq: fix runtime PM leak on request error path

Rosen Penev (1):
      gpio: mvebu: keep resume masks within the irqchip cache

Wentao Liang (1):
      gpio: arizona: Fix runtime PM leak in arizona_gpio_direction_out()

 drivers/gpio/gpio-arizona.c  |  8 ++++++--
 drivers/gpio/gpio-mvebu.c    | 33 +++++++++++++++++++++++++++------
 drivers/gpio/gpio-tps65219.c | 12 +++++++-----
 drivers/gpio/gpio-zynq.c     | 10 +---------
 drivers/gpio/gpiolib-cdev.c  | 32 +++++++++++++++++++++++++-------
 drivers/gpio/gpiolib.c       |  7 +++++++
 6 files changed, 73 insertions(+), 29 deletions(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-27 19:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27  8:49 [GIT PULL] gpio fixes for v7.4-rc5 Bartosz Golaszewski
2026-11-27 19:58 ` pr-tracker-bot
  -- strict thread matches above, loose matches on Subject: below --
2026-09-25  8:02 Bartosz Golaszewski
2026-09-25 18:41 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®