linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] Pin control fixes for v6.7
@ 2023-11-29 12:09 Linus Walleij
  2023-11-29 14:55 ` Linus Torvalds
  2023-11-29 15:47 ` pr-tracker-bot
  0 siblings, 2 replies; 11+ messages in thread
From: Linus Walleij @ 2023-11-29 12:09 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: open list:GPIO SUBSYSTEM, linux-kernel, Maria Yu, Charles Keepax,
	Chester Lin

Hi Linus,

this is a first belated round of pin control fixes for the v6.7 series..

The most interesting patch is the list iterator fix in the core by Maria
Yu, it took a while for me to realize what was going on there.

Some details on the fixes are in the tag.

Please pull them in!

Yours,
Linus Walleij

The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:

  Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git
tags/pinctrl-v6.7-2

for you to fetch changes up to 90785ea8158b6923c5d6a024f2b1c076110577b5:

  dt-bindings: pinctrl: s32g2: change a maintainer email address
(2023-11-24 11:21:55 +0100)

----------------------------------------------------------------
Some pin control fixes for the v6.7 cycle:

- Fix a really interesting potential core bug in the list iterator
  requireing the use of READ_ONCE() discovered when testing kernel
  compiles with clang.

- Check devm_kcalloc() return value and an array bounds in the STM32
  driver.

- Fix an exotic string truncation issue in the s32cc driver, found
  by the kernel test robot (impressive!)

- Fix an undocumented struct member in the cy8c95x0 driver.

- Fix a symbol overlap with MIPS in the Lochnagar driver, MIPS
  defines a global symbol "RST" which is a bit too generic and
  collide with stuff. OK this one should be renamed too, we will
  fix that as well.

- Fix erroneous branch taking in the Realtek driver.

- Fix the mail address in MAINTAINERS for the s32g2 driver.

----------------------------------------------------------------
Antonio Borneo (1):
      pinctrl: stm32: fix array read out of bound

Charles Keepax (1):
      pinctrl: lochnagar: Don't build on MIPS

Chen Ni (1):
      pinctrl: stm32: Add check for devm_kcalloc

Chester Lin (2):
      pinctrl: s32cc: Avoid possible string truncation
      dt-bindings: pinctrl: s32g2: change a maintainer email address

Linus Walleij (1):
      pinctrl: cy8c95x0: Fix doc warning

Maria Yu (1):
      pinctrl: avoid reload of p state in list iteration

Tzuyi Chang (1):
      pinctrl: realtek: Fix logical error when finding descriptor

 .../bindings/pinctrl/nxp,s32g2-siul2-pinctrl.yaml           |  2 +-
 drivers/pinctrl/cirrus/Kconfig                              |  3 ++-
 drivers/pinctrl/core.c                                      |  6 +++---
 drivers/pinctrl/nxp/pinctrl-s32cc.c                         |  4 ++--
 drivers/pinctrl/pinctrl-cy8c95x0.c                          |  1 +
 drivers/pinctrl/realtek/pinctrl-rtd.c                       |  4 ++--
 drivers/pinctrl/stm32/pinctrl-stm32.c                       | 13 ++++++++++---
 7 files changed, 21 insertions(+), 12 deletions(-)

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [GIT PULL] pin control fixes for v6.7
@ 2023-12-21 22:50 Linus Walleij
  2023-12-22  0:58 ` pr-tracker-bot
  0 siblings, 1 reply; 11+ messages in thread
From: Linus Walleij @ 2023-12-21 22:50 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, open list:GPIO SUBSYSTEM, Mario Limonciello

Hi Linus,

here are some driver fixes for v6.7, all are in drivers, the most
interesting one is probably the AMD laptop suspend bug which really
needs fixing. The Freedestop org has the bug description:
https://gitlab.freedesktop.org/drm/amd/-/issues/2812

More details in the tag and changelogs.

Please pull it in!

Yours,
Linus Walleij

The following changes since commit 33cc938e65a98f1d29d0a18403dbbee050dcad9a:

  Linux 6.7-rc4 (2023-12-03 18:52:56 +0900)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git
tags/pinctrl-v6.7-4

for you to fetch changes up to 14694179e561b5f2f7e56a0f590e2cb49a9cc7ab:

  pinctrl: at91-pio4: use dedicated lock class for IRQ (2023-12-21
09:05:02 +0100)

----------------------------------------------------------------
Pin control fixes for v6.7:

- Ignore disabled device tree nodes in the Starfive 7100 and
  7100 drivers.

- Mask non-wake source pins with interrupt enabled at suspend
  in the AMD driver, this blocks unnecessary wakeups from misc
  interrupts. This can be power consuming because in many cases
  the system doesn't really suspend, it just wakes right back
  up.

- Fix a typo breaking compilation of the cy8c95x0 driver, and
  fix up bugs in the get/set config callbacks.

- Use a dedicated lock class for the PIO4 drivers IRQ.
  This fixes a crash on suspend.

----------------------------------------------------------------
Alexis Lothoré (1):
      pinctrl: at91-pio4: use dedicated lock class for IRQ

Mario Limonciello (1):
      pinctrl: amd: Mask non-wake source pins with interrupt enabled at suspend

Nam Cao (2):
      pinctrl: starfive: jh7110: ignore disabled device tree nodes
      pinctrl: starfive: jh7100: ignore disabled device tree nodes

Patrick Rudolph (3):
      pinctrl: cy8c95x0: Fix typo
      pinctrl: cy8c95x0: Fix regression
      pinctrl: cy8c95x0: Fix get_pincfg

 drivers/pinctrl/pinctrl-amd.c                      |  9 +++++++++
 drivers/pinctrl/pinctrl-amd.h                      |  5 +++++
 drivers/pinctrl/pinctrl-at91-pio4.c                |  8 ++++++++
 drivers/pinctrl/pinctrl-cy8c95x0.c                 | 14 +++++++++++++-
 drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c |  4 ++--
 drivers/pinctrl/starfive/pinctrl-starfive-jh7110.c |  4 ++--
 6 files changed, 39 insertions(+), 5 deletions(-)

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

end of thread, other threads:[~2023-12-22  0:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-29 12:09 [GIT PULL] Pin control fixes for v6.7 Linus Walleij
2023-11-29 14:55 ` Linus Torvalds
2023-11-29 15:08   ` Linus Walleij
2023-11-30  5:37     ` Aiqun(Maria) Yu
2023-12-01  8:10       ` Linus Walleij
2023-12-01  8:12         ` Linus Walleij
2023-12-01 10:06         ` Aiqun(Maria) Yu
2023-12-01 15:34           ` Aiqun(Maria) Yu
2023-11-29 15:47 ` pr-tracker-bot
  -- strict thread matches above, loose matches on Subject: below --
2023-12-21 22:50 [GIT PULL] pin " Linus Walleij
2023-12-22  0:58 ` 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;
as well as URLs for NNTP newsgroup(s).