proper fix hits mainline kernel
$ git show 57b1aac1b426b7255afa195298ed691ffea204c6
commit 57b1aac1b426b7255afa195298ed691ffea204c6
Author: Longfang Liu <[email protected]>
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 protected]>
Signed-off-by: Zaibo Xu <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
** Changed in: kunpeng920/upstream-kernel
Status: Triaged => Fix Committed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1867900
Title:
CPU stress test fails with focal kernel
Status in kunpeng920:
Fix Released
Status in kunpeng920 ubuntu-18.04-hwe series:
Fix Released
Status in kunpeng920 ubuntu-20.04 series:
Fix Released
Status in kunpeng920 upstream-kernel series:
Fix Committed
Status in linux package in Ubuntu:
Invalid
Status in linux source package in Focal:
Fix Released
Status in linux source package in Groovy:
Invalid
Bug description:
[Impact]
We have several crypto accelerators for Hisilicon 1620 but unfortunately one
of them is not mature and causes stress-ng tests failure. Disabling hisi_sec2
makes kernel to run crypto functions without accelerator.
[Fix]
Disable CONFIG_CRYPTO_DEV_HISI_SEC2 temporarily until we have proper driver.
[Test]
$ sudo stress-ng --aggressive --verify --timeout 330 --metrics-brief --tz
--times --af-alg 0
$ echo $?
[Regression Potential]
This driver is only loaded on Hisilicon Hi1620 machines. Low risk for other
platform.
==================================
[Bug Description]
CPU stress test fails with focal kernel
[Steps to Reproduce]
1) sudo apt-add-repository -y ppa:firmware-testing-team/ppa-fwts-stable
2) sudo apt-add-repository -y ppa:hardware-certification/public
3) sudo apt install -y canonical-certification-server
4) Install focal kernel debs from https://launchpad.net/ubuntu/+source/linux
5) Run CPU stress test with `sudo certify-advanced`
[Actual Results]
Failed with
stress-ng: fail: [6118] stress-ng-af-alg: bind failed, errno=19 (No such
device)
[Expected Results]
Passed
[Reproducibility]
100%
[Additional information]
Same test with bionic-update kernel passed
[Resolution]
To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867900/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp