Re: [PATCH v8 0/3] x86/earlyprintk: setup serial earlyprintk as early as possible

From: Alexander Kuleshov
Date: Wed May 27 2015 - 03:33:29 EST


Hello Borislav,

2015-05-27 3:34 GMT+06:00 Borislav Petkov <bp@xxxxxxx>:
> On Tue, May 26, 2015 at 08:11:07PM +0600, Alexander Kuleshov wrote:
>> It is not "just because we can". There is some code after kernel
>> decompression and before parse_early_param and earlyprintk can be
>> useful for printing debugging information in this case.
>
> Which code? Please show me.
>
> Because *that* would be a use case.

We can't use earlyprintk from the arch/x86/kernel/head{32,64}.c before
parse_early_param from the
arch/x86/kernel/setup.c. But I think you know it better than me. So I
can't understand what's wrong
here, maybe you will give me explanation. I'm very appricate it.

Thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/