[PATCH 0/2] Fix no_console_suspend in the 8250_omap driver

Thomas Richard posted 2 patches 1 month, 2 weeks ago
drivers/pmdomain/ti/ti_sci_pm_domains.c | 1 +
drivers/tty/serial/8250/8250_omap.c     | 8 ++++++--
2 files changed, 7 insertions(+), 2 deletions(-)
[PATCH 0/2] Fix no_console_suspend in the 8250_omap driver
Posted by Thomas Richard 1 month, 2 weeks ago
This series fixes the no_console_suspend in the 8250_omap driver.
A first implementation was introducted [1].
But it was recently reverted [2] because it causes a crash during suspend on
the platforms that don't use PM domains.
This series implements the proposal sent by Théo Lebrun and discussed with
Kevin Hilman and Tony Lindgren in the thread [3].

This series was tested on a J7200 EVM board.

Regards,

Thomas

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=68e6939ea9ec3d6579eadeab16060339cdeaf940
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0863bffda1131fd2fa9c05b653ad9ee3d8db127e
[3] https://lore.kernel.org/all/20231017130540.1149721-1-thomas.richard@bootlin.com/

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
---
Thomas Richard (2):
      pmdomain: ti-sci: set the GENPD_FLAG_ACTIVE_WAKEUP flag for all PM domains
      serial: 8250_omap: mark the serial as on the wakeup path if no_console_suspend

 drivers/pmdomain/ti/ti_sci_pm_domains.c | 1 +
 drivers/tty/serial/8250/8250_omap.c     | 8 ++++++--
 2 files changed, 7 insertions(+), 2 deletions(-)
---
base-commit: 6bf6745da1d37bc132690d96ef1455a62b0177cf
change-id: 20240819-8250-omap-no-console-suspend-1073308d3714

Best regards,
-- 
Thomas Richard <thomas.richard@bootlin.com>