linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/1] pinctrl:mtk: Fix kexec() initialization
@ 2022-11-21 23:38 Ricardo Ribalda
  2022-11-21 23:38 ` [PATCH v1 1/1] pinctrl: meditatek: Startup with the IRQs disabled Ricardo Ribalda
  0 siblings, 1 reply; 5+ messages in thread
From: Ricardo Ribalda @ 2022-11-21 23:38 UTC (permalink / raw)
  To: Linus Walleij, Matthias Brugger, Sean Wang
  Cc: Steven Rostedt, Ross Zwisler, linux-kernel, linux-gpio,
	linux-arm-kernel, linux-mediatek, Sergey Senozhatsky,
	Joel Fernandes (Google), Ricardo Ribalda

When we use kexec to reboot a system, the hardware keeps its
old state.

This can be problematic for interrupt controllers.

Lets initialise the controller with a know state.

To: Sean Wang <sean.wang@kernel.org>
To: Linus Walleij <linus.walleij@linaro.org>
To: Matthias Brugger <matthias.bgg@gmail.com>
Cc: linux-mediatek@lists.infradead.org
Cc: linux-gpio@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Cc: Joel Fernandes (Google) <joel@joelfernandes.org>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ross Zwisler <zwisler@kernel.org>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>

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

 drivers/pinctrl/mediatek/mtk-eint.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
---
base-commit: eb7081409f94a9a8608593d0fb63a1aa3d6f95d8
change-id: 20221122-mtk-pinctrl-a82d0240c848

Best regards,
-- 
Ricardo Ribalda <ribalda@chromium.org>

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

end of thread, other threads:[~2022-11-22  9:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-21 23:38 [PATCH v1 0/1] pinctrl:mtk: Fix kexec() initialization Ricardo Ribalda
2022-11-21 23:38 ` [PATCH v1 1/1] pinctrl: meditatek: Startup with the IRQs disabled Ricardo Ribalda
2022-11-22  8:34   ` Linus Walleij
2022-11-22  9:23   ` AngeloGioacchino Del Regno
2022-11-22  9:48   ` Matthias Brugger

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).