Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3095429ybz; Mon, 27 Apr 2020 09:52:50 -0700 (PDT) X-Google-Smtp-Source: APiQypKb7Vx9yVY1Xjt3WN9/Bz1AVKIMTq1QXUFXSlN0GOulPuq/aC4aabFSbwUUcImJ0ZbTjusW X-Received: by 2002:a50:bb07:: with SMTP id y7mr19110217ede.358.1588006370409; Mon, 27 Apr 2020 09:52:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588006370; cv=none; d=google.com; s=arc-20160816; b=jcC6jopi1RZVOPYhOS6XNQuE9cOn323iROEk4ZQlj84CKwkz9uElm9euVjMSGFislF 22ePf5qfqaYQP2kGMGK8q2LC86P3EwaRXP2cA7dWw3seYpjbpPJ6UlOK7nKoSdevg1bW Ot6F1/+2NTjSMqTe/ayi9korjbSOqyy9Z+g3lA6qeG+i7z34/NsNTUhYSJXK8RNCMUhZ D56SV0p7gJJEBtz7YlYkc6gv3i9vG/KLXFblkTOabvJx7ZhC9mVTigCL1AiDv8BqIRFg Rr7e0lhTKSMPqDRavz1zZafAOOPXLCNZPfAqKQjOx/ZAkOjmhRUJnCDBy2piqKA763R0 HCCQ== 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=iaoxedZxnXT61na9+8gBwfFrGXWaoAZVnNqVew8CicM=; b=u8710keRtIsPc6YHEw7m3GDDclCblxBcd2xsxBtgrn2vunDjF2q1CHx0VHDBcnUg3J sbWtRLBvINlziKmjRN93xo3cayji5tk39lKfrmT2CcT20J7OGsP8UKTtZOITW98vP9U7 QV9wZXkMB7drB46Ay8bJZ+icHOVXNexexqdMqOLEw0de2wtyBB9GnB0nqSj+3FXC1sG1 hH09A2HGEQmO6o1l5K/GQAe+18asFtzYQIiaQsJhPigHugv0opf8lnV4QiQD7ctNDCZ1 N4rTJNhFW1r0MJNTJoiyIcTHKXQ47PRkjYBAm2Wf9opRZONfwDDVj809bR5A+IYJclLC g6Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DBq0MwYm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p13si84863ejb.235.2020.04.27.09.52.25; Mon, 27 Apr 2020 09:52:50 -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=@linaro.org header.s=google header.b=DBq0MwYm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726386AbgD0QuS (ORCPT + 99 others); Mon, 27 Apr 2020 12:50:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726355AbgD0QuR (ORCPT ); Mon, 27 Apr 2020 12:50:17 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA197C03C1A7 for ; Mon, 27 Apr 2020 09:50:16 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id z6so398660wml.2 for ; Mon, 27 Apr 2020 09:50:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=iaoxedZxnXT61na9+8gBwfFrGXWaoAZVnNqVew8CicM=; b=DBq0MwYm3T2upLNWVYRbzSBKmNIaSmK7ljQkEE1/W/CM09rU0ZjpzInA+LsmKDA2Oy xEMR/LAtw14xIHXftGb3u/7siF/KTUUL2mBtbQ9AwJwMdJmcQ0U2v58CNawZXYgaGW1R tyHVahfQ6VozcsVMImFLPLoEUgAknBq1fdn5BVCEKsxt3XD10fZEwTnj9YU5yVu5CdS2 BTRwpEBnz/Ni++2BKyY05SdGTfbWPqsOsXuyzp+oVytDkPY7b8aT8r1FZR63Lj8oQ7uz sbDyOED/LFJx1eBGJt8zlAV+nRr7g011JzhujAn/JnFv9+yH5KO37wNfabh+5LXx8naa Lp0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=iaoxedZxnXT61na9+8gBwfFrGXWaoAZVnNqVew8CicM=; b=h3dQR2jpUis2WnxdKO9w1zXXuAVh2PfBeCneUOHg0BwT5Xwm+0Jb8eFqY/w2uPlFF0 a/weO2cIbfaTj1YLOI9uzTPWPDGdjopu6shFNSkKZPMatbBuuySxSLeg5Tnt99gAPjsF K3cHr3+eRZNZQo9uURjISdjJuAK6CJTYK2mvawDvXcUmPou+3+wljxkznGr/Jeopotxr OQNRNw4+uNb6YgHxXEWiAoEuCZfOrtzHWCXY/E4Sn/CuFLeRT03BKfv7/uQIXTGGEiId OZTmyi026bF79jGSg6onB0ScyxvL5afLVApWNQ9oDFCD0rFQtfPChy9Gfj+riNFekW3Y 8vlg== X-Gm-Message-State: AGi0PuZjaPFDXlutZnaePjhFD3CQG1qoWrK/5i66q5+FnimdvjrpsHNj mGj8sYat2MW5uyuDStGxH1QAlA== X-Received: by 2002:a7b:cc0e:: with SMTP id f14mr390337wmh.39.1588006215631; Mon, 27 Apr 2020 09:50:15 -0700 (PDT) Received: from holly.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.gmail.com with ESMTPSA id m14sm21580932wrs.76.2020.04.27.09.50.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Apr 2020 09:50:15 -0700 (PDT) Date: Mon, 27 Apr 2020 17:50:13 +0100 From: Daniel Thompson To: Douglas Anderson Cc: jason.wessel@windriver.com, gregkh@linuxfoundation.org, kgdb-bugreport@lists.sourceforge.net, mingo@redhat.com, hpa@zytor.com, bp@alien8.de, linux-serial@vger.kernel.org, agross@kernel.org, tglx@linutronix.de, frowand.list@gmail.com, bjorn.andersson@linaro.org, jslaby@suse.com, catalin.marinas@arm.com, corbet@lwn.net, will@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 9/9] serial: 8250_early: Support earlycon_kgdboc Message-ID: <20200427165013.yaikxelzilry3eaf@holly.lan> References: <20200421211447.193860-1-dianders@chromium.org> <20200421141234.v2.9.I8f668556c244776523320a95b09373a86eda11b7@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200421141234.v2.9.I8f668556c244776523320a95b09373a86eda11b7@changeid> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 21, 2020 at 02:14:47PM -0700, Douglas Anderson wrote: > Implement the read() function in the early console driver. With > recent kgdb patches this allows you to use kgdb to debug fairly early > into the system boot. > > We only bother implementing this if polling is enabled since kgdb > can't be enabled without that. > > Signed-off-by: Douglas Anderson Reviewed-by: Daniel Thompson