Skip to content

two serial_core suspend/resume fixes

Jason Wang linux-serial 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/22 patches 10 repliesIn review
  2. v1 posting 1/22 patches 0 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2serial-core: skip call set_termios/console_start when no_console_suspenddrivers/serial/serial_core.c+1 -10 replies
2/2serial-core: restore termios settings when resume console portsdrivers/serial/serial_core.c+12 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStanislav Brabec
SeriesA-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH RESEND 0/2] two serial_core suspend/resume fixes

Sorry for resending this thread. Last thread is forgot to CC Greg Kroah-Hartman.

The [1/2] fix this situation:
we set no_console_supend and console=ttyS0 to bootargs, then bootup the kernel, the boot logs will print out from ttyS0. When we execute echo mem > /sys/power/state, the system will suspend, we press a key(or other wakeup trigger) to resume the system, but the ttyS0 can't work anymore.

The [2/2] fix this situation:
we set console=ttyS0 to bootargs, then bootup the kernel, the boot logs will print out from ttyS0, this time we set ttyS1 as tty and login for shell. When we execute echo mem > /sys/power/state, the system will suspend, we press a key(or other wakeup trigger) to resume the system, but the ttyS0 can't work anymore.