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>
75 lines
2.3 KiB
Diff
75 lines
2.3 KiB
Diff
From da7c9365e155de2a038cbc1cded3a56ea9a363aa Mon Sep 17 00:00:00 2001
|
|
From: Vadim Pasternak <vadimp@nvidia.com>
|
|
Date: Mon, 27 Feb 2023 15:24:43 +0000
|
|
Subject: [PATCH backport 5.10 1/3] platform: mellanox: Cosmetic changes
|
|
|
|
Fix routines and labels names by s/topology/topology.
|
|
|
|
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
|
|
Reviewed-by: Michael Shych <michaelsh@nvidia.com>
|
|
---
|
|
drivers/platform/mellanox/mlx-platform.c | 14 +++++++-------
|
|
1 file changed, 7 insertions(+), 7 deletions(-)
|
|
|
|
diff --git a/drivers/platform/mellanox/mlx-platform.c b/drivers/platform/mellanox/mlx-platform.c
|
|
index 849fdf5de..656056089 100644
|
|
--- a/drivers/platform/mellanox/mlx-platform.c
|
|
+++ b/drivers/platform/mellanox/mlx-platform.c
|
|
@@ -6876,7 +6876,7 @@ mlxplat_i2c_mux_complition_notify(void *handle, struct i2c_adapter *parent,
|
|
return 0;
|
|
}
|
|
|
|
-static int mlxplat_i2c_mux_topolgy_init(struct mlxplat_priv *priv)
|
|
+static int mlxplat_i2c_mux_topology_init(struct mlxplat_priv *priv)
|
|
{
|
|
int i, err;
|
|
|
|
@@ -6921,7 +6921,7 @@ static int mlxplat_i2c_mux_topolgy_init(struct mlxplat_priv *priv)
|
|
return err;
|
|
}
|
|
|
|
-static void mlxplat_i2c_mux_topolgy_exit(struct mlxplat_priv *priv)
|
|
+static void mlxplat_i2c_mux_topology_exit(struct mlxplat_priv *priv)
|
|
{
|
|
int i;
|
|
|
|
@@ -6937,7 +6937,7 @@ static int mlxplat_i2c_main_complition_notify(void *handle, int id)
|
|
{
|
|
struct mlxplat_priv *priv = handle;
|
|
|
|
- return mlxplat_i2c_mux_topolgy_init(priv);
|
|
+ return mlxplat_i2c_mux_topology_init(priv);
|
|
}
|
|
|
|
static int mlxplat_i2c_main_init(struct mlxplat_priv *priv)
|
|
@@ -6964,14 +6964,14 @@ static int mlxplat_i2c_main_init(struct mlxplat_priv *priv)
|
|
}
|
|
|
|
if (priv->i2c_main_init_status == MLXPLAT_I2C_MAIN_BUS_NOTIFIED) {
|
|
- err = mlxplat_i2c_mux_topolgy_init(priv);
|
|
+ err = mlxplat_i2c_mux_topology_init(priv);
|
|
if (err)
|
|
- goto fail_mlxplat_i2c_mux_topolgy_init;
|
|
+ goto fail_mlxplat_i2c_mux_topology_init;
|
|
}
|
|
|
|
return 0;
|
|
|
|
-fail_mlxplat_i2c_mux_topolgy_init:
|
|
+fail_mlxplat_i2c_mux_topology_init:
|
|
fail_platform_i2c_register:
|
|
fail_mlxplat_mlxcpld_verify_bus_topology:
|
|
return err;
|
|
@@ -6979,7 +6979,7 @@ static int mlxplat_i2c_main_init(struct mlxplat_priv *priv)
|
|
|
|
static void mlxplat_i2c_main_exit(struct mlxplat_priv *priv)
|
|
{
|
|
- mlxplat_i2c_mux_topolgy_exit(priv);
|
|
+ mlxplat_i2c_mux_topology_exit(priv);
|
|
if (priv->pdev_i2c)
|
|
platform_device_unregister(priv->pdev_i2c);
|
|
}
|
|
--
|
|
2.20.1
|
|
|