Linux Serial subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix no_console_suspend in the 8250_omap driver
@ 2024-10-08  9:34 Thomas Richard
  2024-10-08  9:34 ` [PATCH 1/2] pmdomain: ti-sci: set the GENPD_FLAG_ACTIVE_WAKEUP flag for all PM domains Thomas Richard
  2024-10-08  9:34 ` [PATCH 2/2] serial: 8250_omap: mark the serial as on the wakeup path if no_console_suspend Thomas Richard
  0 siblings, 2 replies; 9+ messages in thread
From: Thomas Richard @ 2024-10-08  9:34 UTC (permalink / raw)
  To: Nishanth Menon, Tero Kristo, Santosh Shilimkar, Ulf Hansson,
	Greg Kroah-Hartman, Jiri Slaby
  Cc: linux-arm-kernel, linux-pm, linux-kernel, linux-serial, u-kumar1,
	tony, khilman, gregory.clement, thomas.petazzoni, theo.lebrun,
	richard.genoud, Thomas Richard

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>


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

end of thread, other threads:[~2024-10-10  7:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-08  9:34 [PATCH 0/2] Fix no_console_suspend in the 8250_omap driver Thomas Richard
2024-10-08  9:34 ` [PATCH 1/2] pmdomain: ti-sci: set the GENPD_FLAG_ACTIVE_WAKEUP flag for all PM domains Thomas Richard
2024-10-09 13:17   ` Ulf Hansson
2024-10-10  7:12     ` Thomas Richard
2024-10-08  9:34 ` [PATCH 2/2] serial: 8250_omap: mark the serial as on the wakeup path if no_console_suspend Thomas Richard
2024-10-09 10:50   ` Ulf Hansson
2024-10-09 12:17     ` Thomas Richard
2024-10-09 12:39       ` Ulf Hansson
2024-10-09 12:59         ` Thomas Richard

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