Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp552098ybp; Tue, 8 Oct 2019 23:57:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqyF9A/Dj68g/TvcoYcTZUW0UVXNAx6W+R93FBik6KbydPnbcG/BKKEo/1tjQbDx5RnuuAjO X-Received: by 2002:a05:6402:21c7:: with SMTP id bi7mr1556139edb.205.1570604260069; Tue, 08 Oct 2019 23:57:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570604260; cv=none; d=google.com; s=arc-20160816; b=x8o1bPfSS7/92bXcfhDKhaMzjTtgh2fzY6u9q07uOomkue7gTSDsnmUdsu7SsXu+j9 QPrBfhSx8VIT631n6enFagLcbftp/MZgRTdBYeeu7Al0DU5fPAM5NL0Xg2uJTeX0LEm9 hE4q71wqQVVKfSjeUv8t5FZOH9NzlzPdoNioWkm6ZYfongP/UOIuzp9s/cWELS4gD3KP pgRpnuF5/y4K2Nge7S/43aCaCpbt4Gs4gCTsBgA6INT1EO35LN7xZVtcZf0xptWvyn/3 qkQV67j9ZRzB5zNaHSEqytVgliluaN6UGkss0gfvX0Y7r4mdbtGedyXm2HwHBknwOR9i 7LKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=PU6pSC4rpDZQ3hpvHq0TdAZIyHq1I2BJFZ45k90UauQ=; b=OkjM6uIAOGUV0/LFaSW5oq+f6Elxc6PNOkQzcqq7AH3lFxde26PrDu/vvYTLB5heid xn4I0II/mTkDqmAknwOMwBdSdyZ2J5ZRk9kTY1CZ9HWar7n56nnjE8/Y9YxdaI6CA4wQ Mjj3Fo7OWFc7wJtt+DK4xxSnnbu3v3TwnDazfF+sE+Am3R9H/4EqmHFN3EDfiaW9hHO4 5REdq3SMncJXyvjSzM1mknTB5/Ndh49AziOcxbYW7cxlM/e3dad/ZdoxIoLmzwb9XsH8 mGPOwAzZ1xyVyIbS8mM0WJRMsKlp3Hy63TVzvoG5tUI4FgHCXGCxqgaZADSMuakokGRa xQLQ== 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 i23si738977edr.191.2019.10.08.23.57.16; Tue, 08 Oct 2019 23:57:40 -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 S1727219AbfJIG4n (ORCPT + 99 others); Wed, 9 Oct 2019 02:56:43 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:43442 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725776AbfJIG4n (ORCPT ); Wed, 9 Oct 2019 02:56:43 -0400 Received: by mail-oi1-f193.google.com with SMTP id t84so842680oih.10; Tue, 08 Oct 2019 23:56:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PU6pSC4rpDZQ3hpvHq0TdAZIyHq1I2BJFZ45k90UauQ=; b=aXGk+zTTZtNhTOqe5hG6l45X8ZAGAMnHpjwy2jCFfY7F+cOuD+spDH591CGuMRun35 1o+hnr0KF7OM1BJTLX9TMyqJ7Rqr2/mBVqPhv9sTPMbtTA+rIZCrL+O9ZFxAbtU1O6Bc uL87Tf9HAwuq+k0eKbnhHX2hGCPJndBSKt/wdqEmJCssFFaWtvN4OVuBaqHQwCfWAhb0 9zQtin41/iNwxhHM8ttgrSQ4ePKciHhWPQXwO1vzSSJXJMgQfkQfo0HnLEEcGZKEIAbv weUNEnafcauv1WcgirUTy6HtMC74BUo8C7KREbaCreo2gm70qfQy+v7S8G0v+G3sB+R6 7Niw== X-Gm-Message-State: APjAAAUJNeQ9B8/5QGzZgF6BM5jj6nQ8YV866qNsx5JCNgQOKkKZbWny T6dy8eFLv1FsJAW2QxP8IbY4nXDpSFDnoW3z/NM= X-Received: by 2002:a05:6808:3b4:: with SMTP id n20mr1049904oie.131.1570604200276; Tue, 08 Oct 2019 23:56:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Geert Uytterhoeven Date: Wed, 9 Oct 2019 08:56:29 +0200 Message-ID: Subject: Re: [PATCH] Documentation: admin-guide: add earlycon documentation for the sifive serial driver To: Paul Walmsley Cc: Jonathan Corbet , "open list:DOCUMENTATION" , Linux Kernel Mailing List , "open list:SERIAL DRIVERS" , Andreas Schwab , Christoph Hellwig Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Paul, On Wed, Oct 9, 2019 at 1:09 AM Paul Walmsley wrote: > Document earlycon usage for the SiFive serial port driver in the same > fashion as for the other serial port IP blocks, since the SiFive > serial port driver supports it. > > Signed-off-by: Paul Walmsley > Reported-by: Andreas Schwab > Cc: Christoph Hellwig Thanks for your patch! Why do you need this? I believe risc-v is DT-only, so if chosen/stdout-path is set up, just passing "earlycon" (without any options) should work. > --- > Documentation/admin-guide/kernel-parameters.txt | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > index c7ac2f3ac99f..90becb00221b 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -1106,6 +1106,12 @@ > address must be provided, and the serial port must > already be setup and configured. > > + sifive, > + Start an early, polled-mode console on a SiFive > + serial port at the specified address. The port must > + already be setup and configured. Options are not > + yet supported. > + > earlyprintk= [X86,SH,ARM,M68k,S390] > earlyprintk=vga > earlyprintk=sclp Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds