Re: [PATCH 1/3] sched/topology: Introduce arch hooks for asympacking

From: kernel test robot

Date: Thu Mar 26 2026 - 09:34:55 EST


Hi Christian,

kernel test robot noticed the following build errors:

[auto build test ERROR on tip/sched/core]
[also build test ERROR on arm64/for-next/core driver-core/driver-core-testing driver-core/driver-core-next driver-core/driver-core-linus peterz-queue/sched/core linus/master v7.0-rc5 next-20260325]
[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/Christian-Loehle/sched-topology-Introduce-arch-hooks-for-asympacking/20260326-145644
base: tip/sched/core
patch link: https://lore.kernel.org/r/20260325181314.3875909-2-christian.loehle%40arm.com
patch subject: [PATCH 1/3] sched/topology: Introduce arch hooks for asympacking
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260326/202603261419.mAKkKckS-lkp@xxxxxxxxx/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260326/202603261419.mAKkKckS-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603261419.mAKkKckS-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> arch/x86/kernel/itmt.c:168:5: error: redefinition of 'topology_arch_asym_cpu_priority'
168 | int arch_asym_cpu_priority(int cpu)
| ^
include/linux/arch_topology.h:131:32: note: expanded from macro 'arch_asym_cpu_priority'
131 | #define arch_asym_cpu_priority topology_arch_asym_cpu_priority
| ^
include/linux/arch_topology.h:132:19: note: previous definition is here
132 | static inline int topology_arch_asym_cpu_priority(int cpu)
| ^
1 error generated.


vim +/topology_arch_asym_cpu_priority +168 arch/x86/kernel/itmt.c

5e76b2ab36b40c Tim Chen 2016-11-22 167
5e76b2ab36b40c Tim Chen 2016-11-22 @168 int arch_asym_cpu_priority(int cpu)
5e76b2ab36b40c Tim Chen 2016-11-22 169 {
5e76b2ab36b40c Tim Chen 2016-11-22 170 return per_cpu(sched_core_priority, cpu);
5e76b2ab36b40c Tim Chen 2016-11-22 171 }
5e76b2ab36b40c Tim Chen 2016-11-22 172

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