public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: oe-kbuild-all@lists.linux.dev, linux-acpi@vger.kernel.org,
	devel@acpica.org, linux-pm@vger.kernel.org
Subject: [rafael-pm:intel_pstate-testing 14/14] drivers/cpufreq/intel_pstate.c:3301:undefined reference to `arch_rebuild_sched_domains'
Date: Wed, 3 Apr 2024 14:58:46 +0800	[thread overview]
Message-ID: <202404031421.nMNiWZMY-lkp@intel.com> (raw)

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@intel.com/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@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404031421.nMNiWZMY-lkp@intel.com/

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

                 reply	other threads:[~2024-04-03  6:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202404031421.nMNiWZMY-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=devel@acpica.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=rjw@rjwysocki.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox