two serial_core suspend/resume fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v1 Latest posting 2/22 patches 10 repliesIn review
- v1 posting 1/22 patches 0 repliesSuperseded
Patches in v1 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | serial-core: skip call set_termios/console_start when no_console_suspenddrivers/ | +1 | 0 replies | |
| 2/2 | serial-core: restore termios settings when resume console portsdrivers/ | +12 | 0 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.
| Patch | Stanislav Brabec |
|---|---|
| Series | A-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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.