From: Jakub Kicinski <kuba@kernel.org> Date: Fri, 20 Jan 2023 03:00:31 +0000 (-0800) Subject: Merge branch 'devlink-linecard-and-reporters-locking-cleanup' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1c5cc012339d14510821497bafc5c179bc4a81b6;p=linux.git Merge branch 'devlink-linecard-and-reporters-locking-cleanup' Jiri Pirko says: ==================== devlink: linecard and reporters locking cleanup This patchset does not change functionality. Patches 1-2 remove linecards lock and reference counting, converting them to be protected by devlink instance lock as the rest of the objects. Patches 3-4 fix the mlx5 auxiliary device devlink locking scheme whis is needed for proper reporters lock conversion done in the following patches. Patches 5-8 remove reporters locks and reference counting, converting them to be protected by devlink instance lock as the rest of the objects. Patches 9 and 10 convert linecards and reporters dumpit callbacks to recently introduced devlink_nl_instance_iter_dump() infra. Patch 11 removes no longer needed devlink_dump_for_each_instance_get() helper. The last patch adds assertion to devl_is_registered() as dependency on other locks is removed. ==================== Link: https://lore.kernel.org/r/20230118152115.1113149-1-jiri@resnulli.us Signed-off-by: Jakub Kicinski <kuba@kernel.org> --- 1c5cc012339d14510821497bafc5c179bc4a81b6