<html><body><p><font size="2">Klaus, </font><br><br><font size="2">NX crypto is not enabled and supported on P9 due to performance issues. Instead use SW instructions. </font><br><br><font size="2">George Wilson can give more information. </font><br><br><font size="2">Thanks</font><br><font size="2">haren</font><br><br><tt><font size="2">"Klaus Heinrich Kiwi" <klaus@linux.vnet.ibm.com> wrote on 03/08/2021 05:05:31 AM:<br><br>> From: "Klaus Heinrich Kiwi" <klaus@linux.vnet.ibm.com></font></tt><br><tt><font size="2">> To: skiboot@lists.ozlabs.org, Haren Myneni/Beaverton/IBM@IBM</font></tt><br><tt><font size="2">> Date: 03/08/2021 05:05 AM</font></tt><br><tt><font size="2">> Subject: Re: [Skiboot] NX crypto on POWER9</font></tt><br><tt><font size="2">> <br>> Haren,<br>> <br>>   do you have any insights here? Is there any public documentation <br>> that can be used?<br>> <br>> Thanks,<br>> <br>>   -Klaus<br>> <br>> On 3/5/2021 3:46 AM, Stewart Smith wrote:<br>> > On Thu, Mar 4, 2021, at 6:14 PM, Léo Le Bouter wrote:<br>> >> Following <a href="https://github.com/open-power/hostboot/issues/196">https://github.com/open-power/hostboot/issues/196</a><br>> >><br>> >> Bdragon on #talos-workstation found out that they are not enabled in<br>> >> skiboot here:<br>> >> <a href="https://github.com/open-power/skiboot/blob/master/hw/nx-crypto.c#L269">https://github.com/open-power/skiboot/blob/master/hw/nx-crypto.c#L269</a><br>> >><br>> >>  From their investigations it looks like the engines are working in<br>> >> hardware just not fully configured and wired up in software.<br>> >><br>> >> How could we get them enabled?<br>> >><br>> >> Next step then would be to wire it up in the Linux kernel so dm-crypt<br>> >> can then use it.<br>> > <br>> > Likely needs hardware documentation on that part of the NX unit, <br>> so that any configuration needing to happen in skiboot can be done, <br>> and any configuration needed can be passed onto the kernel.<br>> > <br>> > I'm not sure if this documentation is public though.<br>> > _______________________________________________<br>> > Skiboot mailing list<br>> > Skiboot@lists.ozlabs.org<br>> > <a href="https://lists.ozlabs.org/listinfo/skiboot">https://lists.ozlabs.org/listinfo/skiboot</a><br>> > <br>> <br>> -- <br>> Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com><br></font></tt><BR>
</body></html>