From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932469AbbJ0NxK (ORCPT ); Tue, 27 Oct 2015 09:53:10 -0400 Received: from mail-qk0-f172.google.com ([209.85.220.172]:34303 "EHLO mail-qk0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932360AbbJ0NxG (ORCPT ); Tue, 27 Oct 2015 09:53:06 -0400 Subject: Re: [PATCH v3] serial: support 16-bit register interface for console To: Masahiro Yamada , linux-serial@vger.kernel.org References: <1445832662-23250-1-git-send-email-yamada.masahiro@socionext.com> Cc: Sebastian Andrzej Siewior , Vineet Gupta , Rob Herring , Kevin Cernekee , linux-api@vger.kernel.org, Jiri Slaby , linux-doc@vger.kernel.org, Jonathan Corbet , linux-kernel@vger.kernel.org, Greg Kroah-Hartman From: Peter Hurley Message-ID: <562F81BE.3000502@hurleysoftware.com> Date: Tue, 27 Oct 2015 09:53:02 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1445832662-23250-1-git-send-email-yamada.masahiro@socionext.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Masahiro, On 10/26/2015 12:11 AM, Masahiro Yamada wrote: > Currently, 8-bit (MMIO) and 32-bit (MMIO32) register interfaces are > supported for the 8250 console, but the 16-bit (MMIO16) is not. > The 8250 UART device on my board is connected to a 16-bit bus > and my main motivation is to use earlycon with it. > (Refer to arch/arm/boot/dts/uniphier-support-card.dtsi) As I noted in reviewing v2, the patch hunk below does not apply. You must rebase your changes on top of Greg's tty-next tree. Regards, Peter Hurley > diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c > index 603d2cc..325acce 100644 > --- a/drivers/tty/serial/serial_core.c > +++ b/drivers/tty/serial/serial_core.c > @@ -1819,8 +1819,8 @@ uart_get_console(struct uart_port *ports, int nr, struct console *co) > * @options: ptr for field; NULL if not present (out) > * > * Decodes earlycon kernel command line parameters of the form > - * earlycon=,io|mmio|mmio32|mmio32be,, > - * console=,io|mmio|mmio32|mmio32be,, > + * earlycon=,io|mmio|mmio16|mmio32|mmio32be,, > + * console=,io|mmio|mmio16|mmio32|mmio32be,, > * > * The optional form > * earlycon=,0x,