[rafael-pm:intel_pstate-testing 14/14] drivers/cpufreq/intel_pstate.c:3301:undefined reference to `arch_rebuild_sched_domains'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git intel_pstate-testing
head:   e35f6a1b27a71e7c8cb1880197e01d93b593cc85
commit: e35f6a1b27a71e7c8cb1880197e01d93b593cc85 [14/14] cpufreq: intel_pstate: Set asymmetric CPU capacity on hybrid systems
config: x86_64-randconfig-014-20240403 (https://download.01.org/0day-ci/archive/20240403/202404031421.nMNiWZMY-lkp@xxxxxxxxx/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240403/202404031421.nMNiWZMY-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/202404031421.nMNiWZMY-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   ld: drivers/cpufreq/intel_pstate.o: in function `intel_pstate_register_driver':
>> drivers/cpufreq/intel_pstate.c:3301:(.text+0x409c): undefined reference to `arch_rebuild_sched_domains'


vim +3301 drivers/cpufreq/intel_pstate.c

  3267	
  3268	static int intel_pstate_register_driver(struct cpufreq_driver *driver)
  3269	{
  3270		int ret;
  3271	
  3272		if (driver == &intel_pstate)
  3273			intel_pstate_sysfs_expose_hwp_dynamic_boost();
  3274	
  3275		memset(&global, 0, sizeof(global));
  3276		global.max_perf_pct = 100;
  3277		global.turbo_disabled = turbo_is_disabled();
  3278		global.no_turbo = global.turbo_disabled;
  3279	
  3280		arch_set_max_freq_ratio(global.turbo_disabled);
  3281	
  3282		intel_pstate_driver = driver;
  3283		ret = cpufreq_register_driver(intel_pstate_driver);
  3284		if (ret) {
  3285			intel_pstate_driver_cleanup();
  3286			return ret;
  3287		}
  3288	
  3289		global.min_perf_pct = min_perf_pct_min();
  3290	
  3291		/*
  3292		 * On hybrid systems, use asym capacity instead of ITMT, but because
  3293		 * the capacity of SMT threads is not deterministic even approximately,
  3294		 * do not do that when SMT is in use.
  3295		 */
  3296		if (hwp_is_hybrid && !sched_smt_active()) {
  3297			sched_clear_itmt_support();
  3298	
  3299			hybrid_init_cpu_scaling();
  3300	
> 3301			arch_rebuild_sched_domains();
  3302		}
  3303	
  3304		return 0;
  3305	}
  3306	

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




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux