lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 5 Jul 2019 06:47:36 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Thomas Gleixner <tglx@...utronix.de>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org, tipbuild@...or.com
Subject: [tip:WIP.x86/ipi 1/25] arch/x86/kernel/kgdb.c:427:28: error:
 'VECTOR_NMI' undeclared

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@...el.com>

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

Download attachment ".config.gz" of type "application/gzip" (68535 bytes)

Powered by blists - more mailing lists