[PATCH v2 0/5] pinctrl: microchip-sgpio: locking and synchronous output

Linus Walleij linus.walleij at linaro.org
Mon Mar 14 17:57:16 PDT 2022


On Sat, Feb 26, 2022 at 9:45 PM Michael Walle <michael at walle.cc> wrote:

> There are boards which use the output of the SGPIO to drive I2C muxers.
> SGPIO right now is broken in a way that when the software sets this bit
> there is a rather large delay until that value ends up on the hardware
> pin.
>
> While digging into this, I've noticed that there is no locking at all
> in this driver. Add locking for all RWM accesses.
>
> Please note, that parts of the modification of the first patch are
> removed again in a later patch. This is because the first patch is
> intended to be backported to the stable trees.
>
> This was also just tested on a LAN9668 SoC. If you have additional
> hardware, please test.

Nobody is protesting for three weeks or so, I just applied the patches
for v5.18.

If there are problems we can fix them in the v5.18-rc:s

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list