Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix NULL pointer dereference in RZ/{G2L,V2M,A2} pinctrl driver
@ 2023-08-14  7:24 Biju Das
  2023-08-14  7:24 ` [PATCH 1/3] pinctrl: renesas: rzg2l: Fix NULL pointer dereference in rzg2l_dt_subnode_to_map() Biju Das
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Biju Das @ 2023-08-14  7:24 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Biju Das, Geert Uytterhoeven, Lad Prabhakar, Fabrizio Castro,
	Chris Brandt, Jacopo Mondi, linux-renesas-soc, linux-gpio

Fix NULL pointer dereference in RZ/{G2L,V2M,A2M} pinctrl driver due to
a race condition during boot. We have seen issues with RZ/{G2L,V2M} boards.
Based on the code, RZ/A2 will also hit this issue. So fixing RZ/A2 aswell.

This issue is reproducible with 1/200 reboots.

Biju Das (3):
  pinctrl: renesas: rzg2l: Fix NULL pointer dereference in
    rzg2l_dt_subnode_to_map()
  pinctrl: renesas: rzv2m: Fix NULL pointer dereference in
    rzv2m_dt_subnode_to_map()
  pinctrl: renesas: rza2: Add lock around
    pinctrl_generic{{add,remove}_group,{add,remove}_function}

 drivers/pinctrl/renesas/pinctrl-rza2.c  | 11 ++++++++++-
 drivers/pinctrl/renesas/pinctrl-rzg2l.c |  8 ++++++++
 drivers/pinctrl/renesas/pinctrl-rzv2m.c |  8 ++++++++
 3 files changed, 26 insertions(+), 1 deletion(-)

-- 
2.25.1


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

end of thread, other threads:[~2023-08-15 11:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-14  7:24 [PATCH 0/3] Fix NULL pointer dereference in RZ/{G2L,V2M,A2} pinctrl driver Biju Das
2023-08-14  7:24 ` [PATCH 1/3] pinctrl: renesas: rzg2l: Fix NULL pointer dereference in rzg2l_dt_subnode_to_map() Biju Das
2023-08-14 20:49   ` andy.shevchenko
2023-08-15  6:44     ` Biju Das
2023-08-15  9:14   ` Linus Walleij
2023-08-15  9:32     ` Geert Uytterhoeven
2023-08-15 11:46       ` Linus Walleij
2023-08-14  7:24 ` [PATCH 2/3] pinctrl: renesas: rzv2m: Fix NULL pointer dereference in rzv2m_dt_subnode_to_map() Biju Das
2023-08-14 20:49   ` andy.shevchenko
2023-08-14  7:24 ` [PATCH 3/3] pinctrl: renesas: rza2: Add lock around pinctrl_generic{{add,remove}_group,{add,remove}_function} Biju Das

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox