[Skiboot] NX crypto on POWER9

Haren Myneni hbabu at us.ibm.com
Tue Mar 9 05:39:55 AEDT 2021


Klaus,

NX crypto is not enabled and supported on P9 due to performance issues.
Instead use SW instructions.

George Wilson can give more information.

Thanks
haren

"Klaus Heinrich Kiwi" <klaus at linux.vnet.ibm.com> wrote on 03/08/2021
05:05:31 AM:

> From: "Klaus Heinrich Kiwi" <klaus at linux.vnet.ibm.com>
> To: skiboot at lists.ozlabs.org, Haren Myneni/Beaverton/IBM at IBM
> Date: 03/08/2021 05:05 AM
> Subject: Re: [Skiboot] NX crypto on POWER9
>
> Haren,
>
>   do you have any insights here? Is there any public documentation
> that can be used?
>
> Thanks,
>
>   -Klaus
>
> On 3/5/2021 3:46 AM, Stewart Smith wrote:
> > On Thu, Mar 4, 2021, at 6:14 PM, Léo Le Bouter wrote:
> >> Following https://github.com/open-power/hostboot/issues/196
> >>
> >> Bdragon on #talos-workstation found out that they are not enabled in
> >> skiboot here:
> >> https://github.com/open-power/skiboot/blob/master/hw/nx-crypto.c#L269
> >>
> >>  From their investigations it looks like the engines are working in
> >> hardware just not fully configured and wired up in software.
> >>
> >> How could we get them enabled?
> >>
> >> Next step then would be to wire it up in the Linux kernel so dm-crypt
> >> can then use it.
> >
> > Likely needs hardware documentation on that part of the NX unit,
> so that any configuration needing to happen in skiboot can be done,
> and any configuration needed can be passed onto the kernel.
> >
> > I'm not sure if this documentation is public though.
> > _______________________________________________
> > Skiboot mailing list
> > Skiboot at lists.ozlabs.org
> > https://lists.ozlabs.org/listinfo/skiboot
> >
>
> --
> Klaus Heinrich Kiwi <klaus at linux.vnet.ibm.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/skiboot/attachments/20210308/0b9bc551/attachment.htm>


More information about the Skiboot mailing list