[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <225371b9-d653-f79f-4af7-26f0c1eaddf1@kernel.org>
Date: Mon, 5 Jan 2026 17:43:53 -0700 (MST)
From: Paul Walmsley <pjw@...nel.org>
To: Guodong Xu <guodong@...cstar.com>
cc: Paul Walmsley <pjw@...nel.org>, Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>, Alexandre Ghiti <alex@...ti.fr>,
Conor Dooley <conor.dooley@...rochip.com>,
Clément Léger <cleger@...osinc.com>,
Evan Green <evan@...osinc.com>, Palmer Dabbelt <palmer@...osinc.com>,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] riscv: cpufeature: Fix Zk bundled extension missing
Zknh
On Tue, 23 Dec 2025, Guodong Xu wrote:
> The Zk extension is a bundle consisting of Zkn, Zkr, and Zkt. The Zkn
> extension itself is a bundle consisting of Zbkb, Zbkc, Zbkx, Zknd, Zkne,
> and Zknh.
>
> The current implementation of riscv_zk_bundled_exts manually listed
> the dependencies but missed RISCV_ISA_EXT_ZKNH.
>
> Fix this by introducing a RISCV_ISA_EXT_ZKN macro that lists the Zkn
> components and using it in both riscv_zk_bundled_exts and
> riscv_zkn_bundled_exts.
>
> This adds the missing Zknh extension to Zk and reduces code duplication.
>
> Fixes: 0d8295ed975b ("riscv: add ISA extension parsing for scalar crypto")
> Link: https://patch.msgid.link/20231114141256.126749-4-cleger@rivosinc.com/
> Signed-off-by: Guodong Xu <guodong@...cstar.com>
Thanks, queued for v6.19-rc.
- Paul
Powered by blists - more mailing lists