Comment 36 for bug 1867900

Revision history for this message
Ike Panhc (ikepanhc) wrote :

proper fix hits mainline kernel

$ git show 57b1aac1b426b7255afa195298ed691ffea204c6
commit 57b1aac1b426b7255afa195298ed691ffea204c6
Author: Longfang Liu <email address hidden>
Date: Mon Jun 8 22:01:11 2020 +0800

    crypto: hisilicon - update SEC driver module parameter

    As stress-ng running SEC engine on the Ubuntu OS,
    we found that SEC only supports two threads each with one TFM
    based on the default module parameter 'ctx_q_num'.
    If running more threads, stress-ng will fail since it cannot
    get more TFMs.

    In order to fix this, we adjusted the default values
    of the module parameters to support more TFMs.

    Signed-off-by: Longfang Liu <email address hidden>
    Signed-off-by: Zaibo Xu <email address hidden>
    Signed-off-by: Herbert Xu <email address hidden>