Re: [PATCH 1/3] RISC-V: add Bitmanip/Scalar Crypto parsing from DT

From: Conor Dooley
Date: Tue Jun 27 2023 - 15:18:29 EST


On Wed, Jun 28, 2023 at 03:03:58AM +0800, Hongren (Zenithal) Zheng wrote:
> On Tue, Jun 27, 2023 at 07:48:15PM +0100, Conor Dooley wrote:
> > On Tue, Jun 27, 2023 at 11:14:30AM -0700, Evan Green wrote:
> > > On Tue, Jun 27, 2023 at 7:38 AM Samuel Ortiz <sameo@xxxxxxxxxxxx> wrote:
> > > >
> > > > From: "Hongren (Zenithal) Zheng" <i@xxxxxxxxxxx>
> > > >
> > > > This patch parses Zb/Zk related string from DT and
> >
> > %s/This patch//
> >
> > > > output them in cpuinfo
> > > >
> > > > One thing worth noting is that if DT provides zk,
> > > > all zbkb, zbkc, zbkx and zkn, zkr, zkt would be enabled.
> >
> > Please explain why this is okay.
>
> From riscv scalar crypto spec, zk is a shorthand
> for zkn, zkr and zkt and zkn also includes zbkb, zbkc
> and zbkx.

Hmm, seems you misunderstood, sorry about that.
What I was looking for is an explanation of this in the commit message.

Hope that helps,
Conor.

Attachment: signature.asc
Description: PGP signature