Skip to content

console, serial8250: Disable PM and DMA ops

Andy Shevchenko linux-serial lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 24 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3console: introduce ->exit() callbackinclude/linux/console.h kernel/printk/printk.c+4 -00 replies
2/3serial: 8250_port: Don't use power management for kernel consoledrivers/tty/serial/8250/8250_core.c drivers/tty/serial/8250/8250_port.c include/linux/serial_8250.h+28 -40 replies
3/3serial: 8250_port: Disable DMA operations for kernel consoledrivers/tty/serial/8250/8250_port.c+4 -13 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/3] console, serial8250: Disable PM and DMA ops

Kernel console is sensitive to any kind of complex work needed to print out anything on it. One such case is emergency print during Oops.

This series proposes to disable runtime PM and DMA operations on 8250 serial console.

More detailed explanation why is provided in patch 2.

The series has been in our internal trees for years already with no problems observed.

Andy Shevchenko (3):
console: introduce ->exit() callback
serial: 8250_port: Don't use power management for kernel console
serial: 8250_port: Disable DMA operations for kernel console

 drivers/tty/serial/8250/8250_core.c |  9 +++++++++
 drivers/tty/serial/8250/8250_port.c | 27 ++++++++++++++++++++++-----
 include/linux/console.h             |  1 +
 include/linux/serial_8250.h         |  1 +
 kernel/printk/printk.c              |  3 +++
 5 files changed, 36 insertions(+), 5 deletions(-)
Signature · 1 line
2.17.0