Skip to contentSkip to conversation

hwmon: Add tempX_emergency to sysfs ABI

PATCH Superseded Guenter Roeck 2 participants 5 messages Aug 26, 2010 – Aug 27, 2010

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: Add tempX_emergency to sysfs ABI

---
tempX_emergency will be used by max6696. It can also be used for other chips supporting three upper temperature limits.

 Documentation/hwmon/sysfs-interface |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
Documentation/hwmon/sysfs-interface +6 -0
index ff45d1f..1ceb2b9 100644
@@ -310,6 +310,12 @@ temp[1-*]_crit_hyst
 		from the critical value.
 		RW
 
+temp[1-*]_emergency
+		Temperature emergency value, typically greater than
+		corresponding temp_crit values.
+		Unit: millidegree Celsius
+		RW
+
 temp[1-*]_lcrit	Temperature critical min value, typically lower than
 		corresponding temp_min values.
 		Unit: millidegree Celsius
Signature · 1 line
1.7.0.87.g0901d
#1 lore raw
Quoted 13 lines · Guenter Roeck

---
tempX_emergency will be used by max6696. It can also be used for other chips supporting three upper temperature limits.

 Documentation/hwmon/sysfs-interface |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
Documentation/hwmon/sysfs-interface +0 -0
index ff45d1f..1ceb2b9 100644

Documentation/hwmon/sysfs-interface temp[1-*]_crit_hyst · line 318

Quoted 9 lines
Documentation/hwmon/sysfs-interface +6 -0
@@ -310,6 +310,12 @@ temp[1-*]_crit_hyst
 		from the critical value.
 		RW
 
+temp[1-*]_emergency
+		Temperature emergency value, typically greater than
+		corresponding temp_crit values.
+		Unit: millidegree Celsius
+		RW
+

If we have two-level alarms: critical, then emergency, it is best to have that written down than to imply it by "typically greater than corresponding temp_crit"...

Signature · 4 lines
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
#2 lore raw
Quoted 17 lines · Henrique de Moraes Holschuh
Quoted 16 lines · Guenter Roeck

---
tempX_emergency will be used by max6696. It can also be used for other chips supporting three upper temperature limits.

 Documentation/hwmon/sysfs-interface |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
Documentation/hwmon/sysfs-interface +0 -0
index ff45d1f..1ceb2b9 100644
@@ -310,6 +310,12 @@ temp[1-*]_crit_hyst
 		from the critical value.
 		RW
 
Quoted 11 lines

Documentation/hwmon/sysfs-interface temp[1-*]_crit_hyst · line 318

Quoted 6 lines
Documentation/hwmon/sysfs-interface +6 -0
+temp[1-*]_emergency
+		Temperature emergency value, typically greater than
+		corresponding temp_crit values.
+		Unit: millidegree Celsius
+		RW
+

If we have two-level alarms: critical, then emergency, it is best to have that written down than to imply it by "typically greater than corresponding temp_crit"...

Do you have a better wording in mind ?

Guenter

#3 lore raw
In reply to Henrique de Moraes Holschuh
Quoted 17 lines · Henrique de Moraes Holschuh
Quoted 16 lines · Guenter Roeck

---
tempX_emergency will be used by max6696. It can also be used for other chips supporting three upper temperature limits.

 Documentation/hwmon/sysfs-interface |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
Documentation/hwmon/sysfs-interface +0 -0
index ff45d1f..1ceb2b9 100644
@@ -310,6 +310,12 @@ temp[1-*]_crit_hyst
 		from the critical value.
 		RW
 
Quoted 11 lines

Documentation/hwmon/sysfs-interface temp[1-*]_crit_hyst · line 318

Quoted 6 lines
Documentation/hwmon/sysfs-interface +6 -0
+temp[1-*]_emergency
+		Temperature emergency value, typically greater than
+		corresponding temp_crit values.
+		Unit: millidegree Celsius
+		RW
+

If we have two-level alarms: critical, then emergency, it is best to have that written down than to imply it by "typically greater than corresponding temp_crit"...

How about:
Temperature emergency max value, for chips supporting more than two upper temperature limits. Must be equal or greater than corresponding temp_crit values.
Unit: millidegree Celsius
RW

Guenter

#4 lore raw
Quoted 11 lines · Guenter Roeck
Quoted 11 lines

Documentation/hwmon/sysfs-interface temp[1-*]_crit_hyst · line 318

Quoted 6 lines
Documentation/hwmon/sysfs-interface +6 -0
+temp[1-*]_emergency
+		Temperature emergency value, typically greater than
+		corresponding temp_crit values.
+		Unit: millidegree Celsius
+		RW
+

If we have two-level alarms: critical, then emergency, it is best to have that written down than to imply it by "typically greater than corresponding temp_crit"...

Quoted 6 lines

How about:
Temperature emergency max value, for chips supporting more than two upper temperature limits. Must be equal or greater than corresponding temp_crit values.
Unit: millidegree Celsius
RW

Much better, thank you.

Signature · 4 lines
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh