From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753793AbbCGMpv (ORCPT ); Sat, 7 Mar 2015 07:45:51 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:45425 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753486AbbCGMpt (ORCPT ); Sat, 7 Mar 2015 07:45:49 -0500 Date: Sat, 7 Mar 2015 03:57:54 +0100 From: Greg Kroah-Hartman To: Peter Hurley Cc: Andrew Morton , Jiri Slaby , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Rob Herring Subject: Re: [PATCH v2 -next 03/13] console: Add extensible console matching Message-ID: <20150307025754.GA23812@kroah.com> References: <1425225958-17908-1-git-send-email-peter@hurleysoftware.com> <1425225958-17908-4-git-send-email-peter@hurleysoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1425225958-17908-4-git-send-email-peter@hurleysoftware.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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. thanks, greg k-h