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>
34 lines
1.3 KiB
Diff
34 lines
1.3 KiB
Diff
From 6531f28d37beb20fb423f4835eab47beaaf002bb Mon Sep 17 00:00:00 2001
|
|
From: Vadim Pasternak <vadimp@nvidia.com>
|
|
Date: Sun, 19 Mar 2023 15:04:26 +0000
|
|
Subject: [PATCH backport v.5.10 2/3] platform/mellanox: mlxreg-hotplug: Extend
|
|
condition for notification callback processing
|
|
|
|
Allow processing of notification callback in routine
|
|
mlxreg_hotplug_device_create() in case hotplug object is configured
|
|
with action "MLXREG_HOTPLUG_DEVICE_NO_ACTION" in case no I2C parent bus
|
|
is specified.
|
|
|
|
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
|
|
Reviewed-by: Michael Shych <michaelsh@nvidia.com>
|
|
---
|
|
drivers/platform/mellanox/mlxreg-hotplug.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/platform/mellanox/mlxreg-hotplug.c b/drivers/platform/mellanox/mlxreg-hotplug.c
|
|
index b7dcc64cd..c5abedd35 100644
|
|
--- a/drivers/platform/mellanox/mlxreg-hotplug.c
|
|
+++ b/drivers/platform/mellanox/mlxreg-hotplug.c
|
|
@@ -113,7 +113,7 @@ static int mlxreg_hotplug_device_create(struct mlxreg_hotplug_priv_data *priv,
|
|
* Return if adapter number is negative. It could be in case hotplug
|
|
* event is not associated with hotplug device.
|
|
*/
|
|
- if (data->hpdev.nr < 0)
|
|
+ if (data->hpdev.nr < 0 && data->hpdev.action != MLXREG_HOTPLUG_DEVICE_NO_ACTION)
|
|
return 0;
|
|
|
|
pdata = dev_get_platdata(&priv->pdev->dev);
|
|
--
|
|
2.20.1
|
|
|