Commit fa08acd7d16cd7ea8114f3844b0ef2505a4276a8

Authored by Huaxu Wan
Committed by Jean Delvare
1 parent eccfed4221

hwmon: (coretemp) Add Lynnfield CPU

Add Lynnfield processor support. Lynnfield is a quad-core Nehalem
based microprocessor for Desktop market, which is introduced in
September 2009.

Signed-off-by: Huaxu Wan <huaxu.wan@linux.intel.com>
Signed-off-by: Kent Liu <kent.liu@linux.intel.com>
Acked-by: Rudolf Marek <r.marek@assembler.cz>
Signed-off-by: Jean Delvare <khali@linux-fr.org>

Showing 2 changed files with 5 additions and 3 deletions Side-by-side Diff

Documentation/hwmon/coretemp
... ... @@ -6,7 +6,7 @@
6 6 Prefix: 'coretemp'
7 7 CPUID: family 0x6, models 0xe (Pentium M DC), 0xf (Core 2 DC 65nm),
8 8 0x16 (Core 2 SC 65nm), 0x17 (Penryn 45nm),
9   - 0x1a (Nehalem), 0x1c (Atom).
  9 + 0x1a (Nehalem), 0x1c (Atom), 0x1e (Lynnfield)
10 10 Datasheet: Intel 64 and IA-32 Architectures Software Developer's Manual
11 11 Volume 3A: System Programming Guide
12 12 http://softwarecommunity.intel.com/Wiki/Mobility/720.htm
drivers/hwmon/coretemp.c
... ... @@ -442,11 +442,13 @@
442 442  
443 443 /* check if family 6, models 0xe (Pentium M DC),
444 444 0xf (Core 2 DC 65nm), 0x16 (Core 2 SC 65nm),
445   - 0x17 (Penryn 45nm), 0x1a (Nehalem), 0x1c (Atom) */
  445 + 0x17 (Penryn 45nm), 0x1a (Nehalem), 0x1c (Atom),
  446 + 0x1e (Lynnfield) */
446 447 if ((c->cpuid_level < 0) || (c->x86 != 0x6) ||
447 448 !((c->x86_model == 0xe) || (c->x86_model == 0xf) ||
448 449 (c->x86_model == 0x16) || (c->x86_model == 0x17) ||
449   - (c->x86_model == 0x1A) || (c->x86_model == 0x1c))) {
  450 + (c->x86_model == 0x1a) || (c->x86_model == 0x1c) ||
  451 + (c->x86_model == 0x1e))) {
450 452  
451 453 /* supported CPU not found, but report the unknown
452 454 family 6 CPU */