Hi "Gautham, Thank you for the patch! Yet something to improve: [auto build test ERROR on powerpc/next] [also build test ERROR on v5.10-rc6 next-20201203] [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] url: https://github.com/0day-ci/linux/commits/Gautham-R-Shenoy/Extend-Parsing-ibm-thread-groups-for-Shared-L2-information/20201204-125539 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next config: powerpc-allnoconfig (attached as .config) compiler: powerpc-linux-gcc (GCC) 9.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/0day-ci/linux/commit/50eddc8f426f7197dab6d84dd9078ed53161c2ad git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Gautham-R-Shenoy/Extend-Parsing-ibm-thread-groups-for-Shared-L2-information/20201204-125539 git checkout 50eddc8f426f7197dab6d84dd9078ed53161c2ad # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): arch/powerpc/kernel/cacheinfo.c: In function 'get_big_core_shared_cpu_map': >> arch/powerpc/kernel/cacheinfo.c:669:10: error: implicit declaration of function 'cpu_l2_cache_mask'; did you mean 'cpu_active_mask'? [-Werror=implicit-function-declaration] 669 | return cpu_l2_cache_mask(cpu); | ^~~~~~~~~~~~~~~~~ | cpu_active_mask >> arch/powerpc/kernel/cacheinfo.c:669:10: error: returning 'int' from a function with return type 'const struct cpumask *' makes pointer from integer without a cast [-Werror=int-conversion] 669 | return cpu_l2_cache_mask(cpu); | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors vim +669 arch/powerpc/kernel/cacheinfo.c 653 654 extern bool thread_group_shares_l2; 655 /* 656 * On big-core systems, each core has two groups of CPUs each of which 657 * has its own L1-cache. The thread-siblings which share l1-cache with 658 * @cpu can be obtained via cpu_smallcore_mask(). 659 * 660 * On some big-core systems, the L2 cache is shared only between some 661 * groups of siblings. This is already parsed and encoded in 662 * cpu_l2_cache_mask(). 663 */ 664 static const struct cpumask *get_big_core_shared_cpu_map(int cpu, struct cache *cache) 665 { 666 if (cache->level == 1) 667 return cpu_smallcore_mask(cpu); 668 if (cache->level == 2 && thread_group_shares_l2) > 669 return cpu_l2_cache_mask(cpu); 670 671 return &cache->shared_cpu_map; 672 } 673 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org