On Fri, 13 Jan 2023 13:11:55 +0530 Naresh Kamboju wrote:
On Sat, 7 Jan 2023 at 05:33, Jakub Kicinski kuba@kernel.org wrote:
On Thu, 5 Jan 2023 20:19:27 +0530 Naresh Kamboju wrote:
Following kernel warnings noticed on arm beagleboard X15 device while running selftests: tc-testing: tdc.sh with stable-rc 6.1.
This is always reproducible with kselftest merge configs. The build, config, vmlinux and test details links provided [1].
[ 228.686798] WARNING: inconsistent lock state [ 228.193450] WARNING: CPU: 1 PID: 2386 at include/linux/u64_stats_sync.h:145 __u64_stats_update_begin+0x180/0x1a4 [sch_gred] [ 228.439208] WARNING: CPU: 1 PID: 2386 at include/linux/seqlock.h:269 __u64_stats_update_begin+0x1a0/0x1a4 [sch_gred
commit 44b0c2957adc ("u64_stats: Streamline the implementation") looks like the likely culprit. Would you be able to test a revert?
As per your suggestion I have reverted 44b0c2957adc ("u64_stats: Streamline the implementation")
And test shows below warning (seqlock.h:269 gred_dump+0x60c/0x880 [sch_gred])
Thanks! Fix submitted:
https://lore.kernel.org/all/20230113044137.1383067-1-kuba@kernel.org/