WARNING: arch/arm64/kernel/cpufeature.c:3369 this_cpu_has_cap

Naresh Kamboju naresh.kamboju at linaro.org
Tue Feb 13 10:21:23 PST 2024


Following kernel warning notices on all arm64 devices on today's Linux
next-20240213 tag.

Reported-by: Linux Kernel Functional Testing <lkft at linaro.org>

[    0.038524] SMP: Total of 6 processors activated.
[    0.038539] CPU: All CPU(s) started at EL2
[    0.038588] CPU features: detected: 32-bit EL0 Support
[    0.038602] CPU features: detected: 32-bit EL1 Support
[    0.038620] CPU features: detected: CRC32 instructions
[    0.038650] ------------[ cut here ]------------
[    0.038656] WARNING: CPU: 0 PID: 1 at
arch/arm64/kernel/cpufeature.c:3369 this_cpu_has_cap+0x1c/0x70
[    0.038691] Modules linked in:
[    0.038707] CPU: 0 PID: 1 Comm: swapper/0 Not tainted
6.8.0-rc4-next-20240213 #1
[    0.038721] Hardware name: Radxa ROCK Pi 4B (DT)
[    0.038729] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    0.038744] pc : this_cpu_has_cap+0x1c/0x70
[    0.038761] lr : has_nv1+0x28/0xe8
..
[    0.039008] Call trace:
[    0.039014]  this_cpu_has_cap+0x1c/0x70
[    0.039031]  update_cpu_capabilities+0xd4/0x138
[    0.039048]  setup_system_features+0x38/0x130
[    0.039075]  smp_cpus_done+0x50/0xc8
[    0.039094]  smp_init+0x84/0xa0
[    0.039109]  kernel_init_freeable+0x11c/0x400
[    0.039126]  kernel_init+0x28/0x1f0
[    0.039148]  ret_from_fork+0x10/0x20
[    0.039167] ---[ end trace 0000000000000000 ]---


Links:
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240213/testrun/22596318/suite/log-parser-boot/test/check-kernel-exception/log
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240213/testrun/22596318/suite/log-parser-boot/tests/

This issue has been addressed in the relevant email thread,
https://lore.kernel.org/all/0593516b-2419-49b7-83aa-fe189ffad0c2@arm.com/

I will test the corresponding fix patch and get back to you.

--
Linaro LKFT
https://lkft.linaro.org



More information about the linux-arm-kernel mailing list