【sec-0911】 fail to reset sec module
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kunpeng920 |
Fix Released
|
Undecided
|
Ike Panhc | ||
Ubuntu-20.04 |
Fix Released
|
Undecided
|
Ike Panhc | ||
Ubuntu-20.04-hwe |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Ike Panhc |
Bug Description
[Impact]
The crypto accelerator in Hi1620 SoC can not be reset.
[Test Plan]
1) echo 1 >/sys/devices/
2) echo 1 >/sys/devices/
3) busybox devmem 0x200141B01018 32 0x1
4) dmesg | grep "FLR resetting"
[Regression Risk]
hisi_qm only affects kunpeng920 platform. Minimal risk for other platform, and full regression test is needed on kunpeng920.
=======
[Bug Description]
[Steps to Reproduce]
1、echo 1 >/sys/devices/
2、echo 1 >/sys/devices/
3、busybox devmem 0x200141B01018 32 0x1,
[Actual Results]
root@root:~# busybox devmem 0x200141B01018 32 0x1
root@root:~# dmesg
root@root:~#
[Expected Results]
reset ok
[Reproducibility]
[Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):
OS: ubuntu 20.04.2
DRV(driver version): vermagic: 5.8.0-59-generic SMP mod_unload aarch64
[Resolution]
[v2,3/5] crypto: hisilicon/sec2 - update SEC initialization and reset 此patch未合入
https:/
Changed in kunpeng920: | |
assignee: | nobody → Ike Panhc (ikepanhc) |
Changed in kunpeng920: | |
status: | In Progress → Incomplete |
description: | updated |
Changed in linux (Ubuntu): | |
status: | New → In Progress |
Changed in linux (Ubuntu Focal): | |
status: | New → In Progress |
Changed in linux (Ubuntu): | |
status: | In Progress → Invalid |
Changed in linux (Ubuntu Focal): | |
assignee: | nobody → Ike Panhc (ikepanhc) |
Changed in linux (Ubuntu Focal): | |
importance: | Undecided → Medium |
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 |
Is this the fix?
commit d0228aeb4d65c65 50eac6e7c3a9152 0d2ceedf4f
Author: Longfang Liu <email address hidden>
Date: Tue Jul 7 09:15:39 2020 +0800
crypto: hisilicon/sec2 - update SEC initialization and reset
Updates the initialization and reset of SEC driver's
register operation.
Signed-off-by: Longfang Liu <email address hidden>
Signed-off-by: Herbert Xu <email address hidden>