tree:
https://github.com/zen-kernel/zen-kernel 5.5/muqss
head: bf569053d0fe08b3615793a0105afff3d28f3676
commit: c58e2d61f83d40ac72e858d41b3b277b345b9387 [1/22] MultiQueue Skiplist Scheduler
v0.196.
config: mips-allyesconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 7.5.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout c58e2d61f83d40ac72e858d41b3b277b345b9387
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> kernel/sched/MuQSS.c:138:36: error: 'CONFIG_SHARERQ'
undeclared here (not in a function); did you mean 'CONFIG_CHARLCD'?
static int rqshare __read_mostly = CONFIG_SHARERQ; /* Default RQSHARE_MC */
^~~~~~~~~~~~~~
CONFIG_CHARLCD
kernel/sched/MuQSS.c: In function 'unlock_rq':
kernel/sched/MuQSS.c:463:46: error: macro "spin_release" passed 3 arguments,
but takes just 2
spin_release(&rq->lock->dep_map, 1, _RET_IP_);
^
kernel/sched/MuQSS.c:463:2: error: 'spin_release' undeclared (first use in this
function); did you mean 'seq_release'?
spin_release(&rq->lock->dep_map, 1, _RET_IP_);
^~~~~~~~~~~~
seq_release
kernel/sched/MuQSS.c:463:2: note: each undeclared identifier is reported only once for
each function it appears in
kernel/sched/MuQSS.c: In function 'prepare_lock_switch':
kernel/sched/MuQSS.c:2583:47: error: macro "spin_release" passed 3 arguments,
but takes just 2
spin_release(&rq->lock->dep_map, 1, _THIS_IP_);
^
kernel/sched/MuQSS.c:2583:2: error: 'spin_release' undeclared (first use in
this function); did you mean 'seq_release'?
spin_release(&rq->lock->dep_map, 1, _THIS_IP_);
^~~~~~~~~~~~
seq_release
In file included from include/asm-generic/percpu.h:7:0,
from ./arch/mips/include/generated/asm/percpu.h:1,
from include/linux/percpu.h:13,
from include/linux/arch_topology.h:9,
from include/linux/topology.h:30,
from include/linux/gfp.h:9,
from include/linux/xarray.h:14,
from include/linux/radix-tree.h:18,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/clocksource.h:19,
from include/linux/clockchips.h:14,
from include/linux/tick.h:8,
from include/linux/sched/isolation.h:6,
from kernel/sched/MuQSS.c:35:
kernel/sched/MuQSS.c: In function 'sched_init_smp':
kernel/sched/MuQSS.c:7071:85: error: 'cpu_llc_id' undeclared (first use in this
function); did you mean 'sd_llc_id'?
printk(KERN_DEBUG "MuQSS CPU %d llc %d RQ order %d RQ %d llc %d\n", cpu,
per_cpu(cpu_llc_id, cpu), i,
^
include/linux/percpu-defs.h:220:47: note: in definition of macro
'__verify_pcpu_ptr'
const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \
^~~
include/linux/percpu-defs.h:270:29: note: in expansion of macro 'per_cpu_ptr'
#define per_cpu(var, cpu) (*per_cpu_ptr(&(var), cpu))
^~~~~~~~~~~
kernel/sched/MuQSS.c:7071:77: note: in expansion of macro 'per_cpu'
printk(KERN_DEBUG "MuQSS CPU %d llc %d RQ order %d RQ %d llc %d\n", cpu,
per_cpu(cpu_llc_id, cpu), i,
^~~~~~~
vim +138 kernel/sched/MuQSS.c
133
134 /*
135 * This determines what level of runqueue sharing will be done and is
136 * configurable at boot time with the bootparam rqshare =
137 */
138 static int rqshare __read_mostly = CONFIG_SHARERQ; /* Default
RQSHARE_MC */
139
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation