linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* WARNING: arch/arm64/kernel/cpufeature.c:3369 this_cpu_has_cap
@ 2024-02-13 18:21 Naresh Kamboju
  2024-02-13 19:18 ` Marc Zyngier
  0 siblings, 1 reply; 3+ messages in thread
From: Naresh Kamboju @ 2024-02-13 18:21 UTC (permalink / raw)
  To: Linux ARM, Linux Regressions, open list, lkft-triage
  Cc: Suzuki K Poulose, Marc Zyngier, Marek Szyprowski, Catalin Marinas

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

Reported-by: Linux Kernel Functional Testing <lkft@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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: WARNING: arch/arm64/kernel/cpufeature.c:3369 this_cpu_has_cap
  2024-02-13 18:21 WARNING: arch/arm64/kernel/cpufeature.c:3369 this_cpu_has_cap Naresh Kamboju
@ 2024-02-13 19:18 ` Marc Zyngier
  2024-02-13 19:38   ` Naresh Kamboju
  0 siblings, 1 reply; 3+ messages in thread
From: Marc Zyngier @ 2024-02-13 19:18 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Linux ARM, Linux Regressions, open list, lkft-triage,
	Suzuki K Poulose, Marek Szyprowski, Catalin Marinas

On Tue, 13 Feb 2024 18:21:23 +0000,
Naresh Kamboju <naresh.kamboju@linaro.org> wrote:
> 
> Following kernel warning notices on all arm64 devices on today's Linux
> next-20240213 tag.
> 
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

What is the sense of this tag, and even of this email, for an issue
that has already been reported, as outlined below?

> 
> [    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/

Correct link:

https://lore.kernel.org/all/86bk8k5ts3.wl-maz@kernel.org/

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

Thanks,

	M.

-- 
Without deviation from the norm, progress is not possible.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: WARNING: arch/arm64/kernel/cpufeature.c:3369 this_cpu_has_cap
  2024-02-13 19:18 ` Marc Zyngier
@ 2024-02-13 19:38   ` Naresh Kamboju
  0 siblings, 0 replies; 3+ messages in thread
From: Naresh Kamboju @ 2024-02-13 19:38 UTC (permalink / raw)
  To: Marc Zyngier
  Cc: Linux ARM, Linux Regressions, open list, lkft-triage,
	Suzuki K Poulose, Marek Szyprowski, Catalin Marinas

On Wed, 14 Feb 2024 at 00:48, Marc Zyngier <maz@kernel.org> wrote:
>
> On Tue, 13 Feb 2024 18:21:23 +0000,
> Naresh Kamboju <naresh.kamboju@linaro.org> wrote:
> >
> > Following kernel warning notices on all arm64 devices on today's Linux
> > next-20240213 tag.
> >
> > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
>
> What is the sense of this tag, and even of this email, for an issue
> that has already been reported, as outlined below?

LKFT building and testing Linux next tree and found this warning on
today's Linux next-20240213. However it is been reported by someone
else.

You may ignore the tag.

>
> >
> > [    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
...
> >
> > This issue has been addressed in the relevant email thread,
> > https://lore.kernel.org/all/0593516b-2419-49b7-83aa-fe189ffad0c2@arm.com/

> Correct link:
>
> https://lore.kernel.org/all/86bk8k5ts3.wl-maz@kernel.org/

Thank you.

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

I have tested your patch and the reported issue has been fixed.

- Naresh

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-02-13 19:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-13 18:21 WARNING: arch/arm64/kernel/cpufeature.c:3369 this_cpu_has_cap Naresh Kamboju
2024-02-13 19:18 ` Marc Zyngier
2024-02-13 19:38   ` Naresh Kamboju

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).