APPLIED: [SRU][F:linux-bluefield][PATCH 0/1] UBUNTU: SAUCE: pka: Handle ring open scenario when rings are busy

Stefan Bader stefan.bader at canonical.com
Fri Feb 26 09:05:23 UTC 2021


On 19.02.21 21:28, Mahantesh Salimath wrote:
> BugLink: https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/1916289
> 
> SRU Justification:
> 
> [Impact]
> * Kernel traces are seen at startup on Bluefield platforms (by Mellanox/Nvidia) due to applications using public key accelerator (PKA) hardware simultaneously.
> 
> [Fix]
> * Allow synchronized usage of PKA hardware resources "pka: Handle ring open scenario when rings are busy"
> 
> [Test Case]
> * Trigger multiple processes/applications to use PKA HW simultaneously, this can be done via OpenSSL. Run the OpenSSL speed test with multiple processes using 'pka' engine. Ex: openssl speed -multi 2 -engine pka rsa512
> * Note: On Bluefield platforms the OpenSSL dynamic engine (-engine pka, in the above example) is loaded by default.
> 
> [Regression Potential]
> * The regression can be considered as low, since the rings are shared in a synchronized manner
>  there is no corruption due to different applications running concurrently.
> * As there are limited resources (PKA rings) available, if exhausted, can cause applications
>  fail to execute (due to resource unavailability). This is an expected behaviour.
> 
> [Other]
> * Note: Unit of PKA HW available for application usage is called a ring.
> 
Applied to focal:linux-bluefield/master-next (with fixed bug link). Thanks.

-Stefan



More information about the kernel-team mailing list