mbox series

[GIT,PULL] pin control fixes for v6.1

Message ID CACRpkdaJy5hhrMfdZWtpoBUxBEc1QnxaX4pRzQVUBoEoKqrwzA@mail.gmail.com
State New
Headers show
Series [GIT,PULL] pin control fixes for v6.1 | expand

Pull-request

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

Message

Linus Walleij Nov. 16, 2022, 2:57 p.m. UTC
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(-)

Comments

Linus Torvalds Nov. 16, 2022, 6:46 p.m. UTC | #1
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
pr-tracker-bot@kernel.org Nov. 16, 2022, 6:51 p.m. UTC | #2
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!
Geert Uytterhoeven Nov. 28, 2022, 1:59 p.m. UTC | #3
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