mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] pin control fixes for v6.1
@ 2022-11-16 14:57 Linus Walleij
  2022-11-16 18:46 ` Linus Torvalds
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Linus Walleij @ 2022-11-16 14:57 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, open list:GPIO SUBSYSTEM

Hi Linus,

here is a hopefully final round of pin control fixes.
Nothing special, driver fixes and we caught a potential
NULL pointer exception.

What took time for me was to figure out how to get the
GPG password entry for signing the tag come up in
curses on a remote machine instead of giving up when
trying to open the secure little signing widget that locks
the desktop UI which it doesn't have. Comes down to
export PINENTRY_USER_DATA=USE_TTY=1
then creating .gnupg/gpg-agent.conf setting up
pinentry-program /usr/bin/pinentry-curses.
Well that was not intuitive, especially not an
environment variable containing an environment
variable. GPG might need some UX polish (or maybe
it's the distros that do this to us). Anyway here it is!

Yours,
Linus Walleij

The following changes since commit f0c4d9fc9cc9462659728d168387191387e903cc:

  Linux 6.1-rc4 (2022-11-06 15:07:11 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 2e35b25dd8e666b8619355fc3defb1b246a5dc02:

  pinctrl: mediatek: Export debounce time tables (2022-11-15 09:13:59 +0100)

----------------------------------------------------------------
Pin control fixes for the v6.1 kernel:

- Fix a potential NULL dereference in the core!

- Fix all pin mux routes in the Rockchop PX30 driver.

- Fix the UFS pins in the Qualcomm SC8280XP driver.

- Fix bias disabling in the Mediatek driver.

- Fix debounce time settings in the Mediatek driver.

----------------------------------------------------------------
AngeloGioacchino Del Regno (2):
      pinctrl: mediatek: common-v2: Fix bias-disable for PULL_PU_PD_RSEL_TYPE
      pinctrl: mediatek: Fix EINT pins input debounce time configuration

Anjana Hari (1):
      pinctrl: qcom: sc8280xp: Rectify UFS reset pins

Linus Walleij (1):
      pinctrl: mediatek: Export debounce time tables

Quentin Schulz (1):
      pinctrl: rockchip: list all pins in a possible mux route for PX30

Zeng Heng (1):
      pinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_map

 drivers/pinctrl/devicetree.c                     |  2 ++
 drivers/pinctrl/mediatek/mtk-eint.c              | 34 +++++++++++++++++---
 drivers/pinctrl/mediatek/mtk-eint.h              |  6 ++++
 drivers/pinctrl/mediatek/pinctrl-mt2701.c        |  1 +
 drivers/pinctrl/mediatek/pinctrl-mt2712.c        |  1 +
 drivers/pinctrl/mediatek/pinctrl-mt6765.c        |  1 +
 drivers/pinctrl/mediatek/pinctrl-mt6779.c        |  1 +
 drivers/pinctrl/mediatek/pinctrl-mt6795.c        |  1 +
 drivers/pinctrl/mediatek/pinctrl-mt7622.c        |  1 +
 drivers/pinctrl/mediatek/pinctrl-mt7623.c        |  1 +
 drivers/pinctrl/mediatek/pinctrl-mt7629.c        |  1 +
 drivers/pinctrl/mediatek/pinctrl-mt7986.c        |  2 ++
 drivers/pinctrl/mediatek/pinctrl-mt8127.c        |  1 +
 drivers/pinctrl/mediatek/pinctrl-mt8135.c        |  1 +
 drivers/pinctrl/mediatek/pinctrl-mt8167.c        |  1 +
 drivers/pinctrl/mediatek/pinctrl-mt8173.c        |  1 +
 drivers/pinctrl/mediatek/pinctrl-mt8183.c        |  1 +
 drivers/pinctrl/mediatek/pinctrl-mt8186.c        |  1 +
 drivers/pinctrl/mediatek/pinctrl-mt8188.c        |  1 +
 drivers/pinctrl/mediatek/pinctrl-mt8192.c        |  1 +
 drivers/pinctrl/mediatek/pinctrl-mt8195.c        |  1 +
 drivers/pinctrl/mediatek/pinctrl-mt8365.c        |  1 +
 drivers/pinctrl/mediatek/pinctrl-mt8516.c        |  1 +
 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c |  3 ++
 drivers/pinctrl/pinctrl-rockchip.c               | 40 ++++++++++++++++++++++++
 drivers/pinctrl/qcom/pinctrl-sc8280xp.c          |  4 +--
 26 files changed, 103 insertions(+), 7 deletions(-)

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

* Re: [GIT PULL] pin control fixes for v6.1
  2022-11-16 14:57 [GIT PULL] pin control fixes for v6.1 Linus Walleij
@ 2022-11-16 18:46 ` Linus Torvalds
  2022-11-16 18:51 ` pr-tracker-bot
  2022-11-28 13:59 ` Geert Uytterhoeven
  2 siblings, 0 replies; 6+ messages in thread
From: Linus Torvalds @ 2022-11-16 18:46 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-kernel, open list:GPIO SUBSYSTEM

On Wed, Nov 16, 2022 at 6:57 AM Linus Walleij <linus.walleij@linaro.org> wrote:
>
> GPG might need some UX polish

Hahhhahhhahaaa [takes breath] hahahahaaa!

pgp (and gpg) "needing UX polish" is like saying "cars might need
wheels" or "fish might need water".

There's being cryptic, there's being actively user-hostile. And then
there is pgp.

I point people to

   https://www.vice.com/en/article/vvbw9a/even-the-inventor-of-pgp-doesnt-use-pgp

whenever they wonder about some oddity in pgp/gpg.

                  Linus

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

* Re: [GIT PULL] pin control fixes for v6.1
  2022-11-16 14:57 [GIT PULL] pin control fixes for v6.1 Linus Walleij
  2022-11-16 18:46 ` Linus Torvalds
@ 2022-11-16 18:51 ` pr-tracker-bot
  2022-11-28 13:59 ` Geert Uytterhoeven
  2 siblings, 0 replies; 6+ messages in thread
From: pr-tracker-bot @ 2022-11-16 18:51 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Linus Torvalds, linux-kernel, open list:GPIO SUBSYSTEM

The pull request you sent on Wed, 16 Nov 2022 15:57:09 +0100:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/31c9c4c54ea9902af4b01545d3a10acd3cf815a9

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

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

* Re: [GIT PULL] pin control fixes for v6.1
  2022-11-16 14:57 [GIT PULL] pin control fixes for v6.1 Linus Walleij
  2022-11-16 18:46 ` Linus Torvalds
  2022-11-16 18:51 ` pr-tracker-bot
@ 2022-11-28 13:59 ` Geert Uytterhoeven
  2 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2022-11-28 13:59 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Linus Torvalds, linux-kernel, open list:GPIO SUBSYSTEM

Hi Linus,

On Wed, Nov 16, 2022 at 3:59 PM Linus Walleij <linus.walleij@linaro.org> wrote:
> What took time for me was to figure out how to get the
> GPG password entry for signing the tag come up in
> curses on a remote machine instead of giving up when
> trying to open the secure little signing widget that locks
> the desktop UI which it doesn't have. Comes down to
> export PINENTRY_USER_DATA=USE_TTY=1
> then creating .gnupg/gpg-agent.conf setting up
> pinentry-program /usr/bin/pinentry-curses.
> Well that was not intuitive, especially not an
> environment variable containing an environment
> variable. GPG might need some UX polish (or maybe
> it's the distros that do this to us). Anyway here it is!

I don't remember the exact commands I used when preparing for last
ELC-E, but some Googling suggests:

    sudo apt install pinentry-tty
    sudo update-alternatives --config pinentry

At least I do have
/etc/alternatives/pinentry -> /usr/bin/pinentry-curses

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [GIT PULL] pin control fixes for v6.1
  2022-12-02 20:51 Linus Walleij
@ 2022-12-03  0:30 ` pr-tracker-bot
  0 siblings, 0 replies; 6+ messages in thread
From: pr-tracker-bot @ 2022-12-03  0:30 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Linus Torvalds, linux-kernel, open list:GPIO SUBSYSTEM

The pull request you sent on Fri, 2 Dec 2022 21:51:52 +0100:

> git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git tags/pinctrl-v6.1-5

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/63050a5ca130e76af7199c9a3fba1d175f3a1102

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

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

* [GIT PULL] pin control fixes for v6.1
@ 2022-12-02 20:51 Linus Walleij
  2022-12-03  0:30 ` pr-tracker-bot
  0 siblings, 1 reply; 6+ messages in thread
From: Linus Walleij @ 2022-12-02 20:51 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, open list:GPIO SUBSYSTEM

Hi Linus,

some trickling pin control fixes for v6.1, three driver fixes.
Details in the signed tag. The Intel fix looks like the most
important.

Please pull it in!

Yours,
Linus Walleij

The following changes since commit eb7081409f94a9a8608593d0fb63a1aa3d6f95d8:

  Linux 6.1-rc6 (2022-11-20 16:02:16 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git
tags/pinctrl-v6.1-5

for you to fetch changes up to 6989ea4881c8944fbf04378418bb1af63d875ef8:

  pinctrl: intel: Save and restore pins in "direct IRQ" mode
(2022-11-28 21:41:31 +0100)

----------------------------------------------------------------
Pin control fixes for the v6.1 series:

- Fix a potential divide by zero in pinctrl-singe (OMAP
  and HiSilicon)

- Disable IRQs on startup in the Mediatek driver. This
  is a classic, we should be looking out for this more.

- Save and restore pins in "direct IRQ" mode in the Intel
  driver, this works around firmware bugs.

----------------------------------------------------------------
Andy Shevchenko (1):
      pinctrl: intel: Save and restore pins in "direct IRQ" mode

Maxim Korotkov (1):
      pinctrl: single: Fix potential division by zero

Ricardo Ribalda (1):
      pinctrl: meditatek: Startup with the IRQs disabled

 drivers/pinctrl/intel/pinctrl-intel.c | 27 ++++++++++++++++++++++++++-
 drivers/pinctrl/mediatek/mtk-eint.c   |  9 ++++++---
 drivers/pinctrl/pinctrl-single.c      |  2 +-
 3 files changed, 33 insertions(+), 5 deletions(-)

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

end of thread, other threads:[~2022-12-03  0:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-16 14:57 [GIT PULL] pin control fixes for v6.1 Linus Walleij
2022-11-16 18:46 ` Linus Torvalds
2022-11-16 18:51 ` pr-tracker-bot
2022-11-28 13:59 ` Geert Uytterhoeven
2022-12-02 20:51 Linus Walleij
2022-12-03  0:30 ` 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®