WSL2-Linux-Kernel/drivers/platform/mellanox
Vadim Pasternak 26e118ea98 platform/mellanox: mlxreg-hotplug: Allow more flexible hotplug events configuration
Currently hotplug configuration in logic device assumes that all items
are provided with no holes.
Thus, any group of hotplug events, associated with the specific
status/event/mask registers is configured in those registers
successively from bit zero to bit #n (#n < 8).

This logic is changed int order to allow non-successive definition to
support configuration with the skipped bits – for example bits 3, 5, 7
in status/event/mask registers can be associated with hotplug events,
while others can be skipped.

Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Reviewed-by: Michael Shych <michaelsh@nvidia.com>
Link: https://lore.kernel.org/r/20230208063331.15560-10-vadimp@nvidia.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2023-02-13 12:07:50 +01:00
..
Kconfig platform/mellanox: Spelling s/platfom/platform/ 2022-06-10 21:09:49 +02:00
Makefile platform/mellanox: Add support for new SN2201 system 2022-05-12 15:35:29 +02:00
mlxbf-bootctl.c platform/mellanox: Typo fix in the file mlxbf-bootctl.c 2021-03-23 21:06:04 +01:00
mlxbf-bootctl.h platform/mellanox: Add bootctl driver for Mellanox BlueField Soc 2019-10-15 10:55:10 +03:00
mlxbf-pmc.c platform/mellanox: mlxbf-pmc: Fix event typo 2022-12-12 10:31:27 +01:00
mlxbf-tmfifo-regs.h platform/mellanox: Add BlueField-3 support in the tmfifo driver 2022-11-16 08:48:19 +01:00
mlxbf-tmfifo.c platform/mellanox: Add BlueField-3 support in the tmfifo driver 2022-11-16 08:48:19 +01:00
mlxreg-hotplug.c platform/mellanox: mlxreg-hotplug: Allow more flexible hotplug events configuration 2023-02-13 12:07:50 +01:00
mlxreg-io.c platform/mellanox: mlxreg-io: Add locking for io operations 2022-07-14 22:34:42 +02:00
mlxreg-lc.c platform/mellanox: mlxreg-lc: Make error handling flow consistent 2022-09-09 21:58:16 +02:00
nvsw-sn2201.c platform/mellanox: nvsw-sn2201: fix error code in nvsw_sn2201_create_static_devices() 2022-06-27 09:38:56 +02:00