i5k_amb temp_mid replacement
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 withtemp_max and temp_crit.
Armin Wolf.
Guenter Roeck
maintainerQuoted 10 lines · Armin Wolf
Hello,
while trying to convert
i5k_tempto the new hwmon API to resolve
https://bugzilla.kernel.org/show_bug.cgi?id=208693,
i was asking myself whether or nottemp_midcould be replaced with a standard sysfs attribute?
Since afaiktemp_midandtemp_maxare both temperature limits, they could potentially be replaced withtemp_maxandtemp_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
Am 02.10.21 um 16:04 schrieb Guenter Roeck:
Quoted 11 lines · Armin Wolf
Quoted 10 lines
Hello,
while trying to convert
i5k_tempto the new hwmon API to resolve
https://bugzilla.kernel.org/show_bug.cgi?id=208693,
i was asking myself whether or nottemp_midcould be replaced with a standard sysfs attribute?
Since afaiktemp_midandtemp_maxare both temperature limits, they could potentially be replaced withtemp_maxandtemp_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.
Guenter Roeck
maintainerQuoted 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_tempto the new hwmon API to resolve
https://bugzilla.kernel.org/show_bug.cgi?id=208693,
i was asking myself whether or nottemp_midcould be replaced with a standard sysfs attribute?
Since afaiktemp_midandtemp_maxare both temperature limits, they could potentially be replaced withtemp_maxandtemp_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_maxcould 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
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_tempto the new hwmon API to resolve
https://bugzilla.kernel.org/show_bug.cgi?id=208693,
i was asking myself whether or nottemp_midcould be replaced with a standard sysfs attribute?
Since afaiktemp_midandtemp_maxare both temperature limits, they could potentially be replaced withtemp_maxandtemp_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_maxcould 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_midandtemp_maxactually reflect, so I still can not really comment.Guenter
"Intel 6400/6402 Advanced Memory Buffer" seems to document that.
Guenter Roeck
maintainerQuoted 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_tempto the new hwmon API to resolve
https://bugzilla.kernel.org/show_bug.cgi?id=208693,
i was asking myself whether or nottemp_midcould be replaced with a standard sysfs attribute?
Since afaiktemp_midandtemp_maxare both temperature limits, they could potentially be replaced withtemp_maxandtemp_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_maxcould 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_midandtemp_maxactually 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
Guenter Roeck
maintainerQuoted 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_tempto the new hwmon API to resolve
https://bugzilla.kernel.org/show_bug.cgi?id=208693,
i was asking myself whether or nottemp_midcould be replaced with a standard sysfs attribute?
Since afaiktemp_midandtemp_maxare both temperature limits, they could potentially be replaced withtemp_maxandtemp_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_maxcould 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_midandtemp_maxactually 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