[Mellanox] Never disable kernel thermal algorithm at real-time (#4638)
This commit is contained in:
parent
f277d13cd6
commit
e25c2d984f
@ -23,10 +23,6 @@
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"type": "thermal_control.control",
|
||||
"status": "false"
|
||||
},
|
||||
{
|
||||
"type": "fan.all.set_speed",
|
||||
"speed": "100"
|
||||
@ -41,10 +37,6 @@
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"type": "thermal_control.control",
|
||||
"status": "false"
|
||||
},
|
||||
{
|
||||
"type": "fan.all.set_speed",
|
||||
"speed": "100"
|
||||
@ -59,10 +51,6 @@
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"type": "thermal_control.control",
|
||||
"status": "false"
|
||||
},
|
||||
{
|
||||
"type": "fan.all.set_speed",
|
||||
"speed": "100"
|
||||
@ -84,8 +72,7 @@
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"type": "thermal_control.control",
|
||||
"status": "true"
|
||||
"type": "thermal.recover"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -141,6 +141,12 @@ class ControlThermalAlgoAction(ThermalPolicyActionBase):
|
||||
logger.log_info('Changed thermal algorithm status to {}'.format(self.status))
|
||||
|
||||
|
||||
@thermal_json_object('thermal.recover')
|
||||
class ThermalRecoverAction(ThermalPolicyActionBase):
|
||||
def execute(self, thermal_info_dict):
|
||||
UpdateCoolingLevelToMinAction.update_cooling_level_to_minimum(thermal_info_dict)
|
||||
|
||||
|
||||
class ChangeMinCoolingLevelAction(ThermalPolicyActionBase):
|
||||
UNKNOWN_SKU_COOLING_LEVEL = 6
|
||||
def execute(self, thermal_info_dict):
|
||||
|
Loading…
Reference in New Issue
Block a user