From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 49CF1C43381 for ; Mon, 25 Mar 2019 16:23:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1894220828 for ; Mon, 25 Mar 2019 16:23:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729590AbfCYQXU (ORCPT ); Mon, 25 Mar 2019 12:23:20 -0400 Received: from mx2.suse.de ([195.135.220.15]:42524 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727145AbfCYQXT (ORCPT ); Mon, 25 Mar 2019 12:23:19 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 67A98AF68; Mon, 25 Mar 2019 16:23:18 +0000 (UTC) From: Andreas Schwab To: Anup Patel Cc: Greg Kroah-Hartman , Jiri Slaby , Palmer Dabbelt , Albert Ou , Atish Patra , Christoph Hellwig , Rob Herring , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH 0/3] RISC-V SBI earlycon References: <20181204135507.3706-1-anup@brainfault.org> X-Yow: Here we are in America... when do we collect unemployment? Date: Mon, 25 Mar 2019 17:23:15 +0100 In-Reply-To: <20181204135507.3706-1-anup@brainfault.org> (Anup Patel's message of "Tue, 4 Dec 2018 19:25:04 +0530") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Dez 04 2018, Anup Patel wrote: > This patchset adds RISC-V SBI earlycon and removes RISC-V EARLY_PRINTK. > > We should use earlycon over existing EARLY_PRINTK for SBI console because: > 1. It's a more generic way of implementing early console for debugging > 2. Current RISC-V EARLY_PRINTK is a compile-time option whereas earlycon > is enabled at run-time via kernel parameters. > 3. To use earlycon with SBI, we have to pass "earlycon=sbi" in kernel > parameters. If earlycon kernel parameter is not provided then kernel > boots much faster which is very useful in real-world RISC-V deployments. Why doesn't this earlycon disable itself when the real console kicks in? Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."