[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <831EE4E5E37DCC428EB295A351E66249524206DF@shsmsx102.ccr.corp.intel.com>
Date: Thu, 5 Mar 2020 15:14:29 +0000
From: "Li, Philip" <philip.li@...el.com>
To: lkp <lkp@...el.com>, "cl@...k-chips.com" <cl@...k-chips.com>
CC: "kbuild-all@...ts.01.org" <kbuild-all@...ts.01.org>,
"heiko@...ech.de" <heiko@...ech.de>,
"mingo@...hat.com" <mingo@...hat.com>,
"peterz@...radead.org" <peterz@...radead.org>,
"juri.lelli@...hat.com" <juri.lelli@...hat.com>,
"vincent.guittot@...aro.org" <vincent.guittot@...aro.org>,
"dietmar.eggemann@....com" <dietmar.eggemann@....com>,
"rostedt@...dmis.org" <rostedt@...dmis.org>,
"bsegall@...gle.com" <bsegall@...gle.com>,
"mgorman@...e.de" <mgorman@...e.de>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"mpe@...erman.id.au" <mpe@...erman.id.au>,
"surenb@...gle.com" <surenb@...gle.com>,
"ben.dooks@...ethink.co.uk" <ben.dooks@...ethink.co.uk>,
"anshuman.khandual@....com" <anshuman.khandual@....com>,
"catalin.marinas@....com" <catalin.marinas@....com>,
"will@...nel.org" <will@...nel.org>,
"keescook@...omium.org" <keescook@...omium.org>,
"luto@...capital.net" <luto@...capital.net>,
"wad@...omium.org" <wad@...omium.org>,
"mark.rutland@....com" <mark.rutland@....com>,
"geert+renesas@...der.be" <geert+renesas@...der.be>,
"george_davis@...tor.com" <george_davis@...tor.com>,
"sudeep.holla@....com" <sudeep.holla@....com>,
"linux@...linux.org.uk" <linux@...linux.org.uk>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"info@...ux.net" <info@...ux.net>,
"kstewart@...uxfoundation.org" <kstewart@...uxfoundation.org>,
"allison@...utok.net" <allison@...utok.net>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"huangtao@...k-chips.com" <huangtao@...k-chips.com>,
Liang Chen <cl@...k-chips.com>
Subject: RE: [kbuild-all] Re: [PATCH v1 1/1] sched/fair: do not preempt
current task if it is going to call schedule()
> Subject: [kbuild-all] Re: [PATCH v1 1/1] sched/fair: do not preempt current task if
> it is going to call schedule()
>
> Hi,
>
> Thank you for the patch! Yet something to improve:
Sorry, there're a few duplicated reports around this patch, kindly
ignore similar reports, we will look for the possible issue.
Thanks
>
> [auto build test ERROR on tip/sched/core]
> [also build test ERROR on arm64/for-next/core tip/auto-latest linus/master v5.6-
> rc4 next-20200305]
> [if your patch is applied to the wrong git tree, please drop us a note to help
> improve the system. BTW, we also suggest to use '--base' option to specify the
> base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
>
> url: https://github.com/0day-ci/linux/commits/cl-rock-chips-
> com/wait_task_inactive-spend-too-much-time-on-system-startup/20200305-
> 201639
> base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
> a0f03b617c3b2644d3d47bf7d9e60aed01bd5b10
> config: s390-zfcpdump_defconfig (attached as .config)
> compiler: s390-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
> # save the attached .config to linux build tree
> GCC_VERSION=7.5.0 make.cross ARCH=s390
>
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@...el.com>
>
> All errors (new ones prefixed by >>):
>
> In file included from include/linux/kvm_host.h:12:0,
> from arch/s390/kernel/asm-offsets.c:11:
> include/linux/sched.h: In function 'set_tsk_going_to_sched':
> >> include/linux/sched.h:1776:27: error: 'TIF_GOING_TO_SCHED' undeclared
> (first use in this function); did you mean 'TIF_SINGLE_STEP'?
> set_tsk_thread_flag(tsk, TIF_GOING_TO_SCHED);
> ^~~~~~~~~~~~~~~~~~
> TIF_SINGLE_STEP
> include/linux/sched.h:1776:27: note: each undeclared identifier is reported only
> once for each function it appears in
> include/linux/sched.h: In function 'clear_tsk_going_to_sched':
> include/linux/sched.h:1781:29: error: 'TIF_GOING_TO_SCHED' undeclared (first
> use in this function); did you mean 'TIF_SINGLE_STEP'?
> clear_tsk_thread_flag(tsk, TIF_GOING_TO_SCHED);
> ^~~~~~~~~~~~~~~~~~
> TIF_SINGLE_STEP
> In file included from include/linux/kernel.h:11:0,
> from include/linux/list.h:9,
> from include/linux/preempt.h:11,
> from include/linux/hardirq.h:5,
> from include/linux/kvm_host.h:7,
> from arch/s390/kernel/asm-offsets.c:11:
> include/linux/sched.h: In function 'test_tsk_going_to_sched':
> include/linux/sched.h:1786:44: error: 'TIF_GOING_TO_SCHED' undeclared (first
> use in this function); did you mean 'TIF_SINGLE_STEP'?
> return unlikely(test_tsk_thread_flag(tsk, TIF_GOING_TO_SCHED));
> ^
> include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
> # define unlikely(x) __builtin_expect(!!(x), 0)
> ^
> make[2]: *** [scripts/Makefile.build:101: arch/s390/kernel/asm-offsets.s] Error 1
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [Makefile:1112: prepare0] Error 2
> make[1]: Target 'prepare' not remade because of errors.
> make: *** [Makefile:179: sub-make] Error 2
> 142 real 47 user 83 sys 92.07% cpu make prepare
>
> vim +1776 include/linux/sched.h
>
> 1773
> 1774 static inline void set_tsk_going_to_sched(struct task_struct *tsk)
> 1775 {
> > 1776 set_tsk_thread_flag(tsk, TIF_GOING_TO_SCHED);
> 1777 }
> 1778
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists