[PATCHv5 1/3] powerpc/setup: Loosen the mapping between cpu logical id and its seq in dt

kernel test robot lkp at intel.com
Fri Sep 8 08:47:36 PDT 2023


Hi Pingfan,

kernel test robot noticed the following build errors:

[auto build test ERROR on powerpc/fixes]
[also build test ERROR on linus/master v6.5 next-20230908]
[cannot apply to powerpc/next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Pingfan-Liu/powerpc-setup-Loosen-the-mapping-between-cpu-logical-id-and-its-seq-in-dt/20230908-222430
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git fixes
patch link:    https://lore.kernel.org/r/20230908141941.13660-2-piliu%40redhat.com
patch subject: [PATCHv5 1/3] powerpc/setup: Loosen the mapping between cpu logical id and its seq in dt
config: powerpc-allnoconfig (https://download.01.org/0day-ci/archive/20230908/202309082357.FUmBMhC4-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230908/202309082357.FUmBMhC4-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309082357.FUmBMhC4-lkp@intel.com/

All errors (new ones prefixed by >>):

   arch/powerpc/kernel/prom.c: In function 'early_init_dt_scan_cpus':
   arch/powerpc/kernel/prom.c:365:44: error: lvalue required as left operand of assignment
     365 |                                 nr_cpu_ids = nthreads;
         |                                            ^
   arch/powerpc/kernel/prom.c: At top level:
>> arch/powerpc/kernel/prom.c:79:23: error: 'boot_cpu_count' defined but not used [-Werror=unused-variable]
      79 | static int __initdata boot_cpu_count;
         |                       ^~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/boot_cpu_count +79 arch/powerpc/kernel/prom.c

c1e53367dab15e Srikar Dronamraju      2021-04-15  70  
9b6b563c0d2d25 Paul Mackerras         2005-10-06  71  #ifdef CONFIG_PPC64
28897731318dc8 Olof Johansson         2006-04-12  72  int __initdata iommu_is_off;
9b6b563c0d2d25 Paul Mackerras         2005-10-06  73  int __initdata iommu_force_on;
cf00a8d18b9a1c Paul Mackerras         2005-10-31  74  unsigned long tce_alloc_start, tce_alloc_end;
cd3db0c4ca3d23 Benjamin Herrenschmidt 2010-07-06  75  u64 ppc64_rma_size;
e13d23a404f2e6 Laurent Dufour         2022-11-10  76  unsigned int boot_cpu_node_count __ro_after_init;
9b6b563c0d2d25 Paul Mackerras         2005-10-06  77  #endif
03bf469add176a Benjamin Herrenschmidt 2011-05-11  78  static phys_addr_t first_memblock_size;
7ac87abb8166b9 Matt Evans             2011-05-25 @79  static int __initdata boot_cpu_count;
9b6b563c0d2d25 Paul Mackerras         2005-10-06  80  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



More information about the kexec mailing list