Re: [PATCH printk 08/18] parisc: Put console abuse into one place
From: Petr Mladek
Date: Fri Sep 30 2022 - 03:54:55 EST
On Sat 2022-09-24 02:10:44, John Ogness wrote:
> From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
>
> PARISC has a hope based mechanism to restore consoles in case of a HPMC
> (machine check exception) which is scattered over several places.
>
> Move it into one place to make further changes simpler and add comments.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>
> Reviewed-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>
I agree that the mechanism is weird. A bit more safe approach would be
to just disable all consoles instead of unregistering them...
Anyway, the patch does not change the existing behavior:
Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>
Best Regards,
Petr