Skip to contentSkip to conversation

intel_pstate: Turn per cpu printk into pr_debug

PATCH Applied Andi Kleen 3 participants 3 messages Aug 27, 2014

Subsystems (2)
lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

PATCH 1/1 intel_pstate: Turn per cpu printk into pr_debug

From: Andi Kleen <[email protected]>

On larger systems intel_pstate currently spams the boot up log with its "Intel pstate controlling ..." message for each CPU. It's the only subsystem that prints a message for each CPU.

Turn the message into a pr_debug.

---
 drivers/cpufreq/intel_pstate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpufreq/intel_pstate.c +1 -1
index c5eac94..17be734 100644
@@ -688,7 +688,7 @@ static int intel_pstate_init_cpu(unsigned int cpunum)
 
 	add_timer_on(&cpu->timer, cpunum);
 
-	pr_info("Intel pstate controlling: cpu %d\n", cpunum);
+	pr_debug("Intel pstate controlling: cpu %d\n", cpunum);
 
 	return 0;
 }
Signature · 1 line
1.9.3
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Andi Kleen

From: Andi Kleen <[email protected]>

On larger systems intel_pstate currently spams the boot up log with its "Intel pstate controlling ..." message for each CPU. It's the only subsystem that prints a message for each CPU.

Turn the message into a pr_debug.

Quoted 18 lines
---
  drivers/cpufreq/intel_pstate.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpufreq/intel_pstate.c +1 -1
index c5eac94..17be734 100644
@@ -688,7 +688,7 @@ static int intel_pstate_init_cpu(unsigned int cpunum)
 
  	add_timer_on(&cpu->timer, cpunum);
 
-	pr_info("Intel pstate controlling: cpu %d\n", cpunum);
+	pr_debug("Intel pstate controlling: cpu %d\n", cpunum);
 
  	return 0;
  }
#2 lore raw
Quoted 8 lines · Dirk Brandewie
Quoted 7 lines · Andi Kleen

From: Andi Kleen <[email protected]>

On larger systems intel_pstate currently spams the boot up log with its "Intel pstate controlling ..." message for each CPU. It's the only subsystem that prints a message for each CPU.

Quoted 5 lines
Quoted 3 lines

Turn the message into a pr_debug.

Queued up for 3.17-rc3, thanks!

Quoted 24 lines
Quoted 10 lines
---
  drivers/cpufreq/intel_pstate.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpufreq/intel_pstate.c +0 -0
index c5eac94..17be734 100644

drivers/cpufreq/intel_pstate.c static int intel_pstate_init_cpu(unsigned int cpunum) · line 694

Quoted 8 lines
drivers/cpufreq/intel_pstate.c +1 -1
@@ -688,7 +688,7 @@ static int intel_pstate_init_cpu(unsigned int cpunum)
 
  	add_timer_on(&cpu->timer, cpunum);
 
-	pr_info("Intel pstate controlling: cpu %d\n", cpunum);
+	pr_debug("Intel pstate controlling: cpu %d\n", cpunum);
 
  	return 0;
  }

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.