From: kernel test robot <lkp@intel.com>
To: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-acpi@vger.kernel.org, linux-pm@vger.kernel.org,
"Rafael J. Wysocki" <rjw@rjwysocki.net>
Subject: [rafael-pm:bleeding-edge 175/181] drivers/powercap/intel_rapl_common.c:1143:25: error: use of undeclared identifier 'IOSF_CPU_POWER_BUDGET_CTL_BYT'
Date: Tue, 31 Mar 2026 05:24:08 +0800 [thread overview]
Message-ID: <202603310544.0WC7CT1o-lkp@intel.com> (raw)
Hi Kuppuswamy,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head: a4b9106c1c54a3f214009aa006cf31f9329b6b27
commit: 6cec0a0079bc188fbb9f0363c11973a81f8fbf9c [175/181] powercap: intel_rapl: Remove unused macro definitions
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260331/202603310544.0WC7CT1o-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260331/202603310544.0WC7CT1o-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/202603310544.0WC7CT1o-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/powercap/intel_rapl_common.c:1143:25: error: use of undeclared identifier 'IOSF_CPU_POWER_BUDGET_CTL_BYT'
1143 | .floor_freq_reg_addr = IOSF_CPU_POWER_BUDGET_CTL_BYT,
| ^
>> drivers/powercap/intel_rapl_common.c:1150:25: error: use of undeclared identifier 'IOSF_CPU_POWER_BUDGET_CTL_TNG'
1150 | .floor_freq_reg_addr = IOSF_CPU_POWER_BUDGET_CTL_TNG,
| ^
2 errors generated.
vim +/IOSF_CPU_POWER_BUDGET_CTL_BYT +1143 drivers/powercap/intel_rapl_common.c
2d798d9f5967a3 drivers/powercap/intel_rapl_common.c Zhang Rui 2020-06-29 1141
51b63409b75980 drivers/powercap/intel_rapl.c Ajay Thomas 2015-04-30 1142 static const struct rapl_defaults rapl_defaults_byt = {
51b63409b75980 drivers/powercap/intel_rapl.c Ajay Thomas 2015-04-30 @1143 .floor_freq_reg_addr = IOSF_CPU_POWER_BUDGET_CTL_BYT,
51b63409b75980 drivers/powercap/intel_rapl.c Ajay Thomas 2015-04-30 1144 .check_unit = rapl_check_unit_atom,
51b63409b75980 drivers/powercap/intel_rapl.c Ajay Thomas 2015-04-30 1145 .set_floor_freq = set_floor_freq_atom,
51b63409b75980 drivers/powercap/intel_rapl.c Ajay Thomas 2015-04-30 1146 .compute_time_window = rapl_compute_time_window_atom,
51b63409b75980 drivers/powercap/intel_rapl.c Ajay Thomas 2015-04-30 1147 };
51b63409b75980 drivers/powercap/intel_rapl.c Ajay Thomas 2015-04-30 1148
51b63409b75980 drivers/powercap/intel_rapl.c Ajay Thomas 2015-04-30 1149 static const struct rapl_defaults rapl_defaults_tng = {
51b63409b75980 drivers/powercap/intel_rapl.c Ajay Thomas 2015-04-30 @1150 .floor_freq_reg_addr = IOSF_CPU_POWER_BUDGET_CTL_TNG,
3c2c08454ce9ca drivers/powercap/intel_rapl.c Jacob Pan 2014-11-07 1151 .check_unit = rapl_check_unit_atom,
3c2c08454ce9ca drivers/powercap/intel_rapl.c Jacob Pan 2014-11-07 1152 .set_floor_freq = set_floor_freq_atom,
3c2c08454ce9ca drivers/powercap/intel_rapl.c Jacob Pan 2014-11-07 1153 .compute_time_window = rapl_compute_time_window_atom,
087e9cbab5022f drivers/powercap/intel_rapl.c Jacob Pan 2014-11-07 1154 };
087e9cbab5022f drivers/powercap/intel_rapl.c Jacob Pan 2014-11-07 1155
:::::: The code at line 1143 was first introduced by commit
:::::: 51b63409b75980753f52edb45da7d1b3e2b9405d powercap / RAPL: Floor frequency setting in Atom SoC
:::::: TO: Ajay Thomas <ajay.thomas.david.rajamanickam@intel.com>
:::::: CC: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-03-30 21:24 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=202603310544.0WC7CT1o-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rjw@rjwysocki.net \
--cc=sathyanarayanan.kuppuswamy@linux.intel.com \
/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