diff options
author | Guenter Roeck <linux@roeck-us.net> | 2012-06-17 12:05:05 -0400 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2012-06-17 12:05:05 -0400 |
commit | 5592906f8b01282ea3c2acaf641fd067ad4bb3dc (patch) | |
tree | 410b259225fc7a58154119fc2fd221fadc38ffe8 | |
parent | fcc14ac1a86931f38da047cf8fb634c6db7b58bc (diff) |
hwmon: (coretemp) Add support for Atom D2000 and N2000 series CPU models
Document the Atom series D2000 and N2000 (Cedar Trail) as being supported.
List and set TjMax for those series.
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: "R, Durgadoss" <durgadoss.r@intel.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
-rw-r--r-- | Documentation/hwmon/coretemp | 5 | ||||
-rw-r--r-- | drivers/hwmon/coretemp.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/hwmon/coretemp b/Documentation/hwmon/coretemp index f6aed440c3d7..71d83d2f984d 100644 --- a/Documentation/hwmon/coretemp +++ b/Documentation/hwmon/coretemp | |||
@@ -7,7 +7,8 @@ Supported chips: | |||
7 | CPUID: family 0x6, models 0xe (Pentium M DC), 0xf (Core 2 DC 65nm), | 7 | CPUID: family 0x6, models 0xe (Pentium M DC), 0xf (Core 2 DC 65nm), |
8 | 0x16 (Core 2 SC 65nm), 0x17 (Penryn 45nm), | 8 | 0x16 (Core 2 SC 65nm), 0x17 (Penryn 45nm), |
9 | 0x1a (Nehalem), 0x1c (Atom), 0x1e (Lynnfield), | 9 | 0x1a (Nehalem), 0x1c (Atom), 0x1e (Lynnfield), |
10 | 0x26 (Tunnel Creek Atom), 0x27 (Medfield Atom) | 10 | 0x26 (Tunnel Creek Atom), 0x27 (Medfield Atom), |
11 | 0x36 (Cedar Trail Atom) | ||
11 | Datasheet: Intel 64 and IA-32 Architectures Software Developer's Manual | 12 | Datasheet: Intel 64 and IA-32 Architectures Software Developer's Manual |
12 | Volume 3A: System Programming Guide | 13 | Volume 3A: System Programming Guide |
13 | http://softwarecommunity.intel.com/Wiki/Mobility/720.htm | 14 | http://softwarecommunity.intel.com/Wiki/Mobility/720.htm |
@@ -68,6 +69,8 @@ Process Processor TjMax(C) | |||
68 | 69 | ||
69 | 32nm Atom Processors | 70 | 32nm Atom Processors |
70 | Z2460 90 | 71 | Z2460 90 |
72 | D2700/2550/2500 100 | ||
73 | N2850/2800/2650/2600 100 | ||
71 | 74 | ||
72 | 45nm Xeon Processors 5400 Quad-Core | 75 | 45nm Xeon Processors 5400 Quad-Core |
73 | X5492, X5482, X5472, X5470, X5460, X5450 85 | 76 | X5492, X5482, X5472, X5470, X5460, X5450 85 |
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c index 495add52c802..42c2f431ea51 100644 --- a/drivers/hwmon/coretemp.c +++ b/drivers/hwmon/coretemp.c | |||
@@ -224,6 +224,9 @@ static int __cpuinit adjust_tjmax(struct cpuinfo_x86 *c, u32 id, | |||
224 | tjmax = 90000; | 224 | tjmax = 90000; |
225 | 225 | ||
226 | pci_dev_put(host_bridge); | 226 | pci_dev_put(host_bridge); |
227 | } else if (c->x86_model == 0x36) { | ||
228 | usemsr_ee = 0; | ||
229 | tjmax = 100000; | ||
227 | } | 230 | } |
228 | 231 | ||
229 | if (c->x86_model > 0xe && usemsr_ee) { | 232 | if (c->x86_model > 0xe && usemsr_ee) { |