2012-11-27 04:40:13

by ethan zhao

[permalink] [raw]
Subject: [patch] Add IVB model 3e support to /drivers/idle/intel_idle.c

Hi, Len
Please help to review and apply the patch if it is OK.
I didn't go through all the related code, simply add the model 3e to
the id list, I have tested it with stable branch kernel 3.6.7 on my
Server with Intel ES0 installed.

Thanks,
Ethan

commit 59b90976a0d93d1656583c7a807ec9c8909b0772
Author: ethan.kernel <[email protected]>
Date: Mon Nov 26 19:55:24 2012 -0800

According to SDM version 44(Intel64 and IA-32 Architectures Software
Developer's Manual Vol.3C 35-1),add cpu model 3e support

diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
index e872617..b0f6b4c 100644
--- a/drivers/idle/intel_idle.c
+++ b/drivers/idle/intel_idle.c
@@ -413,6 +413,7 @@ static const struct x86_cpu_id intel_idle_ids[] = {
ICPU(0x2a, idle_cpu_snb),
ICPU(0x2d, idle_cpu_snb),
ICPU(0x3a, idle_cpu_ivb),
+ ICPU(0x3e, idle_cpu_ivb),
{}
};
MODULE_DEVICE_TABLE(x86cpu, intel_idle_ids);


Attachments:
Add_IVB_3E_support_to_intel_idle.patch (862.00 B)

2012-11-27 04:44:25

by Brown, Len

[permalink] [raw]
Subject: RE: [patch] Add IVB model 3e support to /drivers/idle/intel_idle.c

> diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c index e872617..b0f6b4c 100644
> --- a/drivers/idle/intel_idle.c
> +++ b/drivers/idle/intel_idle.c
> @@ -413,6 +413,7 @@ static const struct x86_cpu_id intel_idle_ids[] = {
> ICPU(0x2a, idle_cpu_snb),
> ICPU(0x2d, idle_cpu_snb),
> ICPU(0x3a, idle_cpu_ivb),
> + ICPU(0x3e, idle_cpu_ivb),
> {}

already in Linux-3.7

thanks,
-Len