Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

powernow: use pr_info_once

This reduces log-msgs during boot from many pages to ~10 occurrences. I
didn't investigate why it wasn't just 1, maybe its a low-level service to
other modules, re-probed by each of them ?

Link: https://lkml.kernel.org/r/20250325235156.663269-4-jim.cromie@gmail.com
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Dwaipayan Ray <dwaipayanray1@gmail.com>
Cc: Joe Perches <joe@perches.com>
Cc: Louis Chauvet <louis.chauvet@bootlin.com>
Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Jim Cromie and committed by
Andrew Morton
91e53493 15d4734c

+1 -1
+1 -1
drivers/cpufreq/powernow-k8.c
··· 482 482 cpuid(CPUID_FREQ_VOLT_CAPABILITIES, &eax, &ebx, &ecx, &edx); 483 483 if ((edx & P_STATE_TRANSITION_CAPABLE) 484 484 != P_STATE_TRANSITION_CAPABLE) { 485 - pr_info("Power state transitions not supported\n"); 485 + pr_info_once("Power state transitions not supported\n"); 486 486 return; 487 487 } 488 488 *rc = 0;