Hi Steven,
First bad commit (maybe != root cause):
tree:
https://github.com/zen-kernel/zen-kernel 5.10/muqss
head: 2da693aab6562ed337fd383bdd368d65081cb955
commit: e219172bbe43aed68943e72b19897191b6bd8f8f [14/22] muqss: Fix build error on config
leak
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/zen-kernel/zen-kernel/commit/e219172bbe43aed68943e72b1...
git remote add zen-kernel-zen-kernel
https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen-kernel-zen-kernel 5.10/muqss
git checkout e219172bbe43aed68943e72b19897191b6bd8f8f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> kernel/sched/MuQSS.c:141:36: error: 'CONFIG_SHARERQ'
undeclared here (not in a function); did you mean 'CONFIG_SPARSE_IRQ'?
141 | static int rqshare __read_mostly = CONFIG_SHARERQ; /* Default RQSHARE_MC */
| ^~~~~~~~~~~~~~
| CONFIG_SPARSE_IRQ
kernel/sched/MuQSS.c:241:12: warning: no previous prototype for
'arch_sd_sibling_asym_packing' [-Wmissing-prototypes]
241 | int __weak arch_sd_sibling_asym_packing(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/MuQSS.c:639:6: warning: no previous prototype for 'resched_task'
[-Wmissing-prototypes]
639 | void resched_task(struct task_struct *p)
| ^~~~~~~~~~~~
kernel/sched/MuQSS.c: In function 'best_mask_cpu':
kernel/sched/MuQSS.c:1110:14: warning: variable 'tmp_rq' set but not used
[-Wunused-but-set-variable]
1110 | struct rq *tmp_rq;
| ^~~~~~
kernel/sched/MuQSS.c: At top level:
kernel/sched/MuQSS.c:2386:5: warning: no previous prototype for
'sysctl_schedstats' [-Wmissing-prototypes]
2386 | int sysctl_schedstats(struct ctl_table *table, int write, void *buffer,
| ^~~~~~~~~~~~~~~~~
kernel/sched/MuQSS.c:3076:15: warning: no previous prototype for 'nr_active'
[-Wmissing-prototypes]
3076 | unsigned long nr_active(void)
| ^~~~~~~~~
kernel/sched/MuQSS.c:6113:6: warning: no previous prototype for
'__do_set_cpus_allowed' [-Wmissing-prototypes]
6113 | void __do_set_cpus_allowed(struct task_struct *p, const struct cpumask
*new_mask)
| ^~~~~~~~~~~~~~~~~~~~~
kernel/sched/MuQSS.c:6234:6: warning: no previous prototype for 'resched_cpu'
[-Wmissing-prototypes]
6234 | void resched_cpu(int cpu)
| ^~~~~~~~~~~
kernel/sched/MuQSS.c:6247:6: warning: no previous prototype for
'select_nohz_load_balancer' [-Wmissing-prototypes]
6247 | void select_nohz_load_balancer(int stop_tick)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/MuQSS.c:6251:6: warning: no previous prototype for
'set_cpu_sd_state_idle' [-Wmissing-prototypes]
6251 | void set_cpu_sd_state_idle(void) {}
| ^~~~~~~~~~~~~~~~~~~~~
kernel/sched/MuQSS.c:6305:6: warning: no previous prototype for
'wake_up_idle_cpu' [-Wmissing-prototypes]
6305 | void wake_up_idle_cpu(int cpu)
| ^~~~~~~~~~~~~~~~
kernel/sched/MuQSS.c:6569:6: warning: no previous prototype for
'sched_set_stop_task' [-Wmissing-prototypes]
6569 | void sched_set_stop_task(int cpu, struct task_struct *stop)
| ^~~~~~~~~~~~~~~~~~~
kernel/sched/MuQSS.c: In function 'setup_rq_orders':
kernel/sched/MuQSS.c:7186:22: warning: unused variable 'i' [-Wunused-variable]
7186 | int cpu, other_cpu, i;
| ^
kernel/sched/MuQSS.c: At top level:
kernel/sched/MuQSS.c:7697:6: warning: no previous prototype for
'init_idle_bootup_task' [-Wmissing-prototypes]
7697 | void init_idle_bootup_task(struct task_struct *idle)
| ^~~~~~~~~~~~~~~~~~~~~
kernel/sched/MuQSS.c:7721:20: warning: no previous prototype for
'sched_create_group' [-Wmissing-prototypes]
7721 | struct task_group *sched_create_group(struct task_group *parent)
| ^~~~~~~~~~~~~~~~~~
kernel/sched/MuQSS.c:7732:6: warning: no previous prototype for
'sched_online_group' [-Wmissing-prototypes]
7732 | void sched_online_group(struct task_group *tg, struct task_group *parent)
| ^~~~~~~~~~~~~~~~~~
kernel/sched/MuQSS.c:7743:6: warning: no previous prototype for
'sched_destroy_group' [-Wmissing-prototypes]
7743 | void sched_destroy_group(struct task_group *tg)
| ^~~~~~~~~~~~~~~~~~~
kernel/sched/MuQSS.c:7749:6: warning: no previous prototype for
'sched_offline_group' [-Wmissing-prototypes]
7749 | void sched_offline_group(struct task_group *tg)
| ^~~~~~~~~~~~~~~~~~~
kernel/sched/MuQSS.c:7840:20: warning: initialized field overwritten [-Woverride-init]
7840 | .legacy_cftypes = cpu_legacy_files,
| ^~~~~~~~~~~~~~~~
kernel/sched/MuQSS.c:7840:20: note: (near initialization for
'cpu_cgrp_subsys.legacy_cftypes')
vim +141 kernel/sched/MuQSS.c
9d6b3eef3a1ec2 Con Kolivas 2019-10-25 136
9d6b3eef3a1ec2 Con Kolivas 2019-10-25 137 /*
9d6b3eef3a1ec2 Con Kolivas 2019-10-25 138 * This determines what level of runqueue
sharing will be done and is
9d6b3eef3a1ec2 Con Kolivas 2019-10-25 139 * configurable at boot time with the
bootparam rqshare =
9d6b3eef3a1ec2 Con Kolivas 2019-10-25 140 */
9d6b3eef3a1ec2 Con Kolivas 2019-10-25 @141 static int rqshare __read_mostly =
CONFIG_SHARERQ; /* Default RQSHARE_MC */
9d6b3eef3a1ec2 Con Kolivas 2019-10-25 142
:::::: The code at line 141 was first introduced by commit
:::::: 9d6b3eef3a1ec22d4d3c74e0b773ff52d3b3a209 MultiQueue Skiplist Scheduler v0.204
:::::: TO: Con Kolivas <kernel(a)kolivas.org>
:::::: CC: Steven Barrett <steven(a)liquorix.net>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org