Skip to contentSkip to conversation

powernow-use-pr_info_once.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message May 12, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: powernow: use pr_info_once
has been removed from the -mm tree. Its filename was
powernow-use-pr_info_once.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Jim Cromie <[email protected]>
Subject: powernow: use pr_info_once
Date: Tue, 25 Mar 2025 17:51:56 -0600

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 ?

---

 drivers/cpufreq/powernow-k8.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpufreq/powernow-k8.c renamed from drivers/cpufreq/powernow-k8.c~powernow-use-pr_info_once +1 -1
@@ -482,7 +482,7 @@ static void check_supported_cpu(void *_r
 		cpuid(CPUID_FREQ_VOLT_CAPABILITIES, &eax, &ebx, &ecx, &edx);
 		if ((edx & P_STATE_TRANSITION_CAPABLE)
 			!= P_STATE_TRANSITION_CAPABLE) {
-			pr_info("Power state transitions not supported\n");
+			pr_info_once("Power state transitions not supported\n");
 			return;
 		}
 		*rc = 0;

_

Patches currently in -mm which might be from [email protected] are