Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1392958ybt; Sat, 27 Jun 2020 07:02:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfJWGmjNTALyw4LgQbZq6pIaJuWQ6wZS1AjFzuyFAQz5d2Z9/Ir6UeBvh1UApzHsyTCptj X-Received: by 2002:a17:906:7212:: with SMTP id m18mr6706477ejk.29.1593266555519; Sat, 27 Jun 2020 07:02:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593266555; cv=none; d=google.com; s=arc-20160816; b=sAFAGv47aJVOdaqLuP2kTdoTMTXaHzyZBx1EjszkaHM42H3rmTEPHtR/G3fYlN4/M6 H76A85r9p9lLXmFADu0pNtJcCvcCJx0Es/JRnjNPDhSxV89ee9CFLqVUEq6rwVHRm+ly EnVEatr43h8BkCKpQLcxMTZGTiIod4k9UMBDcRWlQI4ZEh/VYVZI3gBlP5TzEEZSqmvT 4xFLT/2JfJ6koSNSEKWc/FVIROttfk5CGTkORZ2hKsQVdzRxUrkC54PIPK3oY1+87w5J RrFzzMi4lOmH9Z0MllzJfCebHvfcFCgUhjiC6ROkXMTPAXY3RkPFdGTuXB7nV3o4qpF4 pwgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=NAdxUkiPgpuxJtwVCfEq274KZRWLhDS3D/eynTdZSKo=; b=WOWDXR6kCiuVsN+I8xScSkQdMs99GSS+4GucxYdGqjBi3TppYWL2mlO1lFfyP6lweK dU+kUvfuq/FW33r+DQz/Kz60PelGXWv/iALXTawU+6eiOUq7tDi05srp6MUVieU/+vod juGvdNXVwL2f6K67MEHdmcF0Ud3nU52zAAQy07uljYnbvt1sdlRC265HqrJlGepTNT96 2g5T4Xax0NjIH1+TUldsJI+5fTz7W785cBsT67irJA3MT+QbG2LTAduZaYzROzypOMfo Nh4ZRGmMuQxCUkj31c2hSCcoohKX2NR9FO7aIApHJirycXogFxanINF2dHla9foJCpMw RMzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=W2q0O0Mh; 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 h5si10035973eji.26.2020.06.27.07.02.11; Sat, 27 Jun 2020 07:02:35 -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=pass header.i=@kernel.org header.s=default header.b=W2q0O0Mh; 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 S1726663AbgF0N77 (ORCPT + 99 others); Sat, 27 Jun 2020 09:59:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:58774 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725850AbgF0N77 (ORCPT ); Sat, 27 Jun 2020 09:59:59 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3AB0E21852; Sat, 27 Jun 2020 13:59:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593266398; bh=8p6ith1ME+sCnv+twqE6KzbdUe2pNu4IyonGeBoDCKY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=W2q0O0MhOlak7stnGPXyc73KOyI3qFPvhTbZSJplNQ90P5hUwIPNVLCfVESAPOuJ6 4/6bRKvEWijMkPkYikI7Wr5DB7D3Jul0kCcvBU4Sl0+A7jYslXkibZYrAtVjpd9O5g tkuz6kNxCTlxHH7ze9xVZ7nQkm6Q3YiEuTsmwKso= Date: Sat, 27 Jun 2020 15:59:51 +0200 From: Greg KH To: Douglas Anderson Cc: evgreen@chromium.org, daniel.thompson@linaro.org, akashast@codeaurora.org, swboyd@chromium.org, kgdb-bugreport@lists.sourceforge.net, linux-arm-msm@vger.kernel.org, sumit.garg@linaro.org, vivek.gautam@codeaurora.org, Andy Gross , Bjorn Andersson , Jiri Slaby , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH 0/2] serial: qcom_geni_serial: Use the FIFOs properly for console Message-ID: <20200627135951.GA1901451@kroah.com> References: <20200626200033.1528052-1-dianders@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200626200033.1528052-1-dianders@chromium.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 26, 2020 at 01:00:31PM -0700, Douglas Anderson wrote: > This series of two patches gets rid of some ugly hacks that were in > the qcom_geni_serial driver around dealing with a port that was used > for console output and dealing with a port that was being used for > kgdb. > > While the character reading/writing code is now slightly more complex, > it's better to be consistently configuring the serial port the same > way and doing so avoids some corner cases where the old hacks weren't > always catching properly. > > This change is slightly larger than it needs to be because I was > trying not to use global variables in the read/write functions. > Unfortunately the functions were sometimes called earlycon which > didn't have any "private_data" pointer set. I've tried to do the > minimal change here to have some shared "private_data" that's always > present, but longer term it wouldn't hurt to see if we could unify > more. > > Greg / Andy / Bjorn: > > This series of patches is atop the current Qualcomm tree to avoid > conflicts. Assuming it looks OK, presumably the best way for it to > land would be to get an Ack from Greg and then Bjorn or Andy could > land it. Acked-by: Greg Kroah-Hartman