mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Linus Walleij <linusw@kernel.org>,
	linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
	brgl@kernel.org,
	Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Subject: [GIT PULL] gpio fixes for v7.4-rc5
Date: Fri, 27 Nov 2026 09:49:59 +0100	[thread overview]
Message-ID: <20261127085000.18053-1-bartosz.golaszewski@oss.qualcomm.com> (raw)

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(-)

             reply	other threads:[~2026-11-27  8:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27  8:49 Bartosz Golaszewski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-09-25  8:02 Bartosz Golaszewski
2026-09-25 18:41 ` pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261127085000.18053-1-bartosz.golaszewski@oss.qualcomm.com \
    --to=bartosz.golaszewski@oss.qualcomm.com \
    --cc=brgl@kernel.org \
    --cc=linusw@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®