Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752379AbbDBCFA (ORCPT ); Wed, 1 Apr 2015 22:05:00 -0400 Received: from mail-ie0-f176.google.com ([209.85.223.176]:34602 "EHLO mail-ie0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751379AbbDBCE4 (ORCPT ); Wed, 1 Apr 2015 22:04:56 -0400 MIME-Version: 1.0 In-Reply-To: <1425932842-21812-12-git-send-email-peter@hurleysoftware.com> References: <1425932842-21812-1-git-send-email-peter@hurleysoftware.com> <1425932842-21812-12-git-send-email-peter@hurleysoftware.com> Date: Wed, 1 Apr 2015 19:04:55 -0700 X-Google-Sender-Auth: hNZAtcvkh3wSMl-YM1V2QPA6C_c Message-ID: Subject: Re: [PATCH v3 -next 11/11] serial: 8250_early: Remove setup_early_serial8250_console() From: Yinghai Lu To: Peter Hurley , Greg Kroah-Hartman , Andrew Morton Cc: Jiri Slaby , Rob Herring , Linux Kernel Mailing List , "linux-serial@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2006 Lines: 55 On Mon, Mar 9, 2015 at 1:27 PM, Peter Hurley wrote: > setup_earlycon() will now match and register the desired earlycon > from the param string (as if 'earlycon=...' had been set on the > command line). Use setup_earlycon() from existing arch call sites > which start an earlycon directly. > Hi, Looks like this patcheset cause regression: when set grub console to 115200, and later kernel only have console=uart8250,io,0x3f8 the kernel will revert baud rate to 9600 instead of keeping 115200. in setup_earlycon: you say: * Registers the earlycon console matching the earlycon specified * in the param string @buf. Acceptable param strings are of the form * ,io|mmio|mmio32,, * ,0x, * , * * * Only for the third form does the earlycon setup() method receive the * string in the 'options' parameter; all other forms set * the parameter to NULL. so that change the old behavior that we defined in Documentation/kernel-parameters.txt uart[8250],io,[,options] uart[8250],mmio,[,options] uart[8250],mmio32,[,options] Start an early, polled-mode console on the 8250/16550 UART at the specified I/O port or MMIO address. MMIO inter-register address stride is either 8-bit (mmio) or 32-bit (mmio32). The options are the same as for ttyS, above. The old behavior: options is optional , and will use baud rate that is set by bootloader. Please fix the problem and restore to old behavior. Thanks Yinghai -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/