From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752723AbbDCACF (ORCPT ); Thu, 2 Apr 2015 20:02:05 -0400 Received: from mail-ie0-f177.google.com ([209.85.223.177]:33065 "EHLO mail-ie0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751335AbbDCACB (ORCPT ); Thu, 2 Apr 2015 20:02:01 -0400 MIME-Version: 1.0 In-Reply-To: References: <1425932842-21812-1-git-send-email-peter@hurleysoftware.com> <1425932842-21812-12-git-send-email-peter@hurleysoftware.com> <551CB5DF.1010108@hurleysoftware.com> <551D6EEA.6050704@hurleysoftware.com> Date: Thu, 2 Apr 2015 17:02:00 -0700 X-Google-Sender-Auth: F8xxaJ6m_4ySFCSAWTkO8XntgLc Message-ID: Subject: Re: [PATCH v3 -next 11/11] serial: 8250_early: Remove setup_early_serial8250_console() From: Yinghai Lu To: Peter Hurley Cc: Greg Kroah-Hartman , Andrew Morton , 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 On Thu, Apr 2, 2015 at 3:36 PM, Yinghai Lu wrote: > On Thu, Apr 2, 2015 at 3:12 PM, Yinghai Lu wrote: >> On Thu, Apr 2, 2015 at 10:23 AM, Yinghai Lu wrote: >>> On Thu, Apr 2, 2015 at 9:31 AM, Peter Hurley wrote: >>> >>>> Would you please try the patch below instead? >>>> >>> Great. that works, and less lines change than my version. >>> >> >> still have another problem. >> when using console=uart8250,io,0x3f8 >> it works as earlycon at first. >> but after handover to normal console >> it will revert back to 9600 again. > > this regression should be caused by: > > commit c7cef0a84912cab3c9df8949b034e4aa62982ec9 > Author: Peter Hurley > Date: Mon Mar 9 16:27:12 2015 -0400 > > console: Add extensible console matching current code will: for earlycon, will probe baud rate, and save it back to device->options. and later update the command line uart to ttyS, update the options with baud rate. And your change will not try to find the exact port to have baud rate. and just use command. So will have have that probed baud rate passed. Please check if you can fix this regression. Maybe you have to put back command line update code back. Thanks Yinghai