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=-8.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 F1833ECE58C for ; Wed, 9 Oct 2019 19:53:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C184F20B7C for ; Wed, 9 Oct 2019 19:53:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=sifive.com header.i=@sifive.com header.b="PX03dNUv" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731748AbfJITxw (ORCPT ); Wed, 9 Oct 2019 15:53:52 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:38074 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730708AbfJITxw (ORCPT ); Wed, 9 Oct 2019 15:53:52 -0400 Received: by mail-io1-f67.google.com with SMTP id u8so7907738iom.5 for ; Wed, 09 Oct 2019 12:53:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:message-id:user-agent:mime-version; bh=H5oadYdtYiWqz6jIut7b8l+pt98Mf79JimwAWbyu918=; b=PX03dNUvlcc82iOKTuYOxdwvY1PLDPZlXvQFmpxrQgKDUU3BGA0Kg5rrOhBTmMngUS pFqxRqwL/ilOz9yU7Nzh67SdJN/YilXyBla7VcV8V2yDrCv8ELgB472QZZNYNheRzClr xANo+VYD2gt1c4vFA6OW0deW6I19Y58pwtNtaq2ndj1wgKIuVcufGnu4PZmVt0c/9cDW 04SDCA1BouCoaIhzkRlVydP7BljqEoqbzaSjgMokAiO/1h8bQTK5kPb5xAWIstgDs3am zVRa8Yc9S1KrXT0bovrY/vtTz0WS1jFsoOxBPj0u08TzEsUKSgEMrT0HEyW/SPRbsyym TBSQ== 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:user-agent :mime-version; bh=H5oadYdtYiWqz6jIut7b8l+pt98Mf79JimwAWbyu918=; b=fzyqqDutE+gWjWo1WWV+nf6A1BiIp/I4/FQPpsudqKXiyZrFMRZcCoQfGESXnwk86Z TORzVEZDOLzt/fhLLMW+22mtBX5goDlvLCKAGkbbYc9Gm/2ImJDmnM4csVGWfp8gJaVV qJbnswKJ89OdsCMNjRR52jp0rI2wZn8ymDvYfPxxftxxSM5A6KriZPnbb0WWZjoAilxm IcLp2lKjilWthObeU+sBWVkasAqSPXVSXHGCxnbL4c1q3OlXpg4SL07F7Zhvg9r2lgZd VxCcp1HljUFe3B0y1wHnwHDTkXzpRY+vUYzAQWBcIQOA//N6KsMrmJnTHUFzxNCgPCGR iRIg== X-Gm-Message-State: APjAAAXikxend0qOgTIqBWBQ/eJcMTXXAftcaTEK7puYFqqoMWR9awE4 N3sh1aoXuPYzE7FqOxlLFEJ0zg== X-Google-Smtp-Source: APXvYqxBWF80a/mKx1FkTcVxpurf65iP5tY1NfcOpVEx9+bKX9bhqeJX8QTsiaRG4IK0jOVBLqiNGg== X-Received: by 2002:a02:497:: with SMTP id 145mr5332312jab.10.1570650831466; Wed, 09 Oct 2019 12:53:51 -0700 (PDT) Received: from localhost (c-73-95-159-87.hsd1.co.comcast.net. [73.95.159.87]) by smtp.gmail.com with ESMTPSA id u124sm2253532ioe.63.2019.10.09.12.53.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2019 12:53:51 -0700 (PDT) Date: Wed, 9 Oct 2019 12:53:50 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Jonathan Corbet cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Geert Uytterhoeven , Christoph Hellwig , Andreas Schwab Subject: [PATCH] Documentation: admin-guide: add earlycon documentation for RISC-V Message-ID: User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kernels booting on RISC-V can specify "earlycon" with no options on the Linux command line, and the generic DT earlycon support will query the "chosen/stdout-path" property (if present) to determine which early console device to use. Document this appropriately in the admin-guide. Signed-off-by: Paul Walmsley Cc: Geert Uytterhoeven Cc: Christoph Hellwig Cc: Andreas Schwab --- Documentation/admin-guide/kernel-parameters.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index c7ac2f3ac99f..011fee969ece 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -990,6 +990,10 @@ [X86] When used with no options the early console is determined by the ACPI SPCR table. + [RISCV] When used with no options, the early + console is determined by the stdout-path + property in the device tree's chosen node. + cdns,[,options] Start an early, polled-mode console on a Cadence (xuartps) serial port at the specified address. Only -- 2.23.0