Re: [RFC PATCH v2 0/3] Prefer working VT console over SPCR and device-tree chosen stdout-path

From: Sergey Senozhatsky
Date: Thu Apr 30 2020 - 21:30:56 EST


On (20/04/30 19:14), Alper Nebi Yasak wrote:
> | "console=tty0" | (no console arg) |
> ------------------+-----------------------+-----------------------+
> QEMU VM | tty0 -WU (EC p ) | ttyAMA0 -W- (EC a) |
> (w/ SPCR) | ttyAMA0 -W- (E a) | |
> ------------------+-----------------------+-----------------------+
> Chromebook Plus | tty0 -WU (EC p ) | ttyS2 -W- (EC p a) |
> (w/ stdout-path) | | tty0 -WU (E ) |
> ------------------+-----------------------+-----------------------+
> Chromebook Plus | tty0 -WU (EC p ) | tty0 -WU (EC p ) |
> (w/o either) | | |
> ------------------+-----------------------+-----------------------+
>
> This patchset tries to ensure that VT is preferred in those conditions
> even in the presence of firmware-mandated serial consoles. These should
> cleanly apply onto next-20200430.

Well, if there is a "mandated console", then why would we prefer
any other console?

-ss