]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/mellanox: mlxbf-pmc: Support additional PMC blocks
authorShravan Kumar Ramani <shravankr@nvidia.com>
Wed, 23 Apr 2025 08:31:03 +0000 (04:31 -0400)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 30 Apr 2025 11:06:00 +0000 (14:06 +0300)
commit3acb492a02a10a72b3410304efc9d8356f706e27
tree6a67950fdda934861c7aa29306e536dce580c055
parent4b4da10b1f7eda3c698b924ce2051d3e56e652fe
platform/mellanox: mlxbf-pmc: Support additional PMC blocks

Add list of events and counters from the following blocks: APT (ARM Processor
Tile), GGA (Global Generic Accelerator), MSN (Memory Stasher and Navigator),
EMI (External Memory Interface) and PRNF (PCIe Request Node).
If any of the fields populated from the ACPI table (like apt_num) cannot be
read, assign the corresponding block count to be 0 instead of failing probe
to maintain compatibility with older firmware.

Signed-off-by: Shravan Kumar Ramani <shravankr@nvidia.com>
Reviewed-by: David Thompson <davthompson@nvidia.com>
Link: https://lore.kernel.org/r/20250423083103.5240-1-shravankr@nvidia.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/mellanox/mlxbf-pmc.c