sonic-buildimage/platform/mellanox/non-upstream-patches/patches/0262-UBUNTU-SAUCE-mlxbf-pmc-Fix-event-string-typo.patch
Kebo Liu e286869b24
[Mellanox] Update HW-MGMT package to new version V.7.0030.1011 (#16239)
- 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>
2023-09-06 11:32:08 +03:00

37 lines
1.3 KiB
Diff

From 127bcf5d9412ee246b6620d9b38b7fca6fe4d66d Mon Sep 17 00:00:00 2001
From: James Hurley <jahurley@nvidia.com>
Date: Tue, 6 Dec 2022 11:31:55 -0500
Subject: [PATCH backport 5.10 3/6] UBUNTU: SAUCE: mlxbf-pmc: Fix event string
typo
BugLink: https://bugs.launchpad.net/bugs/1998863
Fix event string typo so that the proper events are displayed.
Signed-off-by: James hurley <jahurley@nvidia.com>
Reviewed-by: David Thompson <davthompson@nvidia.com>
Signed-off-by: James hurley <jahurley@nvidia.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Bartlomiej Zolnierkiewicz <bartlomiej.zolnierkiewicz@canonical.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bartlomiej.zolnierkiewicz@canonical.com>
---
drivers/platform/mellanox/mlxbf-pmc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/platform/mellanox/mlxbf-pmc.h b/drivers/platform/mellanox/mlxbf-pmc.h
index 894c3cc88..a6f7aade4 100644
--- a/drivers/platform/mellanox/mlxbf-pmc.h
+++ b/drivers/platform/mellanox/mlxbf-pmc.h
@@ -364,7 +364,7 @@ struct mlxbf_pmc_events mlxbf2_hnfnet_events[] = {
{0x32, "DDN_DIAG_W_INGRESS"},
{0x33, "DDN_DIAG_C_INGRESS"},
{0x34, "DDN_DIAG_CORE_SENT"},
-{0x35, "NDN_DIAG_S_OUT_OF_CRED"},
+{0x35, "NDN_DIAG_N_OUT_OF_CRED"},
{0x36, "NDN_DIAG_S_OUT_OF_CRED"},
{0x37, "NDN_DIAG_E_OUT_OF_CRED"},
{0x38, "NDN_DIAG_W_OUT_OF_CRED"},
--
2.20.1