Skip to content

Commit

Permalink
hw-mgmt: thermal: TC update thermal data Dmin for "sensor reading" error
Browse files Browse the repository at this point in the history
TC update thermal data Dmin for "sensor reading" error

Fixed the sensor not available column.
Spectrum/SwitchIB2 systems no change
Spectrum2/Quantum/Spectrum3 2U/Quantum2/Quantum3/Hippo systems 60% P2C 70% C2P
Spectrum3 1U systems/Moose 70% P2C 80% C2P

Signed-off-by: Oleksandr Shamray <[email protected]>
  • Loading branch information
sholeksandr committed Mar 5, 2024
1 parent 18a7a87 commit 9a027c6
Show file tree
Hide file tree
Showing 17 changed files with 33 additions and 33 deletions.
4 changes: 2 additions & 2 deletions usr/etc/hw-management-thermal/tc_config_mqm8700.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"present": {"-127:25": 20, "26:40": 30, "41:120": 40},
"direction": {"-127:25": 20, "26:40": 30, "41:120": 40}
},
"sensor_read_error" : {"-127:25": 20, "26:40": 30, "41:120": 40}
"sensor_read_error" : {"-127:120": 70}
},
"P2C": {
"untrusted": {"-127:15": 20, "16:30": 30, "31:35": 40, "36:40": 50, "36:120": 60},
Expand All @@ -25,7 +25,7 @@
"present": {"-127:25": 20, "26:40": 30, "41:120": 40},
"direction":{"-127:25": 20, "26:40": 30, "41:120": 40}
},
"sensor_read_error" : {"-127:25": 20, "26:40": 30, "41:120": 40}
"sensor_read_error" : {"-127:120": 60}
}
},
"psu_fan_pwm_decode" : {"0:10": 10, "11:21": 20, "21:30": 30, "31:40": 40, "41:50": 50, "51:60": 60, "61:70": 60, "71:80": 60, "81:90": 60, "91:100": 60},
Expand Down
4 changes: 2 additions & 2 deletions usr/etc/hw-management-thermal/tc_config_mqm9700.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"present": {"-127:25": 30, "26:35": 40, "36:120": 50},
"direction": {"-127:25": 30, "26:35": 40, "36:120": 50}
},
"sensor_read_error" : {"-127:25": 30, "26:35": 40, "36:120": 50}
"sensor_read_error" : {"-127:120": 70}
},
"P2C": {
"untrusted": {"-127:25": 20, "26:35": 30, "36:120": 40},
Expand All @@ -25,7 +25,7 @@
"present": {"-127:25": 30, "26:35": 40, "36:120": 50},
"direction": {"-127:25": 30, "26:35": 40, "36:120": 50}
},
"sensor_read_error" : {"-127:25": 30, "26:35": 40, "36:120": 50}
"sensor_read_error" : {"-127:120": 60}
}
},
"psu_fan_pwm_decode" : {"0:10": 10, "11:21": 20, "21:30": 30, "31:40": 40, "41:50": 50, "51:60": 60, "61:70": 70, "71:80": 80, "81:90": 90, "91:100": 100},
Expand Down
4 changes: 2 additions & 2 deletions usr/etc/hw-management-thermal/tc_config_msn3420.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"present": {"-127:35": 20, "36:120": 30},
"direction": {"-127:35": 20, "36:120": 30}
},
"sensor_read_error" : {"-127:35": 20, "36:120": 30}
"sensor_read_error" : {"-127:120": 70}
},
"P2C": {
"untrusted": {"-127:15": 20, "16:30": 30, "31:35": 40, "36:40": 50, "36:120": 60},
Expand All @@ -25,7 +25,7 @@
"present": {"-127:35": 20, "36:120": 30},
"direction":{"-127:35": 20, "36:120": 30}
},
"sensor_read_error" : {"-127:35": 20, "36:120": 30}
"sensor_read_error" : {"-127:120": 60}
}
},
"psu_fan_pwm_decode" : {"0:10": 10, "11:21": 20, "21:30": 30, "31:40": 40, "41:50": 50, "51:60": 60, "61:70": 60, "71:80": 60, "81:90": 60, "91:100": 60},
Expand Down
4 changes: 2 additions & 2 deletions usr/etc/hw-management-thermal/tc_config_msn3700.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"present": {"-127:25": 20, "26:40": 30, "41:120": 40},
"direction": {"-127:25": 20, "26:40": 30, "41:120": 40}
},
"sensor_read_error" : {"-127:120": 100}
"sensor_read_error" : {"-127:120": 70}
},
"P2C": {
"untrusted": {"-127:15": 20, "16:30": 30, "31:35": 40, "36:40": 50, "36:120": 60},
Expand All @@ -25,7 +25,7 @@
"present": {"-127:25": 20, "26:40": 30, "41:120": 40},
"direction":{"-127:25": 20, "26:40": 30, "41:120": 40}
},
"sensor_read_error" : {"-127:25": 20, "26:40": 30, "41:120": 40}
"sensor_read_error" : {"-127:120": 60}
}
},
"psu_fan_pwm_decode" : {"0:10": 10, "11:21": 20, "21:30": 30, "31:40": 40, "41:50": 50, "51:60": 60, "61:70": 60, "71:80": 60, "81:90": 60, "91:100": 60},
Expand Down
4 changes: 2 additions & 2 deletions usr/etc/hw-management-thermal/tc_config_msn3700C.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"present": {"-127:40": 20, "41:120": 30},
"direction": {"-127:40": 20, "41:120": 30}
},
"sensor_read_error" : {"-127:40": 20, "41:120": 30}
"sensor_read_error" : {"-127:120": 70}
},
"P2C": {
"untrusted": {"-127:15": 20, "16:30": 30, "31:35": 40, "36:40": 50, "36:120": 60},
Expand All @@ -25,7 +25,7 @@
"present": {"-127:40": 20, "41:120": 30},
"direction":{"-127:40": 20, "41:120": 30}
},
"sensor_read_error" : {"-127:40": 20, "41:120": 30}
"sensor_read_error" : {"-127:120": 60}
}
},
"psu_fan_pwm_decode" : {"0:10": 10, "11:21": 20, "21:30": 30, "31:40": 40, "41:50": 50, "51:60": 60, "61:70": 60, "71:80": 60, "81:90": 60, "91:100": 60},
Expand Down
4 changes: 2 additions & 2 deletions usr/etc/hw-management-thermal/tc_config_msn3750.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"present": {"-127:25": 20, "26:40": 30, "41:120": 40},
"direction": {"-127:25": 20, "26:40": 30, "41:120": 40}
},
"sensor_read_error" : {"-127:120": 100}
"sensor_read_error" : {"-127:120": 70}
},
"P2C": {
"untrusted": {"-127:15": 20, "16:30": 30, "31:35": 40, "36:40": 50, "36:120": 60},
Expand All @@ -25,7 +25,7 @@
"present": {"-127:25": 20, "26:40": 30, "41:120": 40},
"direction":{"-127:25": 20, "26:40": 30, "41:120": 40}
},
"sensor_read_error" : {"-127:25": 20, "26:40": 30, "41:120": 40}
"sensor_read_error" : {"-127:120": 60}
}
},
"psu_fan_pwm_decode" : {"0:10": 10, "11:21": 20, "21:30": 30, "31:40": 40, "41:50": 50, "51:60": 60, "61:70": 60, "71:80": 60, "81:90": 60, "91:100": 60},
Expand Down
4 changes: 2 additions & 2 deletions usr/etc/hw-management-thermal/tc_config_msn3800.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"present": {"-127:25": 20, "26:35": 30, "36:120": 40},
"direction": {"-127:30": 20, "31:40": 30, "41:120": 40}
},
"sensor_read_error" : {"-127:30": 20, "31:40": 30, "41:120": 40}
"sensor_read_error" : {"-127:120": 70}
},
"P2C": {

Expand All @@ -24,7 +24,7 @@
"present": {"-127:25": 20, "26:35": 30, "36:120": 40},
"direction": {"-127:35": 20, "36:120": 30}
},
"sensor_read_error" : {"-127:35": 20, "36:120": 30}
"sensor_read_error" : {"-127:120": 60}
}
},
"psu_fan_pwm_decode" : {"0:10": 10, "11:21": 20, "21:30": 30, "31:40": 40, "41:50": 50, "51:60": 60, "61:70": 70, "71:80": 80, "81:90": 90, "91:100": 100},
Expand Down
4 changes: 2 additions & 2 deletions usr/etc/hw-management-thermal/tc_config_msn4410.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"present": {"-127:20": 30, "21:35": 40, "36:120": 50},
"direction": {"-127:20": 30, "21:35": 40, "36:120": 50}
},
"sensor_read_error" : {"-127:20": 30, "21:35": 40, "36:120": 50}
"sensor_read_error" : {"-127:120": 80}
},
"P2C": {
"untrusted": {"-127:15": 20, "16:30": 30, "31:35": 40, "36:40": 50, "36:120": 60},
Expand All @@ -25,7 +25,7 @@
"present": {"-127:20": 30, "21:35": 40, "36:120": 50},
"direction": {"-127:20": 30, "21:35": 40, "36:120": 50}
},
"sensor_read_error" : {"-127:20": 30, "21:35": 40, "36:120": 50}
"sensor_read_error" : {"-127:120": 70}
}
},
"psu_fan_pwm_decode" : {"0:10": 10, "11:21": 20, "21:30": 30, "31:40": 40, "41:50": 50, "51:60": 60, "61:70": 60, "71:80": 60, "81:90": 60, "91:100": 60},
Expand Down
4 changes: 2 additions & 2 deletions usr/etc/hw-management-thermal/tc_config_msn4600.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"present": {"-127:35": 20, "36:120": 30},
"direction": {"-127:35": 20, "36:120": 30}
},
"sensor_read_error" : {"-127:35": 20, "36:120": 30}
"sensor_read_error" : {"-127:120": 70}
},
"P2C": {
"untrusted": {"-127:5": 20, "6:15": 30, "16:25": 40, "26:30": 50, "31:35": 60, "36:120": 70},
Expand All @@ -25,7 +25,7 @@
"present": {"-127:35": 20, "36:120": 30},
"direction":{"-127:35": 20, "36:120": 30}
},
"sensor_read_error" : {"-127:35": 20, "36:120": 30}
"sensor_read_error" : {"-127:120": 60}
}
},
"psu_fan_pwm_decode" : {"0:10": 10, "11:21": 20, "21:30": 30, "31:40": 40, "41:50": 50, "51:60": 60, "61:70": 60, "71:80": 60, "81:90": 60, "91:100": 60},
Expand Down
4 changes: 2 additions & 2 deletions usr/etc/hw-management-thermal/tc_config_msn4600C.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"present": {"-127:35": 20, "36:120": 30},
"direction": {"-127:35": 20, "36:120": 30}
},
"sensor_read_error" : {"-127:35": 20, "36:120": 30}
"sensor_read_error" : {"-127:120": 70}
},
"P2C": {
"untrusted": {"-127:5": 20, "6:15": 30, "16:25": 40, "26:30": 50, "31:35": 60, "36:120": 70},
Expand All @@ -25,7 +25,7 @@
"present": {"-127:35": 20, "36:120": 30},
"direction":{"-127:35": 20, "36:120": 30}
},
"sensor_read_error" : {"-127:35": 20, "36:120": 30}
"sensor_read_error" : {"-127:120": 60}
}
},
"psu_fan_pwm_decode" : {"0:10": 10, "11:21": 20, "21:30": 30, "31:40": 40, "41:50": 50, "51:60": 60, "61:70": 60, "71:80": 60, "81:90": 60, "91:100": 60},
Expand Down
4 changes: 2 additions & 2 deletions usr/etc/hw-management-thermal/tc_config_msn4700.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"present": {"-127:20": 30, "21:35": 40, "36:120": 50},
"direction": {"-127:20": 30, "21:35": 40, "36:120": 50}
},
"sensor_read_error" : {"-127:20": 30, "21:35": 40, "36:120": 50}
"sensor_read_error" : {"-127:120": 80}
},
"P2C": {
"untrusted": {"-127:25": 30, "26:35": 40, "36:120": 50},
Expand All @@ -25,7 +25,7 @@
"present": {"-127:20": 30, "21:35": 40, "36:120": 50},
"direction": {"-127:20": 30, "21:35": 40, "36:120": 50}
},
"sensor_read_error" : {"-127:20": 30, "21:35": 40, "36:120": 50}
"sensor_read_error" : {"-127:120": 70}
}
},
"psu_fan_pwm_decode" : {"0:10": 10, "11:21": 20, "21:30": 30, "31:40": 40, "41:50": 50, "51:60": 60, "61:70": 60, "71:80": 60, "81:90": 60, "91:100": 60},
Expand Down
4 changes: 2 additions & 2 deletions usr/etc/hw-management-thermal/tc_config_msn4700_mps.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"present": {"-127:20": 30, "21:35": 40, "36:120": 50},
"direction": {"-127:20": 30, "21:35": 40, "36:120": 50}
},
"sensor_read_error" : {"-127:20": 30, "21:35": 40, "36:120": 50}
"sensor_read_error" : {"-127:120": 70}
},
"P2C": {
"untrusted": {"-127:25": 30, "26:35": 40, "36:120": 50},
Expand All @@ -25,7 +25,7 @@
"present": {"-127:20": 30, "21:35": 40, "36:120": 50},
"direction": {"-127:20": 30, "21:35": 40, "36:120": 50}
},
"sensor_read_error" : {"-127:20": 30, "21:35": 40, "36:120": 50}
"sensor_read_error" : {"-127:120": 60}
}
},
"psu_fan_pwm_decode" : {"0:10": 10, "11:21": 20, "21:30": 30, "31:40": 40, "41:50": 50, "51:60": 60, "61:70": 60, "71:80": 60, "81:90": 60, "91:100": 60},
Expand Down
4 changes: 2 additions & 2 deletions usr/etc/hw-management-thermal/tc_config_msn5400.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"present": {"-127:120": 30},
"direction": {"-127:120": 30}
},
"sensor_read_error" : {"-127:120": 30}
"sensor_read_error" : {"-127:120": 70}
},
"P2C": {
"fan_err": {
Expand All @@ -23,7 +23,7 @@
"present": {"-127:120": 30},
"direction": {"-127:120": 30}
},
"sensor_read_error" : {"-127:120": 30}
"sensor_read_error" : {"-127:120": 70}
}
},
"psu_fan_pwm_decode" : {"0:100": -1},
Expand Down
4 changes: 2 additions & 2 deletions usr/etc/hw-management-thermal/tc_config_msn5600.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"present": {"-127:120": 30},
"direction": {"-127:120": 30}
},
"sensor_read_error" : {"-127:120": 30}
"sensor_read_error" : {"-127:120": 80}
},
"P2C": {
"fan_err": {
Expand All @@ -23,7 +23,7 @@
"present": {"-127:120": 30},
"direction": {"-127:120": 30}
},
"sensor_read_error" : {"-127:120": 30}
"sensor_read_error" : {"-127:120": 80}
}
},
"psu_fan_pwm_decode" : {"0:100": -1},
Expand Down
2 changes: 1 addition & 1 deletion usr/etc/hw-management-thermal/tc_config_qm3000.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"present": {"-127:120": 30},
"direction": {"-127:120": 30}
},
"sensor_read_error" : {"-127:120": 30}
"sensor_read_error" : {"-127:120": 70}
}
},
"psu_fan_pwm_decode" : {"0:100": -1},
Expand Down
4 changes: 2 additions & 2 deletions usr/etc/hw-management-thermal/tc_config_qm3400.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"present": {"-127:120": 30},
"direction": {"-127:120": 30}
},
"sensor_read_error" : {"-127:120": 30}
"sensor_read_error" : {"-127:120": 70}
}
},
"psu_fan_pwm_decode" : {"0:100": -1},
Expand All @@ -20,7 +20,7 @@
"0" : {"rpm_min":6879, "rpm_max":21800, "slope": 213.2, "pwm_min" : 30, "pwm_max_reduction" : 10, "rpm_tolerance" : 20},
"1" : {"rpm_min":5650, "rpm_max":20500, "slope": 200.4, "pwm_min" : 30, "pwm_max_reduction" : 10, "rpm_tolerance" : 20}
}
},
},
"dev_parameters" : {
"asic\\d+": {"pwm_min": 30, "pwm_max" : 100, "val_min":"!70000", "val_max":"!105000", "poll_time": 3},
"(cpu_pack|cpu_core\\d+)": {"pwm_min": 30, "pwm_max" : 100, "val_min": "!70000", "val_max": "!100000", "poll_time": 3},
Expand Down
4 changes: 2 additions & 2 deletions usr/etc/hw-management-thermal/tc_config_sn4280.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"present": {"-127:35": 20, "36:120": 30},
"direction": {"-127:35": 20, "36:120": 30}
},
"sensor_read_error" : {"-127:25": 20, "26:35": 30, "36:120": 40}
"sensor_read_error" : {"-127:120": 70}
},
"P2C": {
"fan_err": {
Expand All @@ -23,7 +23,7 @@
"present": {"-127:35": 20, "36:120": 30},
"direction":{"-127:35": 20, "36:120": 30}
},
"sensor_read_error" : {"-127:25": 20, "26:35": 30, "36:120": 40}
"sensor_read_error" : {"-127:120": 70}
}
},
"psu_fan_pwm_decode" : {"0:10": 10, "11:21": 20, "21:30": 30, "31:40": 40, "41:50": 50, "51:60": 60, "61:70": 70, "71:80": 80, "81:90": 90, "91:100": 100},
Expand Down

0 comments on commit 9a027c6

Please sign in to comment.