From: Jonathan Corbet <corbet@lwn.net>
To: "Alexandre Ghiti" <alexghiti@rivosinc.com>,
"Paul Walmsley" <paul.walmsley@sifive.com>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
"Albert Ou" <aou@eecs.berkeley.edu>,
"Björn Töpel" <bjorn@rivosinc.com>,
"Andrew Jones" <ajones@ventanamicro.com>,
"Conor Dooley" <conor.dooley@microchip.com>,
"Sunil V L" <sunilvl@ventanamicro.com>,
"Song Shuai" <songshuaishuai@tinylab.org>,
linux-doc@vger.kernel.org, linux-riscv@lists.infradead.org,
linux-kernel@vger.kernel.org
Cc: Alexandre Ghiti <alexghiti@rivosinc.com>,
Palmer Dabbelt <palmer@rivosinc.com>
Subject: Re: [PATCH v3 2/3] Documentation: riscv: Add early boot document
Date: Fri, 23 Jun 2023 07:44:43 -0600 [thread overview]
Message-ID: <87o7l6mgxg.fsf@meer.lwn.net> (raw)
In-Reply-To: <20230623095547.51881-2-alexghiti@rivosinc.com>
Alexandre Ghiti <alexghiti@rivosinc.com> writes:
> This document describes the constraints and requirements of the early
> boot process in a RISC-V kernel.
Some quick comments...
> +The RISC-V kernel expects:
> +
> + * `$a0` to contain the hartid of the current core.
> + * `$a1` to contain the address of the devicetree in memory.
Single `backtick` quotes are probably not doing what you want. If
you're looking for it to render in a monospace font, use ``double``
quotes instead. But I'd also encourage you to keep that to a minimum to
avoid overly cluttering the plain-text document.
[...]
> +Virtual mapping installation
> +----------------------------
> +
> +The installation of the virtual mapping is done in 2 steps in the RISC-V kernel:
> +
> +1. :c:func:`setup_vm` installs a temporary kernel mapping in
Please don't use :c:func:. If you just write setup_vm(), all the right
magic will happen.
> + :c:var:`early_pg_dir` which allows discovery of the system memory. Only the
We also really just don't use :c:var: at all. Kerneldoc doesn't
currently know about global variables...perhaps it should but that's not
the way of things now.
Thanks,
jon
next prev parent reply other threads:[~2023-06-23 13:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-23 9:55 [PATCH v3 1/3] Documentation: arm: Add bootargs to the table of added DT parameters Alexandre Ghiti
2023-06-23 9:55 ` [PATCH v3 2/3] Documentation: riscv: Add early boot document Alexandre Ghiti
2023-06-23 13:44 ` Jonathan Corbet [this message]
2023-06-25 8:31 ` Alexandre Ghiti
2023-06-25 20:39 ` Jonathan Corbet
2023-06-26 14:32 ` Alexandre Ghiti
2023-06-23 19:12 ` Atish Patra
2023-06-24 0:26 ` kernel test robot
2023-06-25 2:33 ` Song Shuai
2023-06-23 9:55 ` [PATCH v3 3/3] Documentation: riscv: Update boot image header since EFI stub is supported Alexandre Ghiti
2023-06-23 19:01 ` [PATCH v3 1/3] Documentation: arm: Add bootargs to the table of added DT parameters Atish Patra
2023-06-25 2:34 ` Song Shuai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o7l6mgxg.fsf@meer.lwn.net \
--to=corbet@lwn.net \
--cc=ajones@ventanamicro.com \
--cc=alexghiti@rivosinc.com \
--cc=aou@eecs.berkeley.edu \
--cc=bjorn@rivosinc.com \
--cc=conor.dooley@microchip.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=palmer@rivosinc.com \
--cc=paul.walmsley@sifive.com \
--cc=songshuaishuai@tinylab.org \
--cc=sunilvl@ventanamicro.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox