* Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> [200217 11:41]: > This is third version to get rid of problematic DMA and PM calls in > the serial kernel console code. > > Patches 1, 3 and 4 are preparatory ones. > > After previous discussion Tony suggested to add a possibility to detach > and attach back kernel console from user space. It's done in the patch 2. > > 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. > > More details on topic are in the commit messages of the patches 5 and 6. > > The series has been tested on few Intel platforms. > > Note, it depends to recently submitted and applied patches in > the core console code [2, 3]. Petr, may you confirm that [3] is > immutable or even send Greg KH a PR? > > Greg, see above note before applying, thanks! > > [1]: https://lore.kernel.org/patchwork/cover/905632/ > [2]: https://lore.kernel.org/lkml/20200203133130.11591-1-andriy.shevchenko@xxxxxxxxxxxxxxx/ > [3]: https://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk.git/log/?h=for-5.7-console-exit > > Cc: Russell King <rmk+kernel@xxxxxxxxxxxxxxx> > Cc: Petr Mladek <pmladek@xxxxxxxx> > > Changelog v3: > - dropped applied patches > - dropped "cleanup" DMA patches, that they were not tested and actually are regressions > - added DEVICE_ATTR_RO/_RW conversion patches (Greg) > - added pr_*() to dev_*() conversion patch (Greg) > - updated commit message to note OMAP behaviour change (Russell) > - replace run-time PM callbacks to be _sync() (Tony) Nice, works for my test cases now! Please feel free to add: Reviewed-by: Tony Lindgren <tony@xxxxxxxxxxx> Tested-by: Tony Lindgren <tony@xxxxxxxxxxx>