Re: printk meeting at LPC

From: Sergey Senozhatsky
Date: Tue Sep 17 2019 - 21:25:54 EST


On (09/13/19 15:26), John Ogness wrote:
> 2. A kernel thread will be created for each registered console, each
> responsible for being the sole printers to their respective
> consoles. With this, console printing is _fully_ decoupled from printk()
> callers.

sysrq over serial?

What we currently have is hacky, but, as usual, is a "best effort":

>> serial driver IRQ

serial_handle_irq() [console driver]
uart_handle_sysrq_char()
handle_sysrq()
printk()
call_console_drivers()
serial_write() [re-enter console driver]

offloading this to kthread may be unreliable.

-ss