Skip to contentSkip to conversation

hwmon: (coretemp) Document Atom E660 support

PATCH In review Jean Delvare 3 participants 11 messages Sep 28, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: (coretemp) Document Atom E660 support

Document the new Atom series (Tunnel Creek) as being supported, and list TjMax for the Atom E660 and E660T.

Cc Alexander Stein <[email protected]>
Cc Fenghua Yu <[email protected]>
Cc Guenter Roeck <[email protected]>

---
As reported by Alexander weeks ago.

 Documentation/hwmon/coretemp |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/hwmon/coretemp +4 -1
@@ -6,7 +6,8 @@ Supported chips:
     Prefix: 'coretemp'
     CPUID: family 0x6, models 0xe (Pentium M DC), 0xf (Core 2 DC 65nm),
                               0x16 (Core 2 SC 65nm), 0x17 (Penryn 45nm),
-                              0x1a (Nehalem), 0x1c (Atom), 0x1e (Lynnfield)
+                              0x1a (Nehalem), 0x1c (Atom), 0x1e (Lynnfield),
+                              0x26 (Tunnel Creek Atom)
     Datasheet: Intel 64 and IA-32 Architectures Software Developer's Manual
                Volume 3A: System Programming Guide
                http://softwarecommunity.intel.com/Wiki/Mobility/720.htm
@@ -85,6 +86,8 @@ Process		Processor					TjMax(C)
 		N475/470/455/450				100
 		N280/270					90
 		330/230						125
+		E660						90
+		E660T						110
 
 45nm		Core2 Processors
 		Solo ULV SU3500/3300				100
Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#1 lore raw

Re: [lm-sensors] [PATCH] hwmon: (coretemp) Document Atom E660

Hi Durga,

Quoted 9 lines · Durgadoss

I have the CPU model of the next generation Atom based Core. Can we add this also in the list here ?
If you don't find time, I can add the one liner, after this gets in.

)

Documentation/hwmon/coretemp Supported chips: · line 10

Quoted 2 lines
Documentation/hwmon/coretemp +2 -0
+                              0x1a (Nehalem), 0x1c (Atom), 0x1e (Lynnfield),
+                              0x26 (Tunnel Creek Atom)

0x27 (Medfield Atom) and TjMax 90

I can add it, no problem. Is TjMax the same for all Medfield-based Atom CPUs? If so, and if it can't be read from MSR_TEMPERATURE_TARGET, then this value shouldn't go in the documentation file but in the driver, unless the fragile heuristic we have already comes to that conclusion (it's so complex that honestly I can't tell.)

Quoted 13 lines
Quoted 13 lines

Datasheet: Intel 64 and IA-32 Architectures Software Developer's Manual
Volume 3A: System Programming Guide
http://softwarecommunity.intel.com/Wiki/Mobility/720.htm

Documentation/hwmon/coretemp +2 -0
@@ -85,6 +86,8 @@ Process		Processor
 	TjMax(C)
 		N475/470/455/450				100
 		N280/270					90
 		330/230						125
+		E660						90
+		E660T						110
 
 45nm		Core2 Processors
Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#2 lore raw

Re: [lm-sensors] [PATCH] hwmon: (coretemp) Document Atom E660

In reply to Jean Delvare

Hi Jean,

I have the CPU model of the next generation Atom based Core. Can we add this also in the list here ?
If you don't find time, I can add the one liner, after this gets in.

)

Documentation/hwmon/coretemp Supported chips: · line 10

Quoted 2 lines
Documentation/hwmon/coretemp +2 -0
+                              0x1a (Nehalem), 0x1c (Atom), 0x1e (Lynnfield),
+                              0x26 (Tunnel Creek Atom)

0x27 (Medfield Atom) and TjMax 90

Documentation/hwmon/coretemp Process Processor · line 93

Quoted 12 lines

Datasheet: Intel 64 and IA-32 Architectures Software Developer's Manual
Volume 3A: System Programming Guide
http://softwarecommunity.intel.com/Wiki/Mobility/720.htm

Documentation/hwmon/coretemp +2 -0
@@ -85,6 +86,8 @@ Process		Processor
 	TjMax(C)
 		N475/470/455/450				100
 		N280/270					90
 		330/230						125
+		E660						90
+		E660T						110
 
 45nm		Core2 Processors

Thanks,
Durga

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw

Re: [lm-sensors] [PATCH] hwmon: (coretemp) Document Atom E660

In reply to Jean Delvare

Hi Jean,

Quoted 19 lines

-----Original Message-----
From: Jean Delvare [mailto:[email protected]]
Sent: Wednesday, September 28, 2011 6:48 PM
To: R, Durgadoss
Cc: LM Sensors; Yu, Fenghua; Alexander Stein
Subject: Re: [lm-sensors] [PATCH] hwmon: (coretemp) Document Atom E660 support

Hi Durga,

Quoted 6 lines · Durgadoss

I have the CPU model of the next generation Atom based Core. Can we add this also in the list here ?
If you don't find time, I can add the one liner, after this gets in.

)

Quoted 1 line

+ 0x1a (Nehalem), 0x1c (Atom), 0x1e

(Lynnfield),

Quoted 2 lines
Quoted 1 line

+ 0x26 (Tunnel Creek Atom)

Quoted 7 lines
Quoted 1 line

0x27 (Medfield Atom) and TjMax 90

I can add it, no problem. Is TjMax the same for all Medfield-based Atom CPUs? If so, and if it can't be read from MSR_TEMPERATURE_TARGET, then this value shouldn't go in the documentation file but in the driver, unless the fragile heuristic we have already comes to that conclusion (it's so complex that honestly I can't tell.)

Thanks Jean.
Yes. It's the same for all Medfield based Atom products. And it cannot be read from MSR_TEMPERATURE_TARGET.
So, we have to add the model name in the driver.
Currently I have added a OR inside the 'if' in adjust_tjmax Function.

if (c->x86_model = 0x1c || c->x86_model = 0x27) {

This fetches me 90 and I have confirmed it with the Hardware folks here.

Thanks,
Durga

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#4 lore raw

Re: [lm-sensors] [PATCH] hwmon: (coretemp) Document Atom E660

In reply to Jean Delvare
Quoted 14 lines · Durgadoss
Quoted 7 lines
Quoted 1 line

0x27 (Medfield Atom) and TjMax 90

I can add it, no problem. Is TjMax the same for all Medfield-based Atom CPUs? If so, and if it can't be read from MSR_TEMPERATURE_TARGET, then this value shouldn't go in the documentation file but in the driver, unless the fragile heuristic we have already comes to that conclusion (it's so complex that honestly I can't tell.)

Thanks Jean.
Yes. It's the same for all Medfield based Atom products. And it cannot be read from MSR_TEMPERATURE_TARGET.
So, we have to add the model name in the driver.
Currently I have added a OR inside the 'if' in adjust_tjmax Function.

Quoted 3 lines

if (c->x86_model = 0x1c || c->x86_model = 0x27) {

This fetches me 90 and I have confirmed it with the Hardware folks here.

OK, I'll do this. What about model 0x26? Wouldn't 90°C be a better default for them too?

And please tell your hardware friends to implement MSR_TEMPERATURE_TARGET in future Atom product lines, it makes our life so much easier...

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#5 lore raw

Re: [lm-sensors] [PATCH] hwmon: (coretemp) Document Atom E660

In reply to Jean Delvare
Quoted 8 lines · Durgadoss

Yes. It's the same for all Medfield based Atom products. And it cannot be read from MSR_TEMPERATURE_TARGET.
So, we have to add the model name in the driver.
Currently I have added a OR inside the 'if' in adjust_tjmax Function.

if (c->x86_model = 0x1c || c->x86_model = 0x27) {

This fetches me 90 and I have confirmed it with the Hardware folks here.

Oh, BTW, there is magic in this block to adjust tjmax based on the north bridge. Is there any such magic possible for Atom model 0x26?

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#6 lore raw

Re: [lm-sensors] [PATCH] hwmon: (coretemp) Document Atom E660

In reply to Jean Delvare

Hi Jean,

Quoted 7 lines
Quoted 4 lines

if (c->x86_model = 0x1c || c->x86_model = 0x27) {

This fetches me 90 and I have confirmed it with the Hardware folks here.

OK, I'll do this. What about model 0x26? Wouldn't 90°C be a better default for them too?

The TjMax is 90 for 0x26 also. I have tested this on my old 0x26 core. But, we have to add one more || inside the 'if' :-(
Also, we have to add these cpu models inside the switch-case inside get_tjmax, in order for the flow to reach adjust_tjmax.

Quoted 4 lines

And please tell your hardware friends to implement MSR_TEMPERATURE_TARGET in future Atom product lines, it makes our life so much easier...

I will try my best :-)

Thanks,
Durga

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#7 lore raw

Re: [lm-sensors] [PATCH] hwmon: (coretemp) Document Atom E660

In reply to Jean Delvare

Hi Jean,

Quoted 13 lines

-----Original Message-----
From: Jean Delvare [mailto:[email protected]]
Sent: Wednesday, September 28, 2011 7:20 PM
To: R, Durgadoss
Cc: LM Sensors; Yu, Fenghua; Alexander Stein
Subject: Re: [lm-sensors] [PATCH] hwmon: (coretemp) Document Atom E660 support

Quoted 5 lines · Durgadoss

Yes. It's the same for all Medfield based Atom products. And it cannot be read from MSR_TEMPERATURE_TARGET.
So, we have to add the model name in the driver.
Currently I have added a OR inside the 'if' in adjust_tjmax Function.

Quoted 6 lines
Quoted 3 lines

if (c->x86_model = 0x1c || c->x86_model = 0x27) {

This fetches me 90 and I have confirmed it with the Hardware folks here.

Oh, BTW, there is magic in this block to adjust tjmax based on the north bridge. Is there any such magic possible for Atom model 0x26?

I guess this is not needed now, since we know the tjmax is 90 for 0x26.

Thanks,
Durga

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#8 lore raw

Re: [lm-sensors] [PATCH] hwmon: (coretemp) Document Atom E660

In reply to Jean Delvare
Quoted 15 lines · Durgadoss

Hi Jean,

Quoted 13 lines

-----Original Message-----
From: Jean Delvare [mailto:[email protected]]
Sent: Wednesday, September 28, 2011 7:20 PM
To: R, Durgadoss
Cc: LM Sensors; Yu, Fenghua; Alexander Stein
Subject: Re: [lm-sensors] [PATCH] hwmon: (coretemp) Document Atom E660 support

Quoted 5 lines · Durgadoss

Yes. It's the same for all Medfield based Atom products. And it cannot be read from MSR_TEMPERATURE_TARGET.
So, we have to add the model name in the driver.
Currently I have added a OR inside the 'if' in adjust_tjmax Function.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

if (c->x86_model = 0x1c || c->x86_model = 0x27) {

This fetches me 90 and I have confirmed it with the Hardware folks here..

Oh, BTW, there is magic in this block to adjust tjmax based on the north bridge. Is there any such magic possible for Atom model 0x26?

I guess this is not needed now, since we know the tjmax is 90 for 0x26.

Not always. As discussed earlier, the E660T has TjMax = 110°C. If this was the only exception, it's documented now so we'd me mostly fine. But apparently all "T" variants of the Atom E6x0 have TjMax = 110°C. It would be really nice to have a way to set tjmax = 110000 in the driver for them, even if this is only a heuristic.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#9 lore raw

Re: [lm-sensors] [PATCH] hwmon: (coretemp) Document Atom E660

In reply to Jean Delvare

Hi Jean,

Quoted 27 lines · Jean Delvare

Document the new Atom series (Tunnel Creek) as being supported, and list TjMax for the Atom E660 and E660T.

Cc Alexander Stein <[email protected]>
Cc Fenghua Yu <[email protected]>
Cc Guenter Roeck <[email protected]>

---
As reported by Alexander weeks ago.

 Documentation/hwmon/coretemp |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/hwmon/coretemp +2 -1
@@ -6,7 +6,8 @@ Supported chips:
     Prefix: 'coretemp'
     CPUID: family 0x6, models 0xe (Pentium M DC), 0xf (Core 2 DC 65nm),
                               0x16 (Core 2 SC 65nm), 0x17 (Penryn 45nm),
-                              0x1a (Nehalem), 0x1c (Atom), 0x1e (Lynnfield)
+                              0x1a (Nehalem), 0x1c (Atom), 0x1e (Lynnfield),
+                              0x26 (Tunnel Creek Atom)
     Datasheet: Intel 64 and IA-32 Architectures Software Developer's Manual
                Volume 3A: System Programming Guide
                http://softwarecommunity.intel.com/Wiki/Mobility/720.htm

Documentation/hwmon/coretemp Process Processor TjMax(C) · line 93

Quoted 8 lines
Documentation/hwmon/coretemp +2 -0
@@ -85,6 +86,8 @@ Process		Processor					TjMax(C)
 		N475/470/455/450				100
 		N280/270					90
 		330/230						125
+		E660						90
+		E660T						110
 
 45nm		Core2 Processors
 		Solo ULV SU3500/3300				100

I got lost somewhere in the exchange. Should I apply this one, or are you going to send out a new version ?

Thanks,
Guenter

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#10 lore raw

Re: [lm-sensors] [PATCH] hwmon: (coretemp) Document Atom E660

In reply to Jean Delvare
Quoted 35 lines · Guenter Roeck

Hi Jean,

Quoted 32 lines · Jean Delvare

Document the new Atom series (Tunnel Creek) as being supported, and list TjMax for the Atom E660 and E660T.

Cc Alexander Stein <[email protected]>
Cc Fenghua Yu <[email protected]>
Cc Guenter Roeck <[email protected]>

---
As reported by Alexander weeks ago.

 Documentation/hwmon/coretemp |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/hwmon/coretemp +4 -1
@@ -6,7 +6,8 @@ Supported chips:
     Prefix: 'coretemp'
     CPUID: family 0x6, models 0xe (Pentium M DC), 0xf (Core 2 DC 65nm),
                               0x16 (Core 2 SC 65nm), 0x17 (Penryn 45nm),
-                              0x1a (Nehalem), 0x1c (Atom), 0x1e (Lynnfield)
+                              0x1a (Nehalem), 0x1c (Atom), 0x1e (Lynnfield),
+                              0x26 (Tunnel Creek Atom)
     Datasheet: Intel 64 and IA-32 Architectures Software Developer's Manual
                Volume 3A: System Programming Guide
                http://softwarecommunity.intel.com/Wiki/Mobility/720.htm
@@ -85,6 +86,8 @@ Process		Processor					TjMax(C)
 		N475/470/455/450				100
 		N280/270					90
 		330/230						125
+		E660						90
+		E660T						110
 
Quoted 6 lines

Documentation/hwmon/coretemp Process Processor TjMax(C) · line 93

Quoted 3 lines
Documentation/hwmon/coretemp +0 -0
 45nm		Core2 Processors
 		Solo ULV SU3500/3300				100

I got lost somewhere in the exchange. Should I apply this one, or are you going to send out a new version ?

Please wait, I'll resubmit once the dust settles down.

Thanks,

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors