6.12;bisected;regression - psi: inconsistent task state warning appeared in kernel log between 2e0199df252 and 54a58a787791 commits

From: Mikhail Gavrilov
Date: Tue Oct 15 2024 - 07:50:27 EST


Hi,
I spotted a new warning message when kernel
6.12.0-0.rc0.20240920gitbaeb9a7d8b60.7.fc42.x86_64+debug manded on my
machine.

Unfortunately, git bisect couldn't find the exact commit because the
follow commits 152e11f6df29, e1459a50ba31, a1c446611e31, 781773e3b680,
f12e148892ed, 2e0199df252a have FTBFS.

kernel/sched/sched.h:2132:24: error: implicit declaration of function
‘static_branch_DELAY_ZERO’; did you mean ‘static_branch_LATENCY_WARN’?
[-Wimplicit-function-declaration]
2132 | #define sched_feat(x)
(static_branch_##x(&sched_feat_keys[__SCHED_FEAT_##x]))
| ^~~~~~~~~~~~~~
kernel/sched/fair.c:12878:21: note: in expansion of macro ‘sched_feat’
12878 | if (sched_feat(DELAY_ZERO) && p->se.vlag > 0)
| ^~~~~~~~~~
CC kernel/power/process.o
CC drivers/iommu/iommufd/ioas.o
kernel/sched/sched.h:2132:59: error: ‘__SCHED_FEAT_DELAY_ZERO’
undeclared (first use in this function); did you mean
‘__SCHED_FEAT_LATENCY_WARN’?
2132 | #define sched_feat(x)
(static_branch_##x(&sched_feat_keys[__SCHED_FEAT_##x]))
| ^~~~~~~~~~~~~
kernel/sched/fair.c:12878:21: note: in expansion of macro ‘sched_feat’
12878 | if (sched_feat(DELAY_ZERO) && p->se.vlag > 0)
| ^~~~~~~~~~
kernel/sched/sched.h:2132:59: note: each undeclared identifier is
reported only once for each function it appears in
2132 | #define sched_feat(x)
(static_branch_##x(&sched_feat_keys[__SCHED_FEAT_##x]))
| ^~~~~~~~~~~~~
kernel/sched/fair.c:12878:21: note: in expansion of macro ‘sched_feat’
12878 | if (sched_feat(DELAY_ZERO) && p->se.vlag > 0)
| ^~~~~~~~~~
HDRTEST usr/include/linux/loop.h

Anyway, I attached the full bisect log, kernel log with this warning,
and my kernel build config.
My hardware configuration is available by this link:
https://linux-hardware.org/?probe=e758ec6e6d

Peter, Valentin I see you as author and reviewer of these commits:
152e11f6df29, e1459a50ba31, a1c446611e31, 781773e3b680, f12e148892ed,
2e0199df252a.
Maybe you can dig into it?

--
Best Regards,
Mike Gavrilov.

Attachment: git-bisect-log-inconsistent-task-state.zip
Description: Zip archive

Attachment: 6.12.0-0.rc3.20241014git6485cf5ea253.32.fc42.x86_64+debug.zip
Description: Zip archive

Attachment: .config.zip
Description: Zip archive