Both the mainline v5.12 and v5.13 could reproduce the issue[1].
[1]
ubuntu@kreiken:~$ uname -a; lsb_release -a; sudo dmesg | grep fail | grep hisi Linux kreiken 5.12.0-051200-generic #202104252130 SMP Sun Apr 25 21:33:16 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 [ 36.399996] hisi_hpre 0000:79:00.0: fail to alloc uacce (-22) [ 36.437650] hisi_hpre 0000:b9:00.0: fail to alloc uacce (-22) [ 36.439113] hisi_zip 0000:75:00.0: fail to alloc uacce (-22) [ 36.467654] hisi_zip 0000:b5:00.0: fail to alloc uacce (-22) [ 36.482807] hisi_sec2 0000:76:00.0: fail to alloc uacce (-22) [ 36.531349] hisi_sec2 0000:b6:00.0: fail to alloc uacce (-22) ubuntu@kreiken:~$
ubuntu@kreiken:~$ uname -a; lsb_release -a; sudo dmesg | grep fail | grep hisi Linux kreiken 5.13.0-051300-generic #202106272333 SMP Sun Jun 27 23:36:23 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 [ 35.497954] hisi_zip 0000:75:00.0: fail to alloc uacce (-22) [ 35.543293] hisi_zip 0000:b5:00.0: fail to alloc uacce (-22) [ 36.057044] hisi_hpre 0000:79:00.0: fail to alloc uacce (-22) [ 36.058494] hisi_sec2 0000:76:00.0: fail to alloc uacce (-22) [ 36.093783] hisi_hpre 0000:b9:00.0: fail to alloc uacce (-22) [ 36.108451] hisi_sec2 0000:b6:00.0: fail to alloc uacce (-22) ubuntu@kreiken:~$
Both the mainline v5.12 and v5.13 could reproduce the issue[1].
[1]
ubuntu@kreiken:~$ uname -a; lsb_release -a; sudo dmesg | grep fail | grep hisi 051200- generic #202104252130 SMP Sun Apr 25 21:33:16 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
Linux kreiken 5.12.0-
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
[ 36.399996] hisi_hpre 0000:79:00.0: fail to alloc uacce (-22)
[ 36.437650] hisi_hpre 0000:b9:00.0: fail to alloc uacce (-22)
[ 36.439113] hisi_zip 0000:75:00.0: fail to alloc uacce (-22)
[ 36.467654] hisi_zip 0000:b5:00.0: fail to alloc uacce (-22)
[ 36.482807] hisi_sec2 0000:76:00.0: fail to alloc uacce (-22)
[ 36.531349] hisi_sec2 0000:b6:00.0: fail to alloc uacce (-22)
ubuntu@kreiken:~$
ubuntu@kreiken:~$ uname -a; lsb_release -a; sudo dmesg | grep fail | grep hisi 051300- generic #202106272333 SMP Sun Jun 27 23:36:23 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
Linux kreiken 5.13.0-
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
[ 35.497954] hisi_zip 0000:75:00.0: fail to alloc uacce (-22)
[ 35.543293] hisi_zip 0000:b5:00.0: fail to alloc uacce (-22)
[ 36.057044] hisi_hpre 0000:79:00.0: fail to alloc uacce (-22)
[ 36.058494] hisi_sec2 0000:76:00.0: fail to alloc uacce (-22)
[ 36.093783] hisi_hpre 0000:b9:00.0: fail to alloc uacce (-22)
[ 36.108451] hisi_sec2 0000:b6:00.0: fail to alloc uacce (-22)
ubuntu@kreiken:~$