Re: [PATCH] x86,setup: add serial_console_port_base in boot_params

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric W. Biederman
Date: Saturday, July 31, 2010 - 7:42 pm

Yinghai Lu <yinghai@kernel.org> writes:


I am walking out the door, but this seems like nonsense to me.

The kexec console_serial option today is a debugging feature for
when you to debug the purgatory code.  Only once in a bluemoon
should it be useful, so I don't see why we would add it here.
The kexec purgatory is silent by default.

Further I don't see why we would add something to the zero page
when we have a perfectly good way to pass this information via
the kernel command line.  strstr and strtoul are trivial little
functions so I don't see why anything would need to parse anything
other than console= or early_printk=.  The difference in code size
is negligible.

This option in the zero page appears very fragile. There are a lot of
dimensions that we are skipping.  I admit we can detect most of them
by reading the serial port.  But we still have the assumption that the
serial port is an 8259 serial port in i/o space and not mmio space.

*runs out the door before another silly email comes*

Eric
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] x86,setup: add serial_console_port_base in boo ..., Eric W. Biederman, (Sat Jul 31, 7:42 pm)