linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] GPIO fixes for v4.9
@ 2016-11-04 13:00 Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2016-11-04 13:00 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-gpio, linux-kernel, Lars-Peter Clausen, Jason Gunthorpe,
	Masahiro Yamada

Hi Linus,

here is a bunch of GPIO fixes for the v4.9 series.

The most prominent thing is the largeish file descriptor leak fix,
and the regression fix for multiple-instance chips is pretty important
too.

Please pull it in!

Yours,
Linus Walleij

The following changes since commit a909d3e636995ba7c349e2ca5dbb528154d4ac30:

  Linux 4.9-rc3 (2016-10-29 13:52:02 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git
tags/gpio-v4.9-3

for you to fetch changes up to 812d47889a8e418d7bea9bec383581a34c19183e:

  gpio/mvebu: Use irq_domain_add_linear (2016-11-01 19:31:49 +0100)

----------------------------------------------------------------
Some GPIO fixes for the v4.9 series:

- Fix a nasty file descriptor leak when getting line handles.

- A fix for a cleanup that seemed innocent but created a problem
  for drivers instantiating several gpiochips for one single
  OF node.

- Fix a unpredictable problem using irq_domain_simple() in the
  mvebu driver by converting it to a lineas irqdomain.

----------------------------------------------------------------
Jason Gunthorpe (1):
      gpio/mvebu: Use irq_domain_add_linear

Lars-Peter Clausen (1):
      gpio: GPIO_GET_LINE{HANDLE,EVENT}_IOCTL: Fix file descriptor leak

Masahiro Yamada (1):
      gpio: of: fix GPIO drivers with multiple gpio_chip for a single node

 drivers/gpio/gpio-mvebu.c | 92 ++++++++++++++++++++++-------------------------
 drivers/gpio/gpiolib-of.c | 14 +++++---
 drivers/gpio/gpiolib.c    | 57 ++++++++++++++++++++++-------
 3 files changed, 97 insertions(+), 66 deletions(-)

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

* [GIT PULL] GPIO fixes for v4.9
@ 2016-10-24 19:17 Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2016-10-24 19:17 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-gpio, linux-kernel, Lars-Peter Clausen, Arnd Bergmann,
	Javier Martinez Canillas

Hi Linus,

here is a set of patches for the v4.9 series. A bunch of stuff
hardening the GPIO userspace ABI is targeted for stable, and
stands out as especially important.

Apart from that is is just regular first-pull-after mergwindow fixes
with some targeted for stable and some fixing the v4.9 HEAD.

Details are in the signed tag.

Please pull it in!

Yours,
Linus Walleij

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

  Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git
tags/gpio-v4.9-2

for you to fetch changes up to d71cf15b865bdd45925f7b094d169aaabd705145:

  gpio: mpc8xxx: Correct irq handler function (2016-10-24 02:20:40 +0200)

----------------------------------------------------------------
Here is a set of GPIO fixes for the v4.9 kernel series:

- Fix up off-by one and line offset validation, info leak to
  userspace, and reject invalid flags. Those are especially
  valuable hardening patches from Lars-Peter Clausen, all tagged
  for stable.

- Fix module autoload for TS4800 and ATH79.

- Correct the IRQ handler for MPC8xxx to use handle_level_irq()
  as it (A) reacts to edges not levels and (B) even implements
  .irq_ack(). We were missing IRQs here.

- Fix the error path for acpi_dev_gpio_irq_get()

- Fix a memory leak in the MXS driver.

- Fix an annoying typo in the STMPE driver.

- Put a dependency on sysfs to the mockup driver.

----------------------------------------------------------------
Arnd Bergmann (1):
      gpio: mockup: add sysfs dependency

Arvind Yadav (1):
      gpio: mxs: Unmap region obtained by of_iomap

Dan Carpenter (1):
      gpio: stmpe: || vs && typo

David Arcari (1):
      gpio / ACPI: fix returned error from acpi_dev_gpio_irq_get()

Javier Martinez Canillas (2):
      gpio: ts4800: Fix module autoload
      gpio: ath79: Fix module autoload

Lars-Peter Clausen (8):
      gpio: GPIO_GET_CHIPINFO_IOCTL: Fix line offset validation
      gpio: GPIO_GET_CHIPINFO_IOCTL: Fix information leak
      gpio: GPIO_GET_LINEHANDLE_IOCTL: Validate line offset
      gpio: GPIOHANDLE_GET_LINE_VALUES_IOCTL: Fix information leak
      gpio: GPIO_GET_LINEEVENT_IOCTL: Validate line offset
      gpio: GPIOHANDLE_GET_LINE_VALUES_IOCTL: Fix information leak
      gpio: GPIO_GET_LINEHANDLE_IOCTL: Reject invalid line flags
      gpio: GPIO_GET_LINEEVENT_IOCTL: Reject invalid line and event flags

Liu Gang (1):
      gpio: mpc8xxx: Correct irq handler function

Pavel Machek (1):
      gpio/board.txt: point to gpiod_set_value

 Documentation/gpio/board.txt | 11 +++++++----
 drivers/gpio/Kconfig         |  2 +-
 drivers/gpio/gpio-ath79.c    |  1 +
 drivers/gpio/gpio-mpc8xxx.c  |  2 +-
 drivers/gpio/gpio-mxs.c      |  8 ++++++--
 drivers/gpio/gpio-stmpe.c    |  2 +-
 drivers/gpio/gpio-ts4800.c   |  1 +
 drivers/gpio/gpiolib-acpi.c  |  7 +++++--
 drivers/gpio/gpiolib.c       | 42 +++++++++++++++++++++++++++++++++++++++++-
 9 files changed, 64 insertions(+), 12 deletions(-)

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

end of thread, other threads:[~2016-11-04 13:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-04 13:00 [GIT PULL] GPIO fixes for v4.9 Linus Walleij
  -- strict thread matches above, loose matches on Subject: below --
2016-10-24 19:17 Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).