Re: [PATCH v2 -next 03/13] console: Add extensible console matching

From: Peter Hurley
Date: Sat Mar 07 2015 - 08:00:38 EST


On 03/06/2015 09:57 PM, Greg Kroah-Hartman wrote:
> On Sun, Mar 01, 2015 at 11:05:48AM -0500, Peter Hurley wrote:
>> Add match() method to struct console which allows the console to
>> perform console command line matching instead of (or in addition to)
>> default console matching (ie., by fixed name and index).
>>
>> The match() method returns 0 to indicate a successful match; normal
>> console matching occurs if no match() method is defined or the
>> match() method returns non-zero. The match() method is expected to set
>> the console index if required.
>>
>> Re-implement earlycon-to-console-handoff with direct matching of
>> "console=uart|uart8250,..." to the 8250 ttyS console.
>>
>> Signed-off-by: Peter Hurley <peter@xxxxxxxxxxxxxxxxxx>
>> ---
>> drivers/tty/serial/8250/8250_core.c | 64 +++++++++++++++++++++++++++---------
>> drivers/tty/serial/8250/8250_early.c | 23 -------------
>> include/linux/console.h | 3 +-
>> include/linux/serial_8250.h | 2 --
>> kernel/printk/printk.c | 52 ++++++++++-------------------
>> 5 files changed, 67 insertions(+), 77 deletions(-)
>
> This didn't apply, so I've stopped here.

Hi Greg,

Your tty-testing branch doesn't have "console: Fix console name size mismatch"
that you added to tty-linus. I tried to draw attention to that in the series
cover letter:

On 03/01/2015 11:05 AM, Peter Hurley wrote:
> Changes from v1:
> * rebased on and requires "console: Fix console name size mismatch"

Regards,
Peter Hurley
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/