* [linux-next:master 11921/12162] include/linux/nmi.h:160: undefined reference to `arch_trigger_cpumask_backtrace'
@ 2023-06-23 15:21 kernel test robot
2023-06-23 15:25 ` Doug Anderson
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2023-06-23 15:21 UTC (permalink / raw)
To: Douglas Anderson
Cc: oe-kbuild-all, Linux Memory Management List, Andrew Morton, Petr Mladek
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 8d2be868b42c08290509c60515865f4de24ea704
commit: 1141ba8fc84c333b138946d4cf973f5ade78b9ed [11921/12162] powerpc: move arch_trigger_cpumask_backtrace from nmi.h to irq.h
config: powerpc-randconfig-r025-20230622 (https://download.01.org/0day-ci/archive/20230623/202306232330.luFAk63S-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230623/202306232330.luFAk63S-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306232330.luFAk63S-lkp@intel.com/
All errors (new ones prefixed by >>):
powerpc-linux-ld: kernel/panic.o: in function `trigger_all_cpu_backtrace':
>> include/linux/nmi.h:160: undefined reference to `arch_trigger_cpumask_backtrace'
>> powerpc-linux-ld: include/linux/nmi.h:160: undefined reference to `arch_trigger_cpumask_backtrace'
>> powerpc-linux-ld: include/linux/nmi.h:160: undefined reference to `arch_trigger_cpumask_backtrace'
powerpc-linux-ld: kernel/sched/core.o: in function `trigger_single_cpu_backtrace':
include/linux/nmi.h:178: undefined reference to `arch_trigger_cpumask_backtrace'
powerpc-linux-ld: kernel/watchdog.o: in function `trigger_allbutself_cpu_backtrace':
include/linux/nmi.h:166: undefined reference to `arch_trigger_cpumask_backtrace'
powerpc-linux-ld: drivers/tty/sysrq.o:include/linux/nmi.h:160: more undefined references to `arch_trigger_cpumask_backtrace' follow
vim +160 include/linux/nmi.h
6e7458a6f074c7 Ulrich Obergfell 2014-10-13 151
47cab6a722d44c Ingo Molnar 2009-08-03 152 /*
47cab6a722d44c Ingo Molnar 2009-08-03 153 * Create trigger_all_cpu_backtrace() out of the arch-provided
47cab6a722d44c Ingo Molnar 2009-08-03 154 * base function. Return whether such support was available,
47cab6a722d44c Ingo Molnar 2009-08-03 155 * to allow calling code to fall back to some other mechanism:
47cab6a722d44c Ingo Molnar 2009-08-03 156 */
9a01c3ed5cdb35 Chris Metcalf 2016-10-07 157 #ifdef arch_trigger_cpumask_backtrace
47cab6a722d44c Ingo Molnar 2009-08-03 158 static inline bool trigger_all_cpu_backtrace(void)
47cab6a722d44c Ingo Molnar 2009-08-03 159 {
9a01c3ed5cdb35 Chris Metcalf 2016-10-07 @160 arch_trigger_cpumask_backtrace(cpu_online_mask, false);
47cab6a722d44c Ingo Molnar 2009-08-03 161 return true;
47cab6a722d44c Ingo Molnar 2009-08-03 162 }
9a01c3ed5cdb35 Chris Metcalf 2016-10-07 163
:::::: The code at line 160 was first introduced by commit
:::::: 9a01c3ed5cdb35d9004eb92510ee6ea11b4a5f16 nmi_backtrace: add more trigger_*_cpu_backtrace() methods
:::::: TO: Chris Metcalf <cmetcalf@mellanox.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-next:master 11921/12162] include/linux/nmi.h:160: undefined reference to `arch_trigger_cpumask_backtrace'
2023-06-23 15:21 [linux-next:master 11921/12162] include/linux/nmi.h:160: undefined reference to `arch_trigger_cpumask_backtrace' kernel test robot
@ 2023-06-23 15:25 ` Doug Anderson
0 siblings, 0 replies; 2+ messages in thread
From: Doug Anderson @ 2023-06-23 15:25 UTC (permalink / raw)
To: kernel test robot
Cc: oe-kbuild-all, Linux Memory Management List, Andrew Morton, Petr Mladek
Hi,
On Fri, Jun 23, 2023 at 8:22 AM kernel test robot <lkp@intel.com> wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: 8d2be868b42c08290509c60515865f4de24ea704
> commit: 1141ba8fc84c333b138946d4cf973f5ade78b9ed [11921/12162] powerpc: move arch_trigger_cpumask_backtrace from nmi.h to irq.h
> config: powerpc-randconfig-r025-20230622 (https://download.01.org/0day-ci/archive/20230623/202306232330.luFAk63S-lkp@intel.com/config)
> compiler: powerpc-linux-gcc (GCC) 12.3.0
> reproduce: (https://download.01.org/0day-ci/archive/20230623/202306232330.luFAk63S-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202306232330.luFAk63S-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> powerpc-linux-ld: kernel/panic.o: in function `trigger_all_cpu_backtrace':
> >> include/linux/nmi.h:160: undefined reference to `arch_trigger_cpumask_backtrace'
> >> powerpc-linux-ld: include/linux/nmi.h:160: undefined reference to `arch_trigger_cpumask_backtrace'
> >> powerpc-linux-ld: include/linux/nmi.h:160: undefined reference to `arch_trigger_cpumask_backtrace'
> powerpc-linux-ld: kernel/sched/core.o: in function `trigger_single_cpu_backtrace':
> include/linux/nmi.h:178: undefined reference to `arch_trigger_cpumask_backtrace'
> powerpc-linux-ld: kernel/watchdog.o: in function `trigger_allbutself_cpu_backtrace':
> include/linux/nmi.h:166: undefined reference to `arch_trigger_cpumask_backtrace'
> powerpc-linux-ld: drivers/tty/sysrq.o:include/linux/nmi.h:160: more undefined references to `arch_trigger_cpumask_backtrace' follow
Thanks for the report! This was already addressed yesterday and the
fixed patch has already been merged into Andrew Morton's tree.
My response to a similar report yesterday:
https://lore.kernel.org/r/CAD=FV=VqnC8o_Bsx8GWYNbp+mRb2kGdfkucy2+RV4tyyGBjK1A@mail.gmail.com
The indication that v2 landed was at:
https://lore.kernel.org/r/20230623033257.B9307C433C0@smtp.kernel.org
I confirmed that the git hash included in ${SUBJECT} report was the
old v1 version.
-Doug
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-23 15:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-23 15:21 [linux-next:master 11921/12162] include/linux/nmi.h:160: undefined reference to `arch_trigger_cpumask_backtrace' kernel test robot
2023-06-23 15:25 ` Doug Anderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox