Comment 40 for bug 1933301

Revision history for this message
Taihsiang Ho (tai271828) wrote :

With 5.11 focal hwe kernel tree, "183b60e00597 crypto: hisilicon/qm - modify the uacce mode check" could not be cherry-picked cleanly.

However, with the following patch and conditions, we can remove some more error messages:

- 8c09e896cef8 PCI: Allow PASID on fake PCIe devices without TLP prefixes
- cma=128M

ubuntu@segers:~$ cat collect.sh
uname -a
lsb_release -a

echo
dmesg | grep -i fail
echo

echo
echo ==================
dmesg | grep -i cma
echo ==================
echo

echo
echo ==================
dmesg | grep "fail to alloc uacce"
echo ==================
echo

echo
echo ==================
dmesg | grep -i PASID
echo ==================
echo

ubuntu@segers:~$ ./collect.sh
Linux segers 5.11.0-44-generic #48~20.04.2~d20220106t152459~458ca06c1773 SMP Thu Jan 6 15:25:51 aarch64 aarch64 aarch64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal

[ 14.109315] dw_spi_mmio HISI0173:00: DMA init failed
[ 19.707211] sas: Enter sas_scsi_recover_host busy: 0 failed: 0
[ 20.069487] sas: --- Exit sas_scsi_recover_host: busy: 0 failed: 0 tries: 1
[ 20.111577] sas: Enter sas_scsi_recover_host busy: 0 failed: 0
[ 20.473453] sas: --- Exit sas_scsi_recover_host: busy: 0 failed: 0 tries: 1
[ 23.168785] hisi_sec2 0000:75:00.0: fail to alloc uacce (-22)
[ 23.180802] hisi_sec2 0000:b5:00.0: fail to alloc uacce (-22)

==================
[ 0.000000] cma: Reserved 128 MiB at 0x0000000078000000
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.11.0-44-generic root=UUID=e70c736e-0fc9-4459-9e23-d18d2fafb1bb ro sysrq_always_enabled cma=128M
[ 0.000000] Memory: 131223928K/134213440K available (15744K kernel code, 3572K rwdata, 13344K rodata, 7744K init, 1147K bss, 2858440K reserved, 131072K cma-reserved)
==================

==================
[ 23.168785] hisi_sec2 0000:75:00.0: fail to alloc uacce (-22)
[ 23.180802] hisi_sec2 0000:b5:00.0: fail to alloc uacce (-22)
==================

==================
==================

ubuntu@segers:~$