Re: [Kgdb-bugreport] [PATCH printk v2 12/38] tty: serial: kgdboc: use console_is_enabled()

2022-10-21 Thread Petr Mladek via Kgdb-bugreport
On Wed 2022-10-19 17:01:34, John Ogness wrote: > Replace (console->flags & CON_ENABLED) usage with console_is_enabled(). > > Signed-off-by: John Ogness Reviewed-by: Petr Mladek Best Regards, Petr ___ Kgdb-bugreport mailing list Kgdb-bugreport@lists

Re: [Kgdb-bugreport] [PATCH printk v2 19/38] kdb: kdb_io: use console_is_enabled()

2022-10-21 Thread Petr Mladek via Kgdb-bugreport
On Wed 2022-10-19 17:01:41, John Ogness wrote: > Replace (console->flags & CON_ENABLED) usage with console_is_enabled(). > > Signed-off-by: John Ogness Reviewed-by: Petr Mladek Best Regards, Petr ___ Kgdb-bugreport mailing list Kgdb-bugreport@lists

Re: [Kgdb-bugreport] [PATCH printk v2 21/38] serial: kgdboc: use srcu console list iterator

2022-10-21 Thread Petr Mladek via Kgdb-bugreport
On Wed 2022-10-19 17:01:43, John Ogness wrote: > Use srcu console list iteration for safe console list traversal. > > Note that configure_kgdboc() still requires the console_lock in > order to ensure that no console is in its write() callback when > its direct() callback is called. Add comments to