[openeuler:OLK-6.6 2325/2325] drivers/base/arch_topology.c:811:2: error: implicit declaration of function 'cgroup_ifs_set_smt'

tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: cfad96a37ec3a62cb1ea2535fad80e91a1c10ec6 commit: edff31302c6d1f41a3da02c92118b06a203f3248 [2325/2325] interference: Add smt interference track support config: arm64-randconfig-001-20250528 (https://download.01.org/0day-ci/archive/20250528/202505282112.qVJOB1Zd-lkp@i...) compiler: aarch64-linux-gcc (GCC) 9.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250528/202505282112.qVJOB1Zd-lkp@i...) 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@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202505282112.qVJOB1Zd-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/base/arch_topology.c: In function 'update_siblings_masks':
drivers/base/arch_topology.c:811:2: error: implicit declaration of function 'cgroup_ifs_set_smt' [-Werror=implicit-function-declaration] 811 | cgroup_ifs_set_smt(&cpuid_topo->thread_sibling); | ^~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors
Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for HALTPOLL_CPUIDLE Depends on [n]: CPU_IDLE [=n] && ARCH_CPUIDLE_HALTPOLL [=y] && ARCH_HAS_OPTIMIZED_POLL [=y] Selected by [y]: - ARM64 [=y] vim +/cgroup_ifs_set_smt +811 drivers/base/arch_topology.c 771 772 void update_siblings_masks(unsigned int cpuid) 773 { 774 struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; 775 int cpu, ret; 776 777 ret = detect_cache_attributes(cpuid); 778 if (ret && ret != -ENOENT) 779 pr_info("Early cacheinfo allocation failed, ret = %d\n", ret); 780 781 /* update core and thread sibling masks */ 782 for_each_online_cpu(cpu) { 783 cpu_topo = &cpu_topology[cpu]; 784 785 if (last_level_cache_is_shared(cpu, cpuid)) { 786 cpumask_set_cpu(cpu, &cpuid_topo->llc_sibling); 787 cpumask_set_cpu(cpuid, &cpu_topo->llc_sibling); 788 } 789 790 if (cpuid_topo->package_id != cpu_topo->package_id) 791 continue; 792 793 cpumask_set_cpu(cpuid, &cpu_topo->core_sibling); 794 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); 795 796 if (cpuid_topo->cluster_id != cpu_topo->cluster_id) 797 continue; 798 799 if (cpuid_topo->cluster_id >= 0) { 800 cpumask_set_cpu(cpu, &cpuid_topo->cluster_sibling); 801 cpumask_set_cpu(cpuid, &cpu_topo->cluster_sibling); 802 } 803 804 if (cpuid_topo->core_id != cpu_topo->core_id) 805 continue; 806 807 cpumask_set_cpu(cpuid, &cpu_topo->thread_sibling); 808 cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling); 809 } 810
811 cgroup_ifs_set_smt(&cpuid_topo->thread_sibling); 812 } 813
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot