[tip:WIP.x86/ipi 1/25] arch/x86/kernel/kgdb.c:427:28: error: 'VECTOR_NMI' undeclared
From: kbuild test robot
Date: Thu Jul 04 2019 - 18:51:27 EST
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/ipi
head: 64fca03f132d830b48b20a8547fb8337e89715cd
commit: 3883fea4fbeb4a505c6db87b0ba9af910e10a07e [1/25] x86/kgbd: Use NMI_VECTOR not APIC_DM_NMI
config: i386-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-6) 7.4.0
reproduce:
git checkout 3883fea4fbeb4a505c6db87b0ba9af910e10a07e
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
arch/x86/kernel/kgdb.c: In function 'kgdb_roundup_cpus':
>> arch/x86/kernel/kgdb.c:427:28: error: 'VECTOR_NMI' undeclared (first use in this function)
apic->send_IPI_allbutself(VECTOR_NMI);
^~~~~~~~~~
arch/x86/kernel/kgdb.c:427:28: note: each undeclared identifier is reported only once for each function it appears in
vim +/VECTOR_NMI +427 arch/x86/kernel/kgdb.c
412
413 #ifdef CONFIG_SMP
414 /**
415 * kgdb_roundup_cpus - Get other CPUs into a holding pattern
416 *
417 * On SMP systems, we need to get the attention of the other CPUs
418 * and get them be in a known state. This should do what is needed
419 * to get the other CPUs to call kgdb_wait(). Note that on some arches,
420 * the NMI approach is not used for rounding up all the CPUs. For example,
421 * in case of MIPS, smp_call_function() is used to roundup CPUs.
422 *
423 * On non-SMP systems, this is not called.
424 */
425 void kgdb_roundup_cpus(void)
426 {
> 427 apic->send_IPI_allbutself(VECTOR_NMI);
428 }
429 #endif
430
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip