All of lore.kernel.org
 help / color / mirror / Atom feed
* SPCR and default serial port
@ 2020-04-15  6:04 Herrenschmidt, Benjamin
  2020-04-17  3:29 ` Jon Masters
  0 siblings, 1 reply; 2+ messages in thread
From: Herrenschmidt, Benjamin @ 2020-04-15  6:04 UTC (permalink / raw)
  To: linux-kernel; +Cc: x86

Hi !

Today, arm64 allows the serial port specified in ACPI SPCR table to be
selected as a default console, but x86 doesn't (second argument to
acpi_parse_spcr).

I understand while we might have been worried of breaking existing
setups back then but should we re-think this, maybe via a CONFIG option
?

It makes a lot of sense to have firmware tell us which of the
potentially many serial port in a system is our active console, along
with its configuration...

This also shouldn't cause problem on systems that already specify a
console explicitly on the command line.

Any opinion ?

Cheers,
Ben.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: SPCR and default serial port
  2020-04-15  6:04 SPCR and default serial port Herrenschmidt, Benjamin
@ 2020-04-17  3:29 ` Jon Masters
  0 siblings, 0 replies; 2+ messages in thread
From: Jon Masters @ 2020-04-17  3:29 UTC (permalink / raw)
  To: Herrenschmidt, Benjamin, linux-kernel; +Cc: x86

On 4/15/20 2:04 AM, Herrenschmidt, Benjamin wrote:
> Hi !
> 
> Today, arm64 allows the serial port specified in ACPI SPCR table to be
> selected as a default console, but x86 doesn't (second argument to
> acpi_parse_spcr).
> 
> I understand while we might have been worried of breaking existing
> setups back then but should we re-think this, maybe via a CONFIG option
> ?
> 
> It makes a lot of sense to have firmware tell us which of the
> potentially many serial port in a system is our active console, along
> with its configuration...
> 
> This also shouldn't cause problem on systems that already specify a
> console explicitly on the command line.
> 
> Any opinion ?

I think it would be /great/ if x86 followed Arm. A config option would 
allow it to be easily ignored by those who don't want it, but you'll 
want to get data from e.g. distros on how many systems have weird BIOSes 
that provide a non-useful table today.

Jon.

-- 
Computer Architect

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-17  6:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-15  6:04 SPCR and default serial port Herrenschmidt, Benjamin
2020-04-17  3:29 ` Jon Masters

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.