Re: [RFC][PATCH 0/6] Use printk_safe context for TTY and UART port locks

From: Steven Rostedt
Date: Tue Jun 19 2018 - 22:34:59 EST


On Wed, 20 Jun 2018 11:01:49 +0900
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:


> There is no valid reason why an UART driver should do a printk() of
> any sort inside the critical region where the console is locked.
>
> Just remove those printk's, don't add new crazy locking.

Perhaps we should do an audit of the console drivers and remove all
printk, pr_* , WARN*, BUG* from them.

-- Steve