On (06/19/18 22:34), Steven Rostedt 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. I think I did a terrible job explaining my motivation. Sorry for that! What I tried to address with my patch set was not a direct uart->printk, but mostly all those uart-> tty / core kernel / who knows what else -> printk cases. When are in that special context "called from uart driver" which can backfire on us. -ss -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html