5.13 focal hwe kernel tree With the following patches and cma parameters, we can remove all error messages we did not like:
- 183b60e00597 crypto: hisilicon/qm - modify the uacce mode check - 8c09e896cef8 PCI: Allow PASID on fake PCIe devices without TLP prefixes - cma=128M
The corresponding messages: ubuntu@segers:~$ cat collect.sh uname -a lsb_release -a
echo dmesg | grep -i cma echo
echo dmesg | grep -i fail echo
echo echo ================== dmesg | grep "fail to alloc uacce" echo ==================
ubuntu@segers:~$ ./collect.sh Linux segers 5.13.0-22-generic #22~20.04.1~d20220106t133928~c8dfe75d4593 SMP Thu Jan 6 13:40:22 aarch64 aarch64 aarch64 GNU/Linux No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focal
[ 0.000000] cma: Reserved 128 MiB at 0x0000000078000000 [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.13.0-22-generic root=UUID=e70c736e-0fc9-4459-9e23-d18d2fafb1bb ro sysrq_always_enabled cma=128M [ 0.000000] Memory: 131221092K/134213440K available (15744K kernel code, 3654K rwdata, 13604K rodata, 7936K init, 1153K bss, 2861276K reserved, 131072K cma-reserved)
[ 13.827504] dw_spi_mmio HISI0173:00: DMA init failed [ 13.856392] dw_spi_mmio HISI0173:00: DMA init failed [ 19.429931] sas: Enter sas_scsi_recover_host busy: 0 failed: 0 [ 19.792187] sas: --- Exit sas_scsi_recover_host: busy: 0 failed: 0 tries: 1 [ 19.824213] sas: Enter sas_scsi_recover_host busy: 0 failed: 0 [ 20.190966] sas: --- Exit sas_scsi_recover_host: busy: 0 failed: 0 tries: 1
================== ================== ubuntu@segers:~$
5.13 focal hwe kernel tree With the following patches and cma parameters, we can remove all error messages we did not like:
- 183b60e00597 crypto: hisilicon/qm - modify the uacce mode check
- 8c09e896cef8 PCI: Allow PASID on fake PCIe devices without TLP prefixes
- cma=128M
The corresponding messages:
ubuntu@segers:~$ cat collect.sh
uname -a
lsb_release -a
echo
dmesg | grep -i cma
echo
echo
dmesg | grep -i fail
echo
echo
echo ==================
dmesg | grep "fail to alloc uacce"
echo ==================
ubuntu@segers:~$ ./collect.sh 04.1~d20220106t 133928~ c8dfe75d4593 SMP Thu Jan 6 13:40:22 aarch64 aarch64 aarch64 GNU/Linux
Linux segers 5.13.0-22-generic #22~20.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
[ 0.000000] cma: Reserved 128 MiB at 0x0000000078000000 /boot/vmlinuz- 5.13.0- 22-generic root=UUID= e70c736e- 0fc9-4459- 9e23-d18d2fafb1 bb ro sysrq_always_ enabled cma=128M 134213440K available (15744K kernel code, 3654K rwdata, 13604K rodata, 7936K init, 1153K bss, 2861276K reserved, 131072K cma-reserved)
[ 0.000000] Kernel command line: BOOT_IMAGE=
[ 0.000000] Memory: 131221092K/
[ 13.827504] dw_spi_mmio HISI0173:00: DMA init failed recover_ host busy: 0 failed: 0 recover_ host: busy: 0 failed: 0 tries: 1 recover_ host busy: 0 failed: 0 recover_ host: busy: 0 failed: 0 tries: 1
[ 13.856392] dw_spi_mmio HISI0173:00: DMA init failed
[ 19.429931] sas: Enter sas_scsi_
[ 19.792187] sas: --- Exit sas_scsi_
[ 19.824213] sas: Enter sas_scsi_
[ 20.190966] sas: --- Exit sas_scsi_
==================
==================
ubuntu@segers:~$