Re: [PATCH] fix system_state checking in early_ioremap

2017-12-02 Thread Dave Young
On 12/02/17 at 11:34am, Dave Young wrote: > Since below commit earlyprintk=efi,keep does not work any more with a warning > in mm/early_ioremap.c: WARN_ON(system_state >= SYSTEM_RUNNING): Should be WARN_ON(system_state != SYSTEM_BOOTING) in original code, copy paste wrongly, if need a resend pleas

[PATCH] fix system_state checking in early_ioremap

2017-12-01 Thread Dave Young
Since below commit earlyprintk=efi,keep does not work any more with a warning in mm/early_ioremap.c: WARN_ON(system_state >= SYSTEM_RUNNING): commit 69a78ff226fe ("init: Introduce SYSTEM_SCHEDULING state") Reason is the the original assumption is SYSTEM_BOOTING equal to system_state < SYSTEM_RUNNI