cpufreq.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] intel_pstate: Add Haswell CPU models
@ 2013-06-28 12:24 Nell Hardcastle
  2013-06-30 15:20 ` Viresh Kumar
  2013-07-09 14:54 ` Dirk Brandewie
  0 siblings, 2 replies; 4+ messages in thread
From: Nell Hardcastle @ 2013-06-28 12:24 UTC (permalink / raw)
  To: cpufreq; +Cc: dirk.j.brandewie

Enable the intel_pstate driver for Haswell CPUs and one Ivy Bridge model not already included (0x3E). I've been testing this change on the Core i5-4200u (model 0x45) and I referenced the list of models in tools/power/x86/turbostat/turbostat.c:has_nehalem_turbo_ratio_limit to determine the others.

Fixes https://bugzilla.kernel.org/show_bug.cgi?id=60211

Signed-off-by: Nell Hardcastle <nell@spicious.com>
---
 drivers/cpufreq/intel_pstate.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
index 07f2840..dbd1032 100644
--- a/drivers/cpufreq/intel_pstate.c
+++ b/drivers/cpufreq/intel_pstate.c
@@ -522,6 +522,11 @@ static const struct x86_cpu_id intel_pstate_cpu_ids[] = {
 	ICPU(0x2a, default_policy),
 	ICPU(0x2d, default_policy),
 	ICPU(0x3a, default_policy),
+	ICPU(0x3c, default_policy),
+	ICPU(0x3e, default_policy),
+	ICPU(0x3f, default_policy),
+	ICPU(0x45, default_policy),
+	ICPU(0x46, default_policy),
 	{}
 };
 MODULE_DEVICE_TABLE(x86cpu, intel_pstate_cpu_ids);
-- 
1.8.3.1

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

* Re: [PATCH] intel_pstate: Add Haswell CPU models
  2013-06-28 12:24 [PATCH] intel_pstate: Add Haswell CPU models Nell Hardcastle
@ 2013-06-30 15:20 ` Viresh Kumar
  2013-07-09 14:54 ` Dirk Brandewie
  1 sibling, 0 replies; 4+ messages in thread
From: Viresh Kumar @ 2013-06-30 15:20 UTC (permalink / raw)
  To: Nell Hardcastle; +Cc: cpufreq, dirk.j.brandewie, Linux PM list

You need to cc linux-pm list too, so that Rafael can pick this one.

On Fri, Jun 28, 2013 at 5:54 PM, Nell Hardcastle <nell@spicious.com> wrote:
> Enable the intel_pstate driver for Haswell CPUs and one Ivy Bridge model not already included (0x3E). I've been testing this change on the Core i5-4200u (model 0x45) and I referenced the list of models in tools/power/x86/turbostat/turbostat.c:has_nehalem_turbo_ratio_limit to determine the others.

Please respect the 80 column rule for writing patches.

> Fixes https://bugzilla.kernel.org/show_bug.cgi?id=60211
>
> Signed-off-by: Nell Hardcastle <nell@spicious.com>
> ---
>  drivers/cpufreq/intel_pstate.c | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
> index 07f2840..dbd1032 100644
> --- a/drivers/cpufreq/intel_pstate.c
> +++ b/drivers/cpufreq/intel_pstate.c
> @@ -522,6 +522,11 @@ static const struct x86_cpu_id intel_pstate_cpu_ids[] = {
>         ICPU(0x2a, default_policy),
>         ICPU(0x2d, default_policy),
>         ICPU(0x3a, default_policy),
> +       ICPU(0x3c, default_policy),
> +       ICPU(0x3e, default_policy),
> +       ICPU(0x3f, default_policy),
> +       ICPU(0x45, default_policy),
> +       ICPU(0x46, default_policy),

Looks fine otherwise. Please add my
Acked-by: Viresh Kumar <viresh.kumar@linaro.org> and resend V2 with
fixed commit log.

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

* Re: [PATCH] intel_pstate: Add Haswell CPU models
  2013-06-28 12:24 [PATCH] intel_pstate: Add Haswell CPU models Nell Hardcastle
  2013-06-30 15:20 ` Viresh Kumar
@ 2013-07-09 14:54 ` Dirk Brandewie
  2013-08-17 19:43   ` Ilari Stenroth
  1 sibling, 1 reply; 4+ messages in thread
From: Dirk Brandewie @ 2013-07-09 14:54 UTC (permalink / raw)
  To: Nell Hardcastle; +Cc: cpufreq, dirk.j.brandewie

On 06/28/2013 05:24 AM, Nell Hardcastle wrote:
> Enable the intel_pstate driver for Haswell CPUs and one Ivy Bridge model not already included (0x3E). I've been testing this change on the Core i5-4200u (model 0x45) and I referenced the list of models in tools/power/x86/turbostat/turbostat.c:has_nehalem_turbo_ratio_limit to determine the others.
>
> Fixes https://bugzilla.kernel.org/show_bug.cgi?id=60211
>
> Signed-off-by: Nell Hardcastle <nell@spicious.com>
> ---
>   drivers/cpufreq/intel_pstate.c | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
> index 07f2840..dbd1032 100644
> --- a/drivers/cpufreq/intel_pstate.c
> +++ b/drivers/cpufreq/intel_pstate.c
> @@ -522,6 +522,11 @@ static const struct x86_cpu_id intel_pstate_cpu_ids[] = {
>   	ICPU(0x2a, default_policy),
>   	ICPU(0x2d, default_policy),
>   	ICPU(0x3a, default_policy),
> +	ICPU(0x3c, default_policy),
> +	ICPU(0x3e, default_policy),
> +	ICPU(0x3f, default_policy),
> +	ICPU(0x45, default_policy),
> +	ICPU(0x46, default_policy),

Nak for now.

We have not completed our testing on these CPUs. I would like to
get my testing done before I start seeing issues from the field come
in.

If this patch were to hangout in testing for a while it would not
hurt my feelings there it could only hurt those that knew what
they were getting into :-)


--Dirk
>   	{}
>   };
>   MODULE_DEVICE_TABLE(x86cpu, intel_pstate_cpu_ids);
>


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

* Re: [PATCH] intel_pstate: Add Haswell CPU models
  2013-07-09 14:54 ` Dirk Brandewie
@ 2013-08-17 19:43   ` Ilari Stenroth
  0 siblings, 0 replies; 4+ messages in thread
From: Ilari Stenroth @ 2013-08-17 19:43 UTC (permalink / raw)
  To: cpufreq

On 9.7.2013 17.54, Dirk Brandewie wrote:
> On 06/28/2013 05:24 AM, Nell Hardcastle wrote:
>> Enable the intel_pstate driver for Haswell CPUs and one Ivy Bridge
>> model not already included (0x3E). I've been testing this change on
>> the Core i5-4200u (model 0x45) and I referenced the list of models in
>> tools/power/x86/turbostat/turbostat.c:has_nehalem_turbo_ratio_limit to
>> determine the others.
>>
>> Fixes https://bugzilla.kernel.org/show_bug.cgi?id=60211
>>
>> Signed-off-by: Nell Hardcastle <nell@spicious.com>
>> ---
>>   drivers/cpufreq/intel_pstate.c | 5 +++++
>>   1 file changed, 5 insertions(+)
>>
>> diff --git a/drivers/cpufreq/intel_pstate.c
>> b/drivers/cpufreq/intel_pstate.c
>> index 07f2840..dbd1032 100644
>> --- a/drivers/cpufreq/intel_pstate.c
>> +++ b/drivers/cpufreq/intel_pstate.c
>> @@ -522,6 +522,11 @@ static const struct x86_cpu_id
>> intel_pstate_cpu_ids[] = {
>>       ICPU(0x2a, default_policy),
>>       ICPU(0x2d, default_policy),
>>       ICPU(0x3a, default_policy),
>> +    ICPU(0x3c, default_policy),
>> +    ICPU(0x3e, default_policy),
>> +    ICPU(0x3f, default_policy),
>> +    ICPU(0x45, default_policy),
>> +    ICPU(0x46, default_policy),
> 
> Nak for now.
> 
> We have not completed our testing on these CPUs. I would like to
> get my testing done before I start seeing issues from the field come
> in.
> 
> If this patch were to hangout in testing for a while it would not
> hurt my feelings there it could only hurt those that knew what
> they were getting into :-)
> 

Hi,

I want to let you know that I've tested intel_pstate with Xeon
E3-1265Lv3 (model 0x3c) successfully. For this CPU model the patch seems
to be fine.

Turbo mode works as intended. Core frequencies scale according to number
of active cores.

Tested-by: Ilari Stenroth <ilari.stenroth@gmail.com>

Regards,
Ilari Stenroth



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

end of thread, other threads:[~2013-08-17 19:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-28 12:24 [PATCH] intel_pstate: Add Haswell CPU models Nell Hardcastle
2013-06-30 15:20 ` Viresh Kumar
2013-07-09 14:54 ` Dirk Brandewie
2013-08-17 19:43   ` Ilari Stenroth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).