Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2854208ybh; Mon, 16 Mar 2020 10:59:35 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsHdgx/+SCBzAWmxhJMXJdFcsiu+AY+dVMZpbxZj4YnOzrL6fKveuOmNF+4mz9OBrQ9InWr X-Received: by 2002:aca:5041:: with SMTP id e62mr509295oib.146.1584381575388; Mon, 16 Mar 2020 10:59:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584381575; cv=none; d=google.com; s=arc-20160816; b=iHJtlp/mlZfagTSSuj1XfvKvTYpGxrajTYHyzsNtfFR6Aoim9cCrU3NJ8V/2Qi7dY5 gt1QEODJ290nnpCMOuE/0F0z57f1DtayJwY62HTv7LrWwy4tdPDc/0zoBoKgQn2PhP9I 2eFoDf2hPLkdMm/He4RnP2W+xmV2YYzgNcGVeXdNoGlx6oWlbEgymbMzUYFRpq7sluEO 3PlL95TDwGCjGeKZWJmeCC8CHQ8UZRJUd7VKBs4bmMjeRiMdFhyoQW2Z+YvJg3E8OjpW v1dKEkTAbZLtAZkdj5C4NxbcN9HQpBFTJtf7rfQwCW+LrvNFxMzvCgmy/uJ/xgZWbMTM GrFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:date:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=qzjhnEh9awmU+RBLsPJfUtIGXyo+sxpVoHpWwJojqHM=; b=KSb/PgulMlqpjS3VebqnM+CoQuqGOWfAY+0oxUsvKgvswVjQ5Su6jTPY8tL8N7Gle0 X7FXLdPetcDaSsr3fVXZudXFHjEsDha7Au3NBCAkNLRolf0tQ9UQFepRGvpdEn8N9ZBh mPnmvVvZtOUI3ZnoXQ1SLRQhGY3WSDkpYYj0bjojqrC5rD/JUvGuqqwTkqhZNVe0bpqq VRnH84zqEeW429eF+4Cz8On6HObOcWZuji0gucaXwQa48a+KZoAfSZGr4YDLCO05Zctf dBdx9yxF4fIzpwN6+Z0n4TgEQAgeYs+AMcIO0vlcIT0D0tpWymwEzP9CTO9c/qzdQFtx MDmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Mae18Uql; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l25si289637otb.234.2020.03.16.10.59.22; Mon, 16 Mar 2020 10:59:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Mae18Uql; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732260AbgCPR5o (ORCPT + 99 others); Mon, 16 Mar 2020 13:57:44 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:34045 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732056AbgCPR5o (ORCPT ); Mon, 16 Mar 2020 13:57:44 -0400 Received: by mail-pf1-f193.google.com with SMTP id 23so10388998pfj.1 for ; Mon, 16 Mar 2020 10:57:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:in-reply-to:references :subject:from:cc:to:date:message-id:user-agent; bh=qzjhnEh9awmU+RBLsPJfUtIGXyo+sxpVoHpWwJojqHM=; b=Mae18Uql7k0fuNuBwKeTa3aya4TlMJ8Bnb3SF8fYMzvl7LahzL0mNnpeGiy1V2F8JD HQhfDLVrqTKT4gth8nfzq7OSO/Gv5wdjtSjStu1wuHrp8a5N1aLG2CApAeqa0D8Dn+8m b+YIGkqGOscsoP/NXEHOkLgLYwXqO0OIUARrI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding :in-reply-to:references:subject:from:cc:to:date:message-id :user-agent; bh=qzjhnEh9awmU+RBLsPJfUtIGXyo+sxpVoHpWwJojqHM=; b=SRcuaNBU3BaIjLzBhJbt2DpiUFULyYVY2QdrzUJEAXKGf840FWDgLRh/76GbYcdonK qrhK0izKWP9CPQfX76Q6i321imsCAMrPYl2XiJyVthSYWGefcHNwyikbOE+gz6HZY0QB cGKe6KXCF1fhf5NSt2fCnr+GeIdhVVKvjtch9fVKn10+B1XueKRFcK+bMnRhaR9OT9b2 IeGr4EXMIDKN6qIrRMsC+ISFma3czGLwZOFbJzC4UkAz/yKPBbU/6r1jOkW1fXsiYI/O 46KV2vWxkOf6AL6xljvEgbvXecCpc2tUjNiKkgQLHiFwIVPeIm8pyE9MXJmzAf/rhB5H BMtw== X-Gm-Message-State: ANhLgQ2JX+x50Jq2u8hWrnLLAa8IldhOjuQpELQpO5RCbypWwDFNDwDm IFkVrpobJBUqffMlCJznUVAoGw== X-Received: by 2002:a63:ce42:: with SMTP id r2mr1071355pgi.106.1584381462395; Mon, 16 Mar 2020 10:57:42 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id r8sm423697pjo.22.2020.03.16.10.57.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2020 10:57:41 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20200313134635.2.I3648fac6c98b887742934146ac2729ecb7232eb1@changeid> References: <20200313134635.1.Icf54c533065306b02b880c46dfd401d8db34e213@changeid> <20200313134635.2.I3648fac6c98b887742934146ac2729ecb7232eb1@changeid> Subject: Re: [PATCH 2/2] tty: serial: qcom_geni_serial: Don't try to manually disable the console From: Stephen Boyd Cc: mka@chromium.org, ryandcase@chromium.org, bjorn.andersson@linaro.org, akashast@codeaurora.org, skakit@codeaurora.org, rojay@codeaurora.org, mgautam@codeaurora.org, Douglas Anderson , Andy Gross , Doug Anderson , Girish Mahadevan , Jiri Slaby , Karthikeyan Ramasubramanian , Sagar Dharia , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org To: Douglas Anderson , gregkh@linuxfoundation.org Date: Mon, 16 Mar 2020 10:57:40 -0700 Message-ID: <158438146097.88485.15022185893506227094@swboyd.mtv.corp.google.com> User-Agent: alot/0.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Douglas Anderson (2020-03-13 13:46:52) > The geni serial driver's shutdown code had a special case to call > console_stop(). Grepping through the code, it was the only serial > driver doing something like this (the only other caller of > console_stop() was in serial_core.c). >=20 > As far as I can tell there's no reason to call console_stop() in the > geni code. ...and a good reason _not_ to call it. Specifically if > you have an agetty running on the same serial port as the console then > killing the agetty kills your console and if you start the agetty > again the console doesn't come back. >=20 > Fixes: c4f528795d1a ("tty: serial: msm_geni_serial: Add serial driver sup= port for GENI based QUP") > Signed-off-by: Douglas Anderson > --- Reviewed-by: Stephen Boyd