[PATCH net-next 4/4] net/mlx5: Add trust lockdown error to health syndrome print function

Tariq Toukan posted 4 patches 9 months, 3 weeks ago
[PATCH net-next 4/4] net/mlx5: Add trust lockdown error to health syndrome print function
Posted by Tariq Toukan 9 months, 3 weeks ago
From: Shahar Shitrit <shshitrit@nvidia.com>

Add the new health syndrome value to hsynd_str() function
to indicate that the device got a trust lockdown fault.

Signed-off-by: Shahar Shitrit <shshitrit@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
---
 drivers/net/ethernet/mellanox/mlx5/core/health.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/ethernet/mellanox/mlx5/core/health.c b/drivers/net/ethernet/mellanox/mlx5/core/health.c
index c7ff646e0865..91613d5a36cd 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/health.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/health.c
@@ -380,6 +380,8 @@ static const char *hsynd_str(u8 synd)
 		return "High temperature";
 	case MLX5_INITIAL_SEG_HEALTH_SYNDROME_ICM_PCI_POISONED_ERR:
 		return "ICM fetch PCI data poisoned error";
+	case MLX5_INITIAL_SEG_HEALTH_SYNDROME_TRUST_LOCKDOWN_ERR:
+		return "Trust lockdown error";
 	default:
 		return "unrecognized error";
 	}
-- 
2.45.0
Re: [PATCH net-next 4/4] net/mlx5: Add trust lockdown error to health syndrome print function
Posted by Kalesh Anakkur Purayil 9 months, 3 weeks ago
On Wed, Feb 26, 2025 at 6:02 PM Tariq Toukan <tariqt@nvidia.com> wrote:
>
> From: Shahar Shitrit <shshitrit@nvidia.com>
>
> Add the new health syndrome value to hsynd_str() function
> to indicate that the device got a trust lockdown fault.
>
> Signed-off-by: Shahar Shitrit <shshitrit@nvidia.com>
> Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
> Signed-off-by: Tariq Toukan <tariqt@nvidia.com>

Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>


-- 
Regards,
Kalesh AP