Enlarge hisi_sec2 capability
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kunpeng920 |
Fix Released
|
Undecided
|
Unassigned | ||
Ubuntu-18.04-hwe |
Fix Released
|
Undecided
|
Ike Panhc | ||
Ubuntu-20.04 |
Fix Released
|
Undecided
|
Ike Panhc | ||
Upstream-kernel |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Ike Panhc | ||
Focal |
Fix Released
|
Undecided
|
Ike Panhc | ||
Groovy |
Fix Released
|
Undecided
|
Ike Panhc |
Bug Description
[Impact]
Current hisi_sec2 driver only allows 2 threads for accelerator but cpu stress test requires more then 50 threads. We have disabled hisi_sec2 temporarily for 20.04.1. Hisilicon proposes a simple patch on upstream mailing list to enlarge the capability.
[Fix]
commit 57b1aac1b426b72
Author: Longfang Liu <email address hidden>
Date: Mon Jun 8 22:01:11 2020 +0800
Subject: crypto: hisilicon - update SEC driver module parameter
[Test]
$ lsmod | grep hisi_sec2 # make sure hisi_sec2 loaded
$ 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.
Changed in linux (Ubuntu Focal): | |
status: | New → In Progress |
assignee: | nobody → Ike Panhc (ikepanhc) |
description: | updated |
Changed in kunpeng920: | |
status: | New → In Progress |
tags: | added: ikeradar |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in kunpeng920: | |
status: | In Progress → Fix Committed |
Changed in kunpeng920: | |
status: | Fix Committed → Fix Released |
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- focal' to 'verification- done-focal' . If the problem still exists, change the tag 'verification- needed- focal' to 'verification- failed- focal'.
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!