* [zen-kernel-zen-kernel:5.4/muqss 1/21] kernel/sched/MuQSS.c:138:36: error: 'CONFIG_SHARERQ' undeclared here (not in a function); did you mean 'CONFIG_SPARSE_IRQ'?
@ 2020-02-03 6:43 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-02-03 6:43 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 5555 bytes --]
Hi Con,
FYI, the error/warning still remains.
tree: https://github.com/zen-kernel/zen-kernel 5.4/muqss
head: 45589d24eea4cdfe59e87a65389fd72d91f43bf0
commit: 7acac2e4000e75f3349106a8847cf1021651446b [1/21] MultiQueue Skiplist Scheduler v0.196.
config: c6x-allyesconfig (attached as .config)
compiler: c6x-elf-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 7acac2e4000e75f3349106a8847cf1021651446b
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=c6x
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@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_SPARSE_IRQ'?
static int rqshare __read_mostly = CONFIG_SHARERQ; /* Default RQSHARE_MC */
^~~~~~~~~~~~~~
CONFIG_SPARSE_IRQ
--
In file included from include/asm-generic/percpu.h:7:0,
from ./arch/c6x/include/generated/asm/percpu.h:1,
from include/linux/percpu.h:13,
from include/linux/hrtimer.h:19,
from include/linux/sched.h:20,
from include/linux/sched/signal.h:7,
from include/linux/sched/cputime.h:5,
from kernel/sched/MuQSS.h:7,
from kernel/sched/sched.h:6,
from kernel/sched/membarrier.c:7:
kernel/sched/membarrier.c: In function 'ipi_sync_rq_state':
>> kernel/sched/membarrier.c:39:17: error: 'runqueues' undeclared (first use in this function); did you mean 'sigqueue'?
this_cpu_write(runqueues.membarrier_state,
^
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:509:34: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_write(pcp, val) __pcpu_size_call(this_cpu_write_, pcp, val)
^~~~~~~~~~~~~~~~
kernel/sched/membarrier.c:39:2: note: in expansion of macro 'this_cpu_write'
this_cpu_write(runqueues.membarrier_state,
^~~~~~~~~~~~~~
kernel/sched/membarrier.c:39:17: note: each undeclared identifier is reported only once for each function it appears in
this_cpu_write(runqueues.membarrier_state,
^
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:509:34: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_write(pcp, val) __pcpu_size_call(this_cpu_write_, pcp, val)
^~~~~~~~~~~~~~~~
kernel/sched/membarrier.c:39:2: note: in expansion of macro 'this_cpu_write'
this_cpu_write(runqueues.membarrier_state,
^~~~~~~~~~~~~~
kernel/sched/membarrier.c: In function 'membarrier_exec_mmap':
kernel/sched/membarrier.c:63:17: error: 'runqueues' undeclared (first use in this function); did you mean 'sigqueue'?
this_cpu_write(runqueues.membarrier_state, 0);
^
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:509:34: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_write(pcp, val) __pcpu_size_call(this_cpu_write_, pcp, val)
^~~~~~~~~~~~~~~~
kernel/sched/membarrier.c:63:2: note: in expansion of macro 'this_cpu_write'
this_cpu_write(runqueues.membarrier_state, 0);
^~~~~~~~~~~~~~
kernel/sched/membarrier.c: In function 'sync_runqueues_membarrier_state':
kernel/sched/membarrier.c:207:18: error: 'runqueues' undeclared (first use in this function); did you mean 'sigqueue'?
this_cpu_write(runqueues.membarrier_state, membarrier_state);
^
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:509:34: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_write(pcp, val) __pcpu_size_call(this_cpu_write_, pcp, val)
^~~~~~~~~~~~~~~~
kernel/sched/membarrier.c:207:3: note: in expansion of macro 'this_cpu_write'
this_cpu_write(runqueues.membarrier_state, membarrier_state);
^~~~~~~~~~~~~~
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(a)lists.01.org Intel Corporation
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 50119 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-03 6:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-03 6:43 [zen-kernel-zen-kernel:5.4/muqss 1/21] kernel/sched/MuQSS.c:138:36: error: 'CONFIG_SHARERQ' undeclared here (not in a function); did you mean 'CONFIG_SPARSE_IRQ'? kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.