Re: [PATCH v6 3/3] arch_topology: Add topology_update_cpu_capacity() for runtime updates
From: luoxueqin
Date: Thu Nov 12 2026 - 00:21:26 EST
Thanks for the report. Fixed: the mutex is now defined inside the
CONFIG_ACPI_CPPC_LIB block, next to its only user, so ACPI-less
configs no longer warn. It will be folded into the next revision of
the series.
在 2026/11/12 03:30, kernel test robot 写道:
Hi Xueqin,
kernel test robot noticed the following build warnings:
[auto build test WARNING on driver-core/driver-core-testing]
[also build test WARNING on driver-core/driver-core-next driver-core/driver-core-linus amd-pstate/linux-next amd-pstate/bleeding-edge linus/master v7.4-rc2]
[cannot apply to rafael-pm/linux-next rafael-pm/bleeding-edge next-20261110]
[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/Xueqin-Luo/cpufreq-cppc-Add-update_limits-support-for-Highest-Performance-changes/20261111-165020
base: driver-core/driver-core-testing
patch link: https://lore.kernel.org/r/20261111085022.1229866-4-luoxueqin%40kylinos.cn
patch subject: [PATCH v6 3/3] arch_topology: Add topology_update_cpu_capacity() for runtime updates
config: arm-defconfig (https://download.01.org/0day-ci/archive/20261112/202611120358.5eM3xOiA-lkp@xxxxxxxxx/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project e73e336290028f26553b46c9fba844c13da38c9c)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261112/202611120358.5eM3xOiA-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/202611120358.5eM3xOiA-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
232 | static DEFINE_MUTEX(raw_capacity_lock);drivers/base/arch_topology.c:232:21: warning: unused variable 'raw_capacity_lock' [-Wunused-variable]
| ^~~~~~~~~~~~~~~~~
1 warning generated.
vim +/raw_capacity_lock +232 drivers/base/arch_topology.c
230
231 static u32 *raw_capacity;
> 232 static DEFINE_MUTEX(raw_capacity_lock);
233
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki