[uacc-0623] hisi_sec2 fail to alloc uacce
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kunpeng920 |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu-20.04-hwe |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Bug Description]
ubuntu 20.04.2 boot system and fail to alloc uacce (-22)
[Steps to Reproduce]
1) boot ubuntu 20.04.2 system
2) dmesg | grep fail
[Actual Results]
[ 27.000086] cma: cma_alloc: alloc failed, req-size: 4 pages, ret: -12
[ 27.006515] hisi_sec2 0000:b6:00.0: Failed to enable PASID
[ 27.012043] hisi_sec2 0000:b6:00.0: Adding to iommu group 45
[ 27.015484] hisi_sec2 0000:b6:00.0: fail to alloc uacce (-22)
[Expected Results]
no fail
[Reproducibility]
100%
[Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):
[Resolution]
this following patch will solve this bug.
commit f8408d2b79b834f
Author: Kai Ye <email address hidden>
Date: Tue Jan 5 14:16:42 2021 +0800
crypto: hisilicon - add ZIP device using mode parameter
Add 'uacce_mode' parameter for ZIP, which can be set as 0(default) or 1.
'0' means ZIP is only registered to kernel crypto, and '1' means it's
registered to both kernel crypto and UACCE.
Signed-off-by: Kai Ye <email address hidden>
Reviewed-by: Zhou Wang <email address hidden>
Reviewed-by: Zaibo Xu <email address hidden>
Signed-off-by: Herbert Xu <email address hidden>
commit bedd04e4aa1434d
Author: Kai Ye <email address hidden>
Date: Tue Jan 5 14:16:43 2021 +0800
crypto: hisilicon/hpre - register HPRE device to uacce
commit 34932a6033be3c0
Author: Kai Ye <email address hidden>
Date: Tue Jan 5 14:16:44 2021 +0800
crypto: hisilicon/sec - register SEC device to uacce
Changed in kunpeng920: | |
status: | New → Invalid |