Re: [PATCH v1 6/6] x86/boot: Support nocfg parameter for earlyprintk

2018-01-16 Thread Ingo Molnar
* Andy Shevchenko wrote: > On Tue, 2018-01-16 at 04:12 +0100, Ingo Molnar wrote: > > * Andy Shevchenko wrote: > > > > > @@ -133,12 +135,16 @@ static void parse_earlyprintk(void) > > > if (arg[pos] == ',') > > > pos++; > > > > > > - baud = simple_strtoull(a

Re: [PATCH v1 6/6] x86/boot: Support nocfg parameter for earlyprintk

2018-01-16 Thread Andy Shevchenko
On Tue, 2018-01-16 at 04:12 +0100, Ingo Molnar wrote: > * Andy Shevchenko wrote: > > > @@ -133,12 +135,16 @@ static void parse_earlyprintk(void) > > if (arg[pos] == ',') > > pos++; > > > > - baud = simple_strtoull(arg + pos, &e, 0); > > - if (

Re: [PATCH v1 6/6] x86/boot: Support nocfg parameter for earlyprintk

2018-01-15 Thread Ingo Molnar
* Andy Shevchenko wrote: > @@ -133,12 +135,16 @@ static void parse_earlyprintk(void) > if (arg[pos] == ',') > pos++; > > - baud = simple_strtoull(arg + pos, &e, 0); > - if (baud == 0 || arg + pos == e) > - baud = D

[PATCH v1 6/6] x86/boot: Support nocfg parameter for earlyprintk

2018-01-14 Thread Andy Shevchenko
If by BIOS or by other means serial port is configured user might want to skip reconfiguration in the boot code. Add support of 'nocfg' parameter to earlyprintk. Signed-off-by: Andy Shevchenko --- arch/x86/boot/early_serial_console.c | 31 +-- 1 file changed, 21 inse