Skip to content

Commit 173bbec

Browse files
aloktiwaij-intel
authored andcommitted
platform/mellanox: mlxbf-pmc: Fix duplicate event ID for CACHE_DATA1
same ID (103) was assigned to both GDC_BANK0_G_RSE_PIPE_CACHE_DATA0 and GDC_BANK0_G_RSE_PIPE_CACHE_DATA1. This could lead to incorrect event mapping. Updated the ID to 104 to ensure uniqueness. Fixes: 423c336 ("platform/mellanox: mlxbf-pmc: Add support for BlueField-3") Signed-off-by: Alok Tiwari <[email protected]> Reviewed-by: David Thompson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
1 parent b511bbf commit 173bbec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/platform/mellanox/mlxbf-pmc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ static const struct mlxbf_pmc_events mlxbf_pmc_llt_events[] = {
715715
{101, "GDC_BANK0_HIT_DCL_PARTIAL"},
716716
{102, "GDC_BANK0_EVICT_DCL"},
717717
{103, "GDC_BANK0_G_RSE_PIPE_CACHE_DATA0"},
718-
{103, "GDC_BANK0_G_RSE_PIPE_CACHE_DATA1"},
718+
{104, "GDC_BANK0_G_RSE_PIPE_CACHE_DATA1"},
719719
{105, "GDC_BANK0_ARB_STRB"},
720720
{106, "GDC_BANK0_ARB_WAIT"},
721721
{107, "GDC_BANK0_GGA_STRB"},

0 commit comments

Comments
 (0)