lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241008-8250-omap-no-console-suspend-v1-0-e7f0365c02f0@bootlin.com>
Date: Tue, 08 Oct 2024 11:34:15 +0200
From: Thomas Richard <thomas.richard@...tlin.com>
To: Nishanth Menon <nm@...com>, Tero Kristo <kristo@...nel.org>, 
 Santosh Shilimkar <ssantosh@...nel.org>, 
 Ulf Hansson <ulf.hansson@...aro.org>, 
 Greg Kroah-Hartman <gregkh@...uxfoundation.org>, 
 Jiri Slaby <jirislaby@...nel.org>
Cc: linux-arm-kernel@...ts.infradead.org, linux-pm@...r.kernel.org, 
 linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org, u-kumar1@...com, 
 tony@...mide.com, khilman@...nel.org, gregory.clement@...tlin.com, 
 thomas.petazzoni@...tlin.com, theo.lebrun@...tlin.com, 
 richard.genoud@...tlin.com, Thomas Richard <thomas.richard@...tlin.com>
Subject: [PATCH 0/2] Fix no_console_suspend in the 8250_omap driver

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@...tlin.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@...tlin.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ