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 <alok.a.tiwari@oracle.com> Reviewed-by: David Thompson <davthompson@nvidia.com> Link: https://lore.kernel.org/r/20250619060502.3594350-1-alok.a.tiwari@oracle.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent b511bbf commit 173bbec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)