[PATCH] ppc64 boot: Wait for boot cpu to show up if nr_cpus limit is about to hit.

kbuild test robot lkp at intel.com
Tue Feb 2 05:35:51 AEDT 2016


Hi Mahesh,

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

url:    https://github.com/0day-ci/linux/commits/Mahesh-J-Salgaonkar/ppc64-boot-Wait-for-boot-cpu-to-show-up-if-nr_cpus-limit-is-about-to-hit/20160202-012114
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-allnoconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/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/kernel/prom.c: In function 'early_init_dt_scan_cpus':
>> arch/powerpc/kernel/prom.c:345:14: error: lvalue required as left operand of assignment
      nr_cpu_ids = _ALIGN_UP(nr_cpu_ids, nthreads);
                 ^

vim +345 arch/powerpc/kernel/prom.c

   339	
   340		/*
   341		 * Now that we know threads per core lets align nr_cpu_ids to
   342		 * correct SMT value.
   343		 */
   344		if (nr_cpu_ids % nthreads) {
 > 345			nr_cpu_ids = _ALIGN_UP(nr_cpu_ids, nthreads);
   346			pr_info("Aligned nr_cpus to SMT=%d, nr_cpu_ids = %d\n",
   347					 nthreads, nr_cpu_ids);
   348		}

---
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/octet-stream
Size: 5708 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20160202/f15354ce/attachment.obj>


More information about the Linuxppc-dev mailing list