[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251009-27aafc23cb2a92c1c9b324b2@orel>
Date: Thu, 9 Oct 2025 11:46:21 -0500
From: Andrew Jones <ajones@...tanamicro.com>
To: Yao Zihong <zihong.plct@...c.iscas.ac.cn>
Cc: linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
alexghiti@...osinc.com, shuah@...nel.org, samuel.holland@...ive.com, evan@...osinc.com,
cleger@...osinc.com, zihongyao@...look.com, zhangyin2018@...as.ac.cn,
Jonathan Corbet <corbet@....net>, Paul Walmsley <pjw@...nel.org>,
Palmer Dabbelt <palmer@...belt.com>, Albert Ou <aou@...s.berkeley.edu>,
Alexandre Ghiti <alex@...ti.fr>, Charlie Jenkins <charlie@...osinc.com>,
Cyan Yang <cyan.yang@...ive.com>, Jesse Taube <jesse@...osinc.com>,
Yunhui Cui <cuiyunhui@...edance.com>, Nam Cao <namcao@...utronix.de>,
"open list:DOCUMENTATION" <linux-doc@...r.kernel.org>
Subject: Re: [PATCH v2 3/4] docs: riscv: Document hwprobe for Zicbop
On Thu, Oct 09, 2025 at 09:41:53PM +0800, Yao Zihong wrote:
> Update hwprobe.rst to include documentation of the new
> :c:macro:`RISCV_HWPROBE_EXT_ZICBOP` and
> :c:macro:`RISCV_HWPROBE_KEY_ZICBOP_BLOCK_SIZE`, following the same
> style as the Zicbom and Zicboz entries.
>
> The extension bit records support for the Zicbop extension, and
> the block size key reports the block size in bytes.
>
> Signed-off-by: Yao Zihong <zihong.plct@...c.iscas.ac.cn>
> ---
> Documentation/arch/riscv/hwprobe.rst | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/arch/riscv/hwprobe.rst b/Documentation/arch/riscv/hwprobe.rst
> index 2f449c9b15bd..3b9c9d7e1409 100644
> --- a/Documentation/arch/riscv/hwprobe.rst
> +++ b/Documentation/arch/riscv/hwprobe.rst
> @@ -275,6 +275,9 @@ The following keys are defined:
> ratified in commit 49f49c842ff9 ("Update to Rafified state") of
> riscv-zabha.
>
> + * :c:macro:`RISCV_HWPROBE_EXT_ZICBOP`: The Zicbop extension is supported, as
> + ratified in commit 3dd606f ("Create cmobase-v1.0.pdf") of riscv-CMOs.
> +
> * :c:macro:`RISCV_HWPROBE_KEY_CPUPERF_0`: Deprecated. Returns similar values to
> :c:macro:`RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF`, but the key was
> mistakenly classified as a bitmask rather than a value.
> @@ -369,4 +372,7 @@ The following keys are defined:
>
> * :c:macro:`RISCV_HWPROBE_VENDOR_EXT_XSFVFWMACCQQQ`: The Xsfvfwmaccqqq
> vendor extension is supported in version 1.0 of Matrix Multiply Accumulate
> - Instruction Extensions Specification.
> \ No newline at end of file
> + Instruction Extensions Specification.
> +
> +* :c:macro:`RISCV_HWPROBE_KEY_ZICBOP_BLOCK_SIZE`: An unsigned int which
> + represents the size of the Zicbop block in bytes.
> \ No newline at end of file
Please ensure this file has a newline so the last line doesn't have
to change every time we add new keys.
Thanks,
drew
Powered by blists - more mailing lists