Re: [PATCH v2] console: Add console=auto option

2018-08-29 Thread Prarit Bhargava
On 08/17/2018 08:57 AM, Petr Mladek wrote: > On Fri 2018-08-17 07:06:56, Prarit Bhargava wrote: >> On 08/17/2018 06:50 AM, Sergey Senozhatsky wrote: Like I mentioned to Petr, I'd like to know if you (or anyone else) has strong feelings about changing the behaviour of earlycon on

Re: [PATCH v2] console: Add console=auto option

2018-08-17 Thread Petr Mladek
On Fri 2018-08-17 07:06:56, Prarit Bhargava wrote: > On 08/17/2018 06:50 AM, Sergey Senozhatsky wrote: > >> Like I mentioned to Petr, I'd like to know if you (or anyone else) has > >> strong > >> feelings about changing the behaviour of earlycon on x86? I could make it > >> so > >> that specifyi

Re: [PATCH v2] console: Add console=auto option

2018-08-17 Thread Prarit Bhargava
On 08/17/2018 06:50 AM, Sergey Senozhatsky wrote: > Hello, > > Cc-ing Peter Zijlstra > > lkml.kernel.org/r/728a8e68-ea4b-4040-a0fc-217df4f19...@redhat.com > lkml.kernel.org/r/20180817081947.m425gok2ugt7t...@pathway.suse.cz > lkml.kernel.org/r/00c60dca-60bc-8568-eaa3-d4b0c326c...@redhat.c

Re: [PATCH v2] console: Add console=auto option

2018-08-17 Thread Sergey Senozhatsky
Hello, Cc-ing Peter Zijlstra lkml.kernel.org/r/728a8e68-ea4b-4040-a0fc-217df4f19...@redhat.com lkml.kernel.org/r/20180817081947.m425gok2ugt7t...@pathway.suse.cz lkml.kernel.org/r/00c60dca-60bc-8568-eaa3-d4b0c326c...@redhat.com On (08/17/18 06:36), Prarit Bhargava wrote: > On 08/17/2018 05:

Re: [PATCH v2] console: Add console=auto option

2018-08-17 Thread Prarit Bhargava
On 08/17/2018 05:38 AM, Sergey Senozhatsky wrote: > On (08/16/18 13:39), Prarit Bhargava wrote: >> >> +auto[X86] Enable ACPI SPCR console > > And arm64? Hi Sergey, on arm64 if an SPCR is present the early console and console are i

Re: [PATCH v2] console: Add console=auto option

2018-08-17 Thread Prarit Bhargava
On 08/17/2018 04:19 AM, Petr Mladek wrote: > On Thu 2018-08-16 13:39:01, Prarit Bhargava wrote: >> ACPI may contain an SPCR table that defines a default system console. >> On ARM if the table is present then the SPCR console is enabled by default. >> On x86 the SPCR console is used if 'earlycon'

Re: [PATCH v2] console: Add console=auto option

2018-08-17 Thread Sergey Senozhatsky
On (08/16/18 13:39), Prarit Bhargava wrote: > > + auto[X86] Enable ACPI SPCR console And arm64? Any chance we can rename param to "spcr" or something more clear? To explicitly state what exactly it's going to do. `auto' sounds t

Re: [PATCH v2] console: Add console=auto option

2018-08-17 Thread Petr Mladek
On Thu 2018-08-16 13:39:01, Prarit Bhargava wrote: > ACPI may contain an SPCR table that defines a default system console. > On ARM if the table is present then the SPCR console is enabled by default. > On x86 the SPCR console is used if 'earlycon' (no parameters) is > specified as a kernel paramet