Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4415361ybe; Mon, 16 Sep 2019 11:51:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqx3etGvvppVsdn4sAS0lQvAHYb6RlEiqXVxmChLVoA2bbue7iUgPL65HGzm/I9bsGPwxqoq X-Received: by 2002:a50:a666:: with SMTP id d93mr731133edc.217.1568659893004; Mon, 16 Sep 2019 11:51:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568659892; cv=none; d=google.com; s=arc-20160816; b=L9qI93ossl9ATXzS2lC+EjhmPjJRLd2cKxqUbcdbVFyWoVnwOW8/62irHKwAsvsMny OJyiD37CKwUZeunr5ZDrcn+K7KwE+NhJo1c6914qiBasAAyXtkoI7Zb3A60p6ezWt1XN j9sdlyOuS9A2E8UyofMat3F1DiMmPo0DtsKyvUDgxFB/L2zTRUAaqkJWuqIehcwR3z7o VWAeOC/362yfB+vJGFBvl87Cp6/5fdVEAFPYmEalYloXhH21iT6BDXOHIkj8UKyhciuf ePqfQNjELE7Kv4RYsep1esoL/8THSBq+gnF2f8yaJjyG+UoB5nHG9rBqOsG+TgNL7jN4 KdZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=qPC5rEP6Mm9unwZ0fPZMNEyWHrQnCSPm+hjAN8sj38U=; b=rAvrjngj/EhbFpxzbwPPwXeJwKJHKX11ng8v0z00HTSM0XNqBIUrWbkrMWTafb7FP7 a5C0ks1ujvll6jnEhTG8Loj1cSW0LSeZfNKkIBSqJnMxz9KxVS8nhQ1ysr1cTJ5+UBqk rEO9Pj4th1GJtO2vvkwJC+LRCx2Z7El/D0BRAOVak5isAmeQHhzLWPXHFPdMGJz2VbpV lFDZMT0vLAQ86b7ufX+k1Vagctnn7OeaG1nMZxsOYj2n/yr0zKuxiCV4tjpomSlCfdTG Rn2TsxhqR+HGr1pC0M1ItE6SAH1pt6yWgLmhz4z0tyfqGaRhGuj4EJp09DNemWYqF1ic 62vA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z11si15405083ejm.28.2019.09.16.11.51.09; Mon, 16 Sep 2019 11:51:32 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732426AbfIPMWx (ORCPT + 99 others); Mon, 16 Sep 2019 08:22:53 -0400 Received: from verein.lst.de ([213.95.11.211]:44549 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727845AbfIPMWx (ORCPT ); Mon, 16 Sep 2019 08:22:53 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 90C2E68B05; Mon, 16 Sep 2019 14:22:49 +0200 (CEST) Date: Mon, 16 Sep 2019 14:22:49 +0200 From: Christoph Hellwig To: Paul Walmsley Cc: Andreas Schwab , Christoph Hellwig , gregkh@linuxfoundation.org, jslaby@suse.com, linux-serial@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] serial/sifive: select SERIAL_EARLYCON Message-ID: <20190916122249.GA30058@lst.de> References: <20190910055923.28384-1-hch@lst.de> <20190910070503.GA31743@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 16, 2019 at 05:18:57AM -0700, Paul Walmsley wrote: > I support Christoph's plan to add generic implicit earlycon support. I'm not planning to add it, it exist already. You just need a DT that sets the stdout node up properly, and a earlycon driver using OF_EARLYCON_DECLARE like the sifive uart driver. The DT here for example works perfectly fine: http://git.infradead.org/users/hch/riscv.git/commitdiff/f10e64873eafc68516b8884c06b9290b9887633b