Re: [PATCH v2 2/2] ACPI: processor: idle: Fix incorrect power management decisions after power notify

kernel test robot
2026-04-11T11:05:20Z

::::::
:::::: Manual check reason: "low confidence bisect report"
::::::

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20260407081141.2493581-3-lihuisong@huawei.com>
References: <20260407081141.2493581-3-lihuisong@huawei.com>
TO: Huisong Li <lihuisong@huawei.com>
TO: rafael@kernel.org
TO: lenb@kernel.org
CC: linux-acpi@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: linuxarm@huawei.com
CC: jonathan.cameron@huawei.com
CC: zhanjie9@hisilicon.com
CC: zhenglifeng1@huawei.com
CC: yubowen8@huawei.com
CC: wangzhi12@huawei.com
CC: zhangpengjie2@huawei.com
CC: wanghuiqiang@huawei.com
CC: lihuisong@huawei.com

Hi Huisong,

kernel test robot noticed the following build warnings:

[auto build test WARNING on v7.0-rc7]
[also build test WARNING on linus/master]
[cannot apply to rafael-pm/linux-next rafael-pm/bleeding-edge next-20260410]
[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/Huisong-Li/cpuidle-Extract-and-export-no-lock-variants-of-cpuidle_unregister_device/20260411-041527
base: v7.0-rc7
patch link: https://lore.kernel.org/r/20260407081141.2493581-3-lihuisong%40huawei.com
patch subject: [PATCH v2 2/2] ACPI: processor: idle: Fix incorrect power management decisions after power notify
:::::: branch date: 15 hours ago
:::::: commit date: 15 hours ago
config: s390-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260411/202604111336.AAgr6FPl-lkp@intel.com/config)
compiler: s390x-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260411/202604111336.AAgr6FPl-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/r/202604111336.AAgr6FPl-lkp@intel.com/

All warnings (new ones prefixed by >>):

In file included from kernel/sched/fair.c:42:
>> ./include/linux/cpuidle.h:230:13: warning: 'cpuidle_unregister_device_no_lock' defined but not used [-Wunused-function]
230 | static void cpuidle_unregister_device_no_lock(struct cpuidle_device *dev) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/cpuidle_unregister_device_no_lock +230 ./include/linux/cpuidle.h

1a022e3f1be117 Boris Ostrovsky 2012-03-13 202
bf4d1b5ddb78f8 Daniel Lezcano 2012-10-31 203 extern struct cpuidle_driver *cpuidle_get_cpu_driver(struct cpuidle_device *dev);
9bd616e3dbedfc Catalin Marinas 2016-06-01 204 static inline struct cpuidle_device *cpuidle_get_device(void)
9bd616e3dbedfc Catalin Marinas 2016-06-01 205 {return __this_cpu_read(cpuidle_devices); }
4f86d3a8e29720 Len Brown 2007-10-03 206 #else
d91ee5863b71e8 Len Brown 2011-04-01 207 static inline void disable_cpuidle(void) { }
ef2b22ac540c01 Rafael J. Wysocki 2015-03-02 208 static inline bool cpuidle_not_available(struct cpuidle_driver *drv,
ef2b22ac540c01 Rafael J. Wysocki 2015-03-02 209 struct cpuidle_device *dev)
ef2b22ac540c01 Rafael J. Wysocki 2015-03-02 210 {return true; }
907e30f1bb4a96 Daniel Lezcano 2014-03-03 211 static inline int cpuidle_select(struct cpuidle_driver *drv,
45f1ff59e27ca5 Rafael J. Wysocki 2018-03-22 212 struct cpuidle_device *dev, bool *stop_tick)
907e30f1bb4a96 Daniel Lezcano 2014-03-03 213 {return -ENODEV; }
907e30f1bb4a96 Daniel Lezcano 2014-03-03 214 static inline int cpuidle_enter(struct cpuidle_driver *drv,
907e30f1bb4a96 Daniel Lezcano 2014-03-03 215 struct cpuidle_device *dev, int index)
907e30f1bb4a96 Daniel Lezcano 2014-03-03 216 {return -ENODEV; }
907e30f1bb4a96 Daniel Lezcano 2014-03-03 217 static inline void cpuidle_reflect(struct cpuidle_device *dev, int index) { }
7dcddef6f769d7 Stephen Rothwell 2019-07-31 218 static inline u64 cpuidle_poll_time(struct cpuidle_driver *drv,
259231a045616c Marcelo Tosatti 2019-07-03 219 struct cpuidle_device *dev)
259231a045616c Marcelo Tosatti 2019-07-03 220 {return 0; }
4f86d3a8e29720 Len Brown 2007-10-03 221 static inline int cpuidle_register_driver(struct cpuidle_driver *drv)
6b2c676bf32be9 Len Brown 2010-05-11 222 {return -ENODEV; }
752138df0dc2da Len Brown 2010-05-22 223 static inline struct cpuidle_driver *cpuidle_get_driver(void) {return NULL; }
cbda56d5fefceb Rafael J. Wysocki 2019-11-18 224 static inline void cpuidle_driver_state_disabled(struct cpuidle_driver *drv,
cbda56d5fefceb Rafael J. Wysocki 2019-11-18 225 int idx, bool disable) { }
4f86d3a8e29720 Len Brown 2007-10-03 226 static inline void cpuidle_unregister_driver(struct cpuidle_driver *drv) { }
4f86d3a8e29720 Len Brown 2007-10-03 227 static inline int cpuidle_register_device(struct cpuidle_device *dev)
6b2c676bf32be9 Len Brown 2010-05-11 228 {return -ENODEV; }
4f86d3a8e29720 Len Brown 2007-10-03 229 static inline void cpuidle_unregister_device(struct cpuidle_device *dev) { }
163761198da6ad Huisong Li 2026-04-07 @230 static void cpuidle_unregister_device_no_lock(struct cpuidle_device *dev) {}
4c637b2175a0dc Daniel Lezcano 2013-04-23 231 static inline int cpuidle_register(struct cpuidle_driver *drv,
4c637b2175a0dc Daniel Lezcano 2013-04-23 232 const struct cpumask *const coupled_cpus)
4c637b2175a0dc Daniel Lezcano 2013-04-23 233 {return -ENODEV; }
4c637b2175a0dc Daniel Lezcano 2013-04-23 234 static inline void cpuidle_unregister(struct cpuidle_driver *drv) { }
4f86d3a8e29720 Len Brown 2007-10-03 235 static inline void cpuidle_pause_and_lock(void) { }
4f86d3a8e29720 Len Brown 2007-10-03 236 static inline void cpuidle_resume_and_unlock(void) { }
8651f97bd951d0 Preeti U Murthy 2012-07-09 237 static inline void cpuidle_pause(void) { }
8651f97bd951d0 Preeti U Murthy 2012-07-09 238 static inline void cpuidle_resume(void) { }
4f86d3a8e29720 Len Brown 2007-10-03 239 static inline int cpuidle_enable_device(struct cpuidle_device *dev)
6b2c676bf32be9 Len Brown 2010-05-11 240 {return -ENODEV; }
4f86d3a8e29720 Len Brown 2007-10-03 241 static inline void cpuidle_disable_device(struct cpuidle_device *dev) { }
1a022e3f1be117 Boris Ostrovsky 2012-03-13 242 static inline int cpuidle_play_dead(void) {return -ENODEV; }
87e9b9f1d86c2e Rafael J. Wysocki 2015-05-16 243 static inline struct cpuidle_driver *cpuidle_get_cpu_driver(
87e9b9f1d86c2e Rafael J. Wysocki 2015-05-16 244 struct cpuidle_device *dev) {return NULL; }
9bd616e3dbedfc Catalin Marinas 2016-06-01 245 static inline struct cpuidle_device *cpuidle_get_device(void) {return NULL; }
87e9b9f1d86c2e Rafael J. Wysocki 2015-05-16 246 #endif
87e9b9f1d86c2e Rafael J. Wysocki 2015-05-16 247

--
0-DAY CI Kernel Test Service