Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2033257pxk; Mon, 14 Sep 2020 03:01:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwahWNs6vDFAhVQ9Fe1Rzo4BqB3uDVQ00f4CYw0Nz1X0uXSvONE/5qX8iBH+WmWjcrD4I+J X-Received: by 2002:a17:906:2752:: with SMTP id a18mr962375ejd.350.1600077692714; Mon, 14 Sep 2020 03:01:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600077692; cv=none; d=google.com; s=arc-20160816; b=Yo57j31KS8XGZ9kzzgSAqr57mbYYmsSI8zRgm/kJHkm4FAlQl3mSzUAz+Bp5ZVBaS5 wkI86o/thrTW9AeRww6OQGOKkfirQNWAsRCkYVzJnFk7kKSjKaE74LZzbY2osyrVILiJ RjLZckWNDKUjw1NzDsyIdvmW05pAlZJbl0K/2QGmtKEUKvL5q6tAFkqwVay9wgGZJYMU 7ewII4buqehIdU3oDWmaJtWJOb/72h3QpzN8oe6A2VpIUtg62XpareHNsSILn9LcF41m FEt8Nm41Kw6Ch0cpGLHIWQUxXYfMF3j9yVPKCkwo2/tkc7LqOrIAhyUj6D7qxymZjcrE Ztwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature; bh=RMWWi08qE+zVDjsvs5PNkxLphO7CpEmaJmcY8F/dYqE=; b=bXEQiybXD4glaEKgoGmdyUzbw+vqbDYSoJ5PDUDpcK6HLk/dNZavNreuxY1D3ppmnk lMLDlnu99XvCQKdzqN6ooe1h9178lEZghAyPwvZbYmDNb4gWhdV57jdE2rZbG3PoekdK qufLt3PPgZAch4aOASRg2CX8YHH0BhOrRuaQ0oDvpNXoNFG0AU6Pjd211CHnnsdqWp2h KjADl9isIqNwHrzDRHdwMfL6lDfMNH6yi0BxWVtpPieYQHL1S7FpsFQxOF0myDIhDbhy 1XW5WWwWt7OWFLGUb6wzwNKMH/yr54x/FGnb62XuhYCQXt+W6R9PoBXOWCzIRWq0jyIa 244A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b="gmFsQ/8R"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u20si6970141ejz.602.2020.09.14.03.01.08; Mon, 14 Sep 2020 03:01:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b="gmFsQ/8R"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726343AbgINKAZ (ORCPT + 99 others); Mon, 14 Sep 2020 06:00:25 -0400 Received: from mail29.static.mailgun.info ([104.130.122.29]:46483 "EHLO mail29.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726302AbgINKAU (ORCPT ); Mon, 14 Sep 2020 06:00:20 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1600077620; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=RMWWi08qE+zVDjsvs5PNkxLphO7CpEmaJmcY8F/dYqE=; b=gmFsQ/8R+cA5wQ+j6stbSqLHS4/lhZW5fTi/j8b+GqJguyNN2tGFRA9IzqVtyDafdZvNNf7I xb80wKctooHFg9UhPz5hW9nkjLSHIVapLL6YGtgqu2mIyzxFyi0sqXRCybsJCHrS5bXoIeEM 0mL8L0VWImzpsScuV4cqCZX965k= X-Mailgun-Sending-Ip: 104.130.122.29 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n02.prod.us-west-2.postgun.com with SMTP id 5f5f3f167f21d51b30bc8938 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 14 Sep 2020 09:59:50 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id B8173C433FF; Mon, 14 Sep 2020 09:59:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, NICE_REPLY_A,SPF_FAIL,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.43.98] (unknown [47.8.187.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: akashast) by smtp.codeaurora.org (Postfix) with ESMTPSA id 62A9DC433CA; Mon, 14 Sep 2020 09:59:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 62A9DC433CA Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=akashast@codeaurora.org Subject: Re: [PATCH] tty: serial: qcom_geni_serial: 115.2 is a better console default than 9600 To: Douglas Anderson , Greg Kroah-Hartman Cc: Nick Desaulniers , robdclark@chromium.org, Nathan Chancellor , jwerner@chromium.org, Andy Gross , Bjorn Andersson , Jiri Slaby , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org References: <20200911080054.1.I4c00b921c2f17b6988688046fa7be0f729f8d591@changeid> From: Akash Asthana Message-ID: <981cfc91-035e-57cb-5972-e2a749adae98@codeaurora.org> Date: Mon, 14 Sep 2020 15:29:25 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20200911080054.1.I4c00b921c2f17b6988688046fa7be0f729f8d591@changeid> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/11/2020 8:30 PM, Douglas Anderson wrote: > Commit c5cbc78acf69 ("tty: serial: qcom_geni_serial: Initialize baud > in qcom_geni_console_setup") fixed a bug by initting a variable that > was used in some cases without initialization. However, the "default" > baud rate picked by that CL was probably not the best choice. The > chances that anyone out there is trying to run a system with kernel > messages piped out over a 9600 baud serial port is just about nil. > Console messages are printed in a blocking manner. At 9600 baud we > print about 1 character per millisecond which means that printing a > 40-byte message to the console will take ~40 ms. While it would > probably work, it's going to make boot _very_ slow and probably cause > the occasional timeout here and there in drivers (heck, even at 115200 > console delays can wreck havoc). > > This has already bit at least two people that I'm aware of that tried > to enable serial console by just adding "console=ttyMSM0" (instead of > "console=ttyMSM0,115200n8") to the command line, so it seems like it'd > be nice to fix. > > Let's switch the default to 115200. Reviewed-by: Akash Asthana > Signed-off-by: Douglas Anderson > --- > > -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,\na Linux Foundation Collaborative Project