tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: 08f8d1398111d6717028218f58d8c7e228ef4d15
commit: e76f44b723928dfde31f8b46af3fae56bfd0d508 [32/59] FROMLIST: sched: Core-wide
rq->lock
config: i386-randconfig-s002-20200808 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-118-ge1578773-dirty
git checkout e76f44b723928dfde31f8b46af3fae56bfd0d508
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
kernel/sched/rt.c:1679:9: sparse: sparse: incorrect type in assignment (different
address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct
sched_domain [noderef] <asn:4> *parent @@
kernel/sched/rt.c:1679:9: sparse: expected struct sched_domain *[assigned] sd
kernel/sched/rt.c:1679:9: sparse: got struct sched_domain [noderef] <asn:4>
*parent
kernel/sched/rt.c: note: in included file (through include/linux/jump_label.h,
include/linux/static_key.h, arch/x86/include/asm/nospec-branch.h, ...):
> arch/x86/include/asm/jump_label.h:25:9: sparse: sparse: context
imbalance in 'find_lock_lowest_rq' - unexpected unlock
> arch/x86/include/asm/jump_label.h:25:9: sparse: sparse: context imbalance in
'push_rt_task' - unexpected unlock
--
kernel/sched/deadline.c:1927:9: sparse: sparse: incorrect type in assignment (different
address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct
sched_domain [noderef] <asn:4> *parent @@
kernel/sched/deadline.c:1927:9: sparse: expected struct sched_domain *[assigned]
sd
kernel/sched/deadline.c:1927:9: sparse: got struct sched_domain [noderef]
<asn:4> *parent
kernel/sched/deadline.c: note: in included file (through include/linux/jump_label.h,
include/linux/static_key.h, arch/x86/include/asm/nospec-branch.h, ...):
> arch/x86/include/asm/jump_label.h:25:9: sparse: sparse: context
imbalance in 'dl_task_offline_migration' - unexpected unlock
> arch/x86/include/asm/jump_label.h:25:9: sparse: sparse: context imbalance in
'find_lock_later_rq' - unexpected unlock
> arch/x86/include/asm/jump_label.h:25:9: sparse: sparse: context imbalance in
'push_dl_task' - unexpected unlock
> arch/x86/include/asm/jump_label.h:25:9: sparse: sparse: context imbalance in
'pull_dl_task' - unexpected unlock
vim +/find_lock_lowest_rq +25 arch/x86/include/asm/jump_label.h
2671c3e4fe2a34 Andy Lutomirski 2015-11-12 22
11276d5306b8e5 Peter Zijlstra 2015-07-24 23 static __always_inline bool
arch_static_branch(struct static_key *key, bool branch)
d430d3d7e646eb Jason Baron 2011-03-16 24 {
e769742d35841a Ingo Molnar 2018-12-19 @25 asm_volatile_goto("1:"
e769742d35841a Ingo Molnar 2018-12-19 26 ".byte "
__stringify(STATIC_KEY_INIT_NOP) "\n\t"
e769742d35841a Ingo Molnar 2018-12-19 27 ".pushsection __jump_table,
\"aw\" \n\t"
e769742d35841a Ingo Molnar 2018-12-19 28 _ASM_ALIGN "\n\t"
e769742d35841a Ingo Molnar 2018-12-19 29 ".long 1b - ., %l[l_yes] - .
\n\t"
e769742d35841a Ingo Molnar 2018-12-19 30 _ASM_PTR "%c0 + %c1 - .\n\t"
e769742d35841a Ingo Molnar 2018-12-19 31 ".popsection \n\t"
d420acd816c07c Peter Zijlstra 2015-08-12 32 : : "i" (key), "i"
(branch) : : l_yes);
e769742d35841a Ingo Molnar 2018-12-19 33
11276d5306b8e5 Peter Zijlstra 2015-07-24 34 return false;
11276d5306b8e5 Peter Zijlstra 2015-07-24 35 l_yes:
11276d5306b8e5 Peter Zijlstra 2015-07-24 36 return true;
11276d5306b8e5 Peter Zijlstra 2015-07-24 37 }
11276d5306b8e5 Peter Zijlstra 2015-07-24 38
:::::: The code at line 25 was first introduced by commit
:::::: e769742d35841a8198dd6af94e2931083abdee08 Revert "x86/jump-labels: Macrofy
inline assembly code to work around GCC inlining bugs"
:::::: TO: Ingo Molnar <mingo(a)kernel.org>
:::::: CC: Ingo Molnar <mingo(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org