Messages in this thread | | | Date | Fri, 13 Aug 2021 04:02:37 +0800 | From | kernel test robot <> | Subject | [linuxppc:next-test 18/70] arch/powerpc/platforms/pseries/hotplug-cpu.c:1022:8: error: 'node_to_cpumask_map' undeclared |
| |
tree: https://github.com/linuxppc/linux next-test head: aaf01a9f507c108cc8e86f420b0a81e21354be1b commit: bd1dd4c5f5286df0148b5b316f37c583b8f55fa1 [18/70] powerpc/pseries: Prevent free CPU ids being reused on another node config: powerpc-randconfig-r005-20210812 (attached as .config) compiler: powerpc-linux-gcc (GCC) 10.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/linuxppc/linux/commit/bd1dd4c5f5286df0148b5b316f37c583b8f55fa1 git remote add linuxppc https://github.com/linuxppc/linux git fetch --no-tags linuxppc next-test git checkout bd1dd4c5f5286df0148b5b316f37c583b8f55fa1 # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash arch/powerpc/platforms/pseries/
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arch/powerpc/platforms/pseries/hotplug-cpu.c: In function 'pseries_cpu_hotplug_init': >> arch/powerpc/platforms/pseries/hotplug-cpu.c:1022:8: error: 'node_to_cpumask_map' undeclared (first use in this function) 1022 | node_to_cpumask_map[node]); | ^~~~~~~~~~~~~~~~~~~ arch/powerpc/platforms/pseries/hotplug-cpu.c:1022:8: note: each undeclared identifier is reported only once for each function it appears in
vim +/node_to_cpumask_map +1022 arch/powerpc/platforms/pseries/hotplug-cpu.c
999 1000 rtas_stop_self_token = rtas_token("stop-self"); 1001 qcss_tok = rtas_token("query-cpu-stopped-state"); 1002 1003 if (rtas_stop_self_token == RTAS_UNKNOWN_SERVICE || 1004 qcss_tok == RTAS_UNKNOWN_SERVICE) { 1005 printk(KERN_INFO "CPU Hotplug not supported by firmware " 1006 "- disabling.\n"); 1007 return 0; 1008 } 1009 1010 smp_ops->cpu_offline_self = pseries_cpu_offline_self; 1011 smp_ops->cpu_disable = pseries_cpu_disable; 1012 smp_ops->cpu_die = pseries_cpu_die; 1013 1014 /* Processors can be added/removed only on LPAR */ 1015 if (firmware_has_feature(FW_FEATURE_LPAR)) { 1016 for_each_node(node) { 1017 alloc_bootmem_cpumask_var(&node_recorded_ids_map[node]); 1018 1019 /* Record ids of CPU added at boot time */ 1020 cpumask_or(node_recorded_ids_map[node], 1021 node_recorded_ids_map[node], > 1022 node_to_cpumask_map[node]);
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |