Re: [PATCH v3] PM: QoS: Introduce boot parameter pm_qos_resume_latency_us
From: kernel test robot
Date: Sat Mar 07 2026 - 23:26:37 EST
Hi Aaron,
kernel test robot noticed the following build errors:
[auto build test ERROR on driver-core/driver-core-testing]
[also build test ERROR on driver-core/driver-core-next driver-core/driver-core-linus rafael-pm/linux-next rafael-pm/bleeding-edge akpm-mm/mm-everything linus/master v6.16-rc1 next-20260306]
[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/Aaron-Tomlin/PM-QoS-Introduce-boot-parameter-pm_qos_resume_latency_us/20260308-040909
base: driver-core/driver-core-testing
patch link: https://lore.kernel.org/r/20260307200736.4192234-1-atomlin%40atomlin.com
patch subject: [PATCH v3] PM: QoS: Introduce boot parameter pm_qos_resume_latency_us
config: i386-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260308/202603080526.A162fF4D-lkp@xxxxxxxxx/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260308/202603080526.A162fF4D-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/202603080526.A162fF4D-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
>> kernel/power/qos.c:344:5: error: redefinition of 'pm_qos_get_boot_cpu_latency_limit'
344 | s32 pm_qos_get_boot_cpu_latency_limit(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from kernel/power/qos.c:25:
./include/linux/pm_qos.h:222:19: note: previous definition of 'pm_qos_get_boot_cpu_latency_limit' with type 's32(unsigned int)' {aka 'int(unsigned int)'}
222 | static inline s32 pm_qos_get_boot_cpu_latency_limit(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/pm_qos_get_boot_cpu_latency_limit +344 kernel/power/qos.c
332
333 /**
334 * pm_qos_get_boot_cpu_latency_limit - Get boot-time latency limit for a CPU.
335 * @cpu: Logical CPU number to check.
336 *
337 * Checks the read-only boot-time constraints list to see if a specific
338 * PM QoS latency override was requested for this CPU via the kernel
339 * command line.
340 *
341 * Return: The latency limit in microseconds if a constraint exists,
342 * or PM_QOS_RESUME_LATENCY_NO_CONSTRAINT if no boot override applies.
343 */
> 344 s32 pm_qos_get_boot_cpu_latency_limit(unsigned int cpu)
345 {
346 struct pm_qos_boot_entry *entry;
347
348 if (list_empty(&pm_qos_boot_list))
349 return PM_QOS_RESUME_LATENCY_NO_CONSTRAINT;
350
351 list_for_each_entry(entry, &pm_qos_boot_list, node) {
352 if (cpumask_test_cpu(cpu, &entry->mask))
353 return entry->latency;
354 }
355
356 return PM_QOS_RESUME_LATENCY_NO_CONSTRAINT;
357 }
358 EXPORT_SYMBOL_GPL(pm_qos_get_boot_cpu_latency_limit);
359
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki