The kernel built based on the latest focal-hwe with the patches in comment#17 seems NOT to resolve the error messages.
ubuntu@kreiken:~$ uname -a; lsb_release -a; lsmod | grep -e uacce -e zip -e hpre -e sec; sudo dmesg | grep fail | grep hisi Linux kreiken 5.11.0-38-generic #42~20.04.1+lp1933301tai1 SMP Tue Oct 12 05:33:29 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal hisi_hpre 32768 0 hisi_zip 32768 0 hisi_sec2 53248 0 hisi_qm 69632 3 hisi_sec2,hisi_zip,hisi_hpre authenc 16384 1 hisi_sec2 uacce 20480 2 hisi_qm,hisi_zip [ 35.616700] hisi_sec2 0000:76:00.0: fail to alloc uacce (-22) [ 35.652961] hisi_sec2 0000:b6:00.0: fail to alloc uacce (-22) [ 35.677191] hisi_hpre 0000:79:00.0: fail to alloc uacce (-22) [ 35.687192] hisi_zip 0000:75:00.0: fail to alloc uacce (-22) [ 35.706518] hisi_hpre 0000:b9:00.0: fail to alloc uacce (-22) [ 35.708386] hisi_zip 0000:b5:00.0: fail to alloc uacce (-22)
The kernel built based on the latest focal-hwe with the patches in comment#17 seems NOT to resolve the error messages.
ubuntu@kreiken:~$ uname -a; lsb_release -a; lsmod | grep -e uacce -e zip -e hpre -e sec; sudo dmesg | grep fail | grep hisi 04.1+lp1933301t ai1 SMP Tue Oct 12 05:33:29 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux hisi_zip, hisi_hpre
Linux kreiken 5.11.0-38-generic #42~20.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
hisi_hpre 32768 0
hisi_zip 32768 0
hisi_sec2 53248 0
hisi_qm 69632 3 hisi_sec2,
authenc 16384 1 hisi_sec2
uacce 20480 2 hisi_qm,hisi_zip
[ 35.616700] hisi_sec2 0000:76:00.0: fail to alloc uacce (-22)
[ 35.652961] hisi_sec2 0000:b6:00.0: fail to alloc uacce (-22)
[ 35.677191] hisi_hpre 0000:79:00.0: fail to alloc uacce (-22)
[ 35.687192] hisi_zip 0000:75:00.0: fail to alloc uacce (-22)
[ 35.706518] hisi_hpre 0000:b9:00.0: fail to alloc uacce (-22)
[ 35.708386] hisi_zip 0000:b5:00.0: fail to alloc uacce (-22)