public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] intel_pstate: Turn per cpu printk into pr_debug
@ 2014-08-27 17:17 Andi Kleen
  2014-08-27 17:27 ` Dirk Brandewie
  0 siblings, 1 reply; 3+ messages in thread
From: Andi Kleen @ 2014-08-27 17:17 UTC (permalink / raw)
  To: rafael.j.wysocki; +Cc: dirk.j.brandewie, linux-kernel, Andi Kleen

From: Andi Kleen <ak@linux.intel.com>

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.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
 drivers/cpufreq/intel_pstate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
index c5eac94..17be734 100644
--- a/drivers/cpufreq/intel_pstate.c
+++ b/drivers/cpufreq/intel_pstate.c
@@ -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;
 }
-- 
1.9.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] intel_pstate: Turn per cpu printk into pr_debug
  2014-08-27 17:17 [PATCH] intel_pstate: Turn per cpu printk into pr_debug Andi Kleen
@ 2014-08-27 17:27 ` Dirk Brandewie
  2014-08-27 23:43   ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: Dirk Brandewie @ 2014-08-27 17:27 UTC (permalink / raw)
  To: Andi Kleen, rafael.j.wysocki; +Cc: dirk.j.brandewie, linux-kernel, Andi Kleen

On 08/27/2014 10:17 AM, Andi Kleen wrote:
> From: Andi Kleen <ak@linux.intel.com>
>
> 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.
>
> Signed-off-by: Andi Kleen <ak@linux.intel.com>

Acked-by: Dirk Brandewie <dirk.j.brandewie@intel.com>

> ---
>   drivers/cpufreq/intel_pstate.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
> index c5eac94..17be734 100644
> --- a/drivers/cpufreq/intel_pstate.c
> +++ b/drivers/cpufreq/intel_pstate.c
> @@ -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;
>   }
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] intel_pstate: Turn per cpu printk into pr_debug
  2014-08-27 17:27 ` Dirk Brandewie
@ 2014-08-27 23:43   ` Rafael J. Wysocki
  0 siblings, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2014-08-27 23:43 UTC (permalink / raw)
  To: Dirk Brandewie
  Cc: Andi Kleen, rafael.j.wysocki, dirk.j.brandewie, linux-kernel,
	Andi Kleen

On Wednesday, August 27, 2014 10:27:58 AM Dirk Brandewie wrote:
> On 08/27/2014 10:17 AM, Andi Kleen wrote:
> > From: Andi Kleen <ak@linux.intel.com>
> >
> > 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.
> >
> > Signed-off-by: Andi Kleen <ak@linux.intel.com>
> 
> Acked-by: Dirk Brandewie <dirk.j.brandewie@intel.com>

Queued up for 3.17-rc3, thanks!

> > ---
> >   drivers/cpufreq/intel_pstate.c | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
> > index c5eac94..17be734 100644
> > --- a/drivers/cpufreq/intel_pstate.c
> > +++ b/drivers/cpufreq/intel_pstate.c
> > @@ -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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-27 23:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-27 17:17 [PATCH] intel_pstate: Turn per cpu printk into pr_debug Andi Kleen
2014-08-27 17:27 ` Dirk Brandewie
2014-08-27 23:43   ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox