Skip to contentSkip to conversation

i5k_amb temp_mid replacement

DISCUSSION Armin Wolf 2 participants 7 messages Sep 30, 2021 – Oct 7, 2021 Hardware monitoring

lore
Share & tools
lore

Armin Wolf

author
#0 lore raw

Hello,

while trying to convert i5k_temp to the new hwmon API to resolve
https://bugzilla.kernel.org/show_bug.cgi?id=208693,
i was asking myself whether or not temp_mid could be replaced with a standard sysfs attribute?
Since afaik temp_mid and temp_max are both temperature limits, they could potentially be replaced with
temp_max and temp_crit.

Armin Wolf.

maintainer
#1 lore raw
Quoted 10 lines · Armin Wolf

Hello,

while trying to convert i5k_temp to the new hwmon API to resolve
https://bugzilla.kernel.org/show_bug.cgi?id=208693,
i was asking myself whether or not temp_mid could be replaced with a standard sysfs attribute?
Since afaik temp_mid and temp_max are both temperature limits, they could potentially be replaced with
temp_max and temp_crit.

Quite likely. Unfortunately, the chipset documentation is not available to the public, so it is difficult to determine what those temperatures actually mean.

Guenter

author
#2 lore raw

Am 02.10.21 um 16:04 schrieb Guenter Roeck:

Quoted 11 lines · Armin Wolf
Quoted 10 lines

Hello,

while trying to convert i5k_temp to the new hwmon API to resolve
https://bugzilla.kernel.org/show_bug.cgi?id=208693,
i was asking myself whether or not temp_mid could be replaced with a standard sysfs attribute?
Since afaik temp_mid and temp_max are both temperature limits, they could potentially be replaced with
temp_max and temp_crit.

Quoted 5 lines

Quite likely. Unfortunately, the chipset documentation is not available to the public, so it is difficult to determine what those temperatures actually mean.

Guenter

Darrick Wong says the chipset documentation would support such a change. However, he fears that the changed meaning of tempX_max could confuse userspace
programs.
But i think the current not using standard attribute names will confuse even more
programms.

maintainer
#3 lore raw
Quoted 16 lines · Armin Wolf

Am 02.10.21 um 16:04 schrieb Guenter Roeck:

Quoted 15 lines · Armin Wolf
Quoted 10 lines

Hello,

while trying to convert i5k_temp to the new hwmon API to resolve
https://bugzilla.kernel.org/show_bug.cgi?id=208693,
i was asking myself whether or not temp_mid could be replaced with a standard sysfs attribute?
Since afaik temp_mid and temp_max are both temperature limits, they could potentially be replaced with
temp_max and temp_crit.

Quite likely. Unfortunately, the chipset documentation is not available to the public, so it is difficult to determine what those temperatures actually mean.

Quoted 8 lines
Quoted 1 line

Guenter

Darrick Wong says the chipset documentation would support such a change. However, he fears that the changed meaning of tempX_max could confuse userspace
programs.
But i think the current not using standard attribute names will confuse even more
programms.

I still don't know what temperature limits temp_mid and temp_max actually reflect, so I still can not really comment.

Guenter

author
#4 lore raw

Am 07.10.21 um 18:30 schrieb Guenter Roeck:

Quoted 26 lines · Armin Wolf
Quoted 16 lines

Am 02.10.21 um 16:04 schrieb Guenter Roeck:

Quoted 15 lines · Armin Wolf
Quoted 10 lines

Hello,

while trying to convert i5k_temp to the new hwmon API to resolve
https://bugzilla.kernel.org/show_bug.cgi?id=208693,
i was asking myself whether or not temp_mid could be replaced with a standard sysfs attribute?
Since afaik temp_mid and temp_max are both temperature limits, they could potentially be replaced with
temp_max and temp_crit.

Quite likely. Unfortunately, the chipset documentation is not available to the public, so it is difficult to determine what those temperatures actually mean.

Quoted 8 lines
Quoted 1 line

Guenter

Darrick Wong says the chipset documentation would support such a change. However, he fears that the changed meaning of tempX_max could confuse userspace
programs.
But i think the current not using standard attribute names will confuse even more
programms.

Quoted 4 lines

I still don't know what temperature limits temp_mid and temp_max actually reflect, so I still can not really comment.

Guenter

"Intel 6400/6402 Advanced Memory Buffer" seems to document that.

maintainer
#5 lore raw
Quoted 27 lines · Armin Wolf

Am 07.10.21 um 18:30 schrieb Guenter Roeck:

Quoted 26 lines · Armin Wolf
Quoted 24 lines

Am 02.10.21 um 16:04 schrieb Guenter Roeck:

Quoted 11 lines · Armin Wolf
Quoted 10 lines

Hello,

while trying to convert i5k_temp to the new hwmon API to resolve
https://bugzilla.kernel.org/show_bug.cgi?id=208693,
i was asking myself whether or not temp_mid could be replaced with a standard sysfs attribute?
Since afaik temp_mid and temp_max are both temperature limits, they could potentially be replaced with
temp_max and temp_crit.

Quoted 5 lines

Quite likely. Unfortunately, the chipset documentation is not available to the public, so it is difficult to determine what those temperatures actually mean.

Guenter

Darrick Wong says the chipset documentation would support such a change. However, he fears that the changed meaning of tempX_max could confuse userspace
programs.
But i think the current not using standard attribute names will confuse even more
programms.

Quoted 5 lines
Quoted 4 lines

I still don't know what temperature limits temp_mid and temp_max actually reflect, so I still can not really comment.

Guenter

"Intel 6400/6402 Advanced Memory Buffer" seems to document that.

Ah, thanks.

From the description, it should be:

TEMPLO -> temp1_max
TEMPMID -> temp1_crit
TEMPHI -> temp1_emergency

The respective _alarm attributes should be supported as well (via TEMPSTAT), but that would be a separate patch.

Guenter

maintainer
#6 lore raw
Quoted 34 lines · Guenter Roeck
Quoted 27 lines · Armin Wolf

Am 07.10.21 um 18:30 schrieb Guenter Roeck:

Quoted 26 lines · Armin Wolf
Quoted 24 lines

Am 02.10.21 um 16:04 schrieb Guenter Roeck:

Quoted 11 lines · Armin Wolf
Quoted 10 lines

Hello,

while trying to convert i5k_temp to the new hwmon API to resolve
https://bugzilla.kernel.org/show_bug.cgi?id=208693,
i was asking myself whether or not temp_mid could be replaced with a standard sysfs attribute?
Since afaik temp_mid and temp_max are both temperature limits, they could potentially be replaced with
temp_max and temp_crit.

Quoted 5 lines

Quite likely. Unfortunately, the chipset documentation is not available to the public, so it is difficult to determine what those temperatures actually mean.

Guenter

Darrick Wong says the chipset documentation would support such a change. However, he fears that the changed meaning of tempX_max could confuse userspace
programs.
But i think the current not using standard attribute names will confuse even more
programms.

Quoted 5 lines
Quoted 4 lines

I still don't know what temperature limits temp_mid and temp_max actually reflect, so I still can not really comment.

Guenter

"Intel 6400/6402 Advanced Memory Buffer" seems to document that.

Quoted 8 lines

Ah, thanks.

From the description, it should be:

TEMPLO -> temp1_max
TEMPMID -> temp1_crit
TEMPHI -> temp1_emergency

Scratch that. I am misreading the document.

TEMPLO -> temp1_min
TEMPMID -> temp1_max
TEMPHI -> temp1_crit

is fine.

Guenter