linux/drivers/platform/mellanox
Shravan Kumar Ramani 732c35ce6d platform/mellanox: mlxbf-pmc: Fix offset calculation for crspace events
The event selector fields for 2 counters are contained in one
32-bit register and the current logic does not account for this.

Fixes: 423c336185 ("platform/mellanox: mlxbf-pmc: Add support for BlueField-3")
Signed-off-by: Shravan Kumar Ramani <shravankr@nvidia.com>
Reviewed-by: David Thompson <davthompson@nvidia.com>
Reviewed-by: Vadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/8834cfa496c97c7c2fcebcfca5a2aa007e20ae96.1705485095.git.shravankr@nvidia.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2024-01-22 12:22:27 +01:00
..
Kconfig
Makefile
mlxbf-bootctl.c
mlxbf-bootctl.h
mlxbf-pmc.c
mlxbf-tmfifo-regs.h
mlxbf-tmfifo.c
mlxreg-hotplug.c
mlxreg-io.c
mlxreg-lc.c
nvsw-sn2201.c