Re: [PATCH] ignore ,keep for efi earlyprintk

Ingo Molnar
2014-04-24T10:45:51Z

* Dave Young <dyoung@redhat.com> wrote:

> earlyprint=efi,keep results a kernel hang after "Freeing unused kernel memory"

That's a bug.

>
> Actually efi earlyprintk is using __init functions such as early_ioremap etc.
> Thus efi earlyconsole can not be kept.
>
> So just ignore it and give out a warning to user.

So, bugs should be fixed, not worked around.

earlyprintk=,keep is really useful for the occasional difficult low
level bug in the printk code or similar, because earlyprintk is a
completely separate code path from printk().

Thanks,

Ingo