[PATCH v2] powerpc/xmon: Wait for secondaries before IPI'ing on system reset

kbuild test robot lkp at intel.com
Sat Apr 29 21:06:57 AEST 2017


Hi Nicholas,

[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.11-rc8 next-20170428]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Michael-Ellerman/powerpc-xmon-Wait-for-secondaries-before-IPI-ing-on-system-reset/20170429-143734
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-holly_defconfig (attached as .config)
compiler: powerpc-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

All errors (new ones prefixed by >>):

   arch/powerpc/xmon/xmon.c: In function 'wait_for_other_cpus':
>> arch/powerpc/xmon/xmon.c:439:23: error: 'cpus_in_xmon' undeclared (first use in this function)
      if (cpumask_weight(&cpus_in_xmon) >= ncpus)
                          ^~~~~~~~~~~~
   arch/powerpc/xmon/xmon.c:439:23: note: each undeclared identifier is reported only once for each function it appears in
   At top level:
>> arch/powerpc/xmon/xmon.c:433:13: error: 'wait_for_other_cpus' defined but not used [-Werror=unused-function]
    static bool wait_for_other_cpus(int ncpus)
                ^~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors

vim +/cpus_in_xmon +439 arch/powerpc/xmon/xmon.c

   427		return 0;
   428	#else
   429		return ((regs->msr & MSR_RI) == 0);
   430	#endif
   431	}
   432	
 > 433	static bool wait_for_other_cpus(int ncpus)
   434	{
   435		unsigned long timeout;
   436	
   437		/* We wait for 2s, which is a metric "little while" */
   438		for (timeout = 20000; timeout != 0; --timeout) {
 > 439			if (cpumask_weight(&cpus_in_xmon) >= ncpus)
   440				return true;
   441			udelay(100);
   442			barrier();

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 13182 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20170429/a23c65f5/attachment.gz>


More information about the Linuxppc-dev mailing list