e286869b24
- Why I did it 1. Update Mellanox HW-MGMT package to newer version V.7.0030.1011 2. Replace the SONiC PMON Thermal control algorithm with the one inside the HW-MGMT package on all Nvidia platforms 3. Support Spectrum-4 systems - How I did it 1. Update the HW-MGMT package version number and submodule pointer 2. Remove the thermal control algorithm implementation from Mellanox platform API 3. Revise the patch to HW-MGMT package which will disable HW-MGMT from running on SIMX 4. Update the downstream kernel patch list Signed-off-by: Kebo Liu <kebol@nvidia.com>
27 lines
862 B
Diff
27 lines
862 B
Diff
From 91a6100aaadcea0a30d91a32897ef21452e48460 Mon Sep 17 00:00:00 2001
|
|
From: Oleksandr Shamray <oleksandrs@nvidia.com>
|
|
Date: Tue, 4 Apr 2023 09:56:48 +0000
|
|
Subject: [PATCH] TMP fix for fan minimum speed
|
|
|
|
Signed-off-by: Oleksandr Shamray <oleksandrs@nvidia.com>
|
|
---
|
|
drivers/hwmon/mlxreg-fan.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/hwmon/mlxreg-fan.c b/drivers/hwmon/mlxreg-fan.c
|
|
index 5a93fc0..b999ca6 100644
|
|
--- a/drivers/hwmon/mlxreg-fan.c
|
|
+++ b/drivers/hwmon/mlxreg-fan.c
|
|
@@ -364,7 +364,7 @@ static int mlxreg_fan_set_cur_state(struct thermal_cooling_device *cdev,
|
|
* For configuration non-zero value is to be returned to avoid thermal
|
|
* statistics update.
|
|
*/
|
|
- config = 1;
|
|
+ config = 0; /*1*/;
|
|
state -= MLXREG_FAN_MAX_STATE;
|
|
for (i = 0; i < state; i++)
|
|
pwm->cooling_levels[i] = state;
|
|
--
|
|
2.14.1
|
|
|