Re: [PATCH 2/3] early_printk: Add force_early_printk kernel parameter

From: Peter Zijlstra
Date: Fri Oct 13 2017 - 09:20:33 EST


On Fri, Oct 13, 2017 at 03:06:09PM +0200, Petr Mladek wrote:

> Or we should call early_printk() from printk() also when
> PRINTK is disabled.

This.

> > Do you mean if someone were to toggle force_early_printk at runtime?
>
> Or that someone unregisters the early console.

That's broken anyway, nor do I think anybody does that, early_printk is
a set once never touch kinda thing.