lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1763325940-1231508-1-git-send-email-tariqt@nvidia.com>
Date: Sun, 16 Nov 2025 22:45:34 +0200
From: Tariq Toukan <tariqt@...dia.com>
To: Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
	Paolo Abeni <pabeni@...hat.com>, Andrew Lunn <andrew+netdev@...n.ch>, "David
 S. Miller" <davem@...emloft.net>
CC: Saeed Mahameed <saeedm@...dia.com>, Leon Romanovsky <leon@...nel.org>,
	Tariq Toukan <tariqt@...dia.com>, Mark Bloch <mbloch@...dia.com>,
	<netdev@...r.kernel.org>, <linux-rdma@...r.kernel.org>,
	<linux-kernel@...r.kernel.org>, Gal Pressman <gal@...dia.com>, Moshe Shemesh
	<moshe@...dia.com>, Carolina Jubran <cjubran@...dia.com>, Cosmin Ratiu
	<cratiu@...dia.com>, Jiri Pirko <jiri@...dia.com>
Subject: [PATCH net-next 0/6] net/mlx5: Move notifiers outside the devlink lock

Hi,

This series by Cosmin moves blocking notifier registration in the mlx5
driver outside the devlink lock during probe.

This is mostly a no-op refactoring that consists of multiple pieces.
It is necessary because upcoming code will introduce a potential locking
cycle between the devlink lock and the blocking notifier head mutexes,
so these notifiers must move out of the devlink-locked critical section.

Regards,
Tariq


Cosmin Ratiu (6):
  net/mlx5: Initialize events outside devlink lock
  net/mlx5: Move the esw mode notifier chain outside the devlink lock
  net/mlx5: Move the vhca event notifier outside of the devlink lock
  net/mlx5: Move the SF HW table notifier outside the devlink lock
  net/mlx5: Move the SF table notifiers outside the devlink lock
  net/mlx5: Move SF dev table notifier registration outside the PF
    devlink lock

 .../net/ethernet/mellanox/mlx5/core/eswitch.c | 13 +--
 .../net/ethernet/mellanox/mlx5/core/eswitch.h |  7 +-
 .../net/ethernet/mellanox/mlx5/core/main.c    | 70 +++++++++++----
 .../ethernet/mellanox/mlx5/core/sf/dev/dev.c  | 48 ++++++----
 .../ethernet/mellanox/mlx5/core/sf/dev/dev.h  | 11 +++
 .../ethernet/mellanox/mlx5/core/sf/devlink.c  | 90 ++++++++++++-------
 .../ethernet/mellanox/mlx5/core/sf/hw_table.c | 61 ++++++++-----
 .../net/ethernet/mellanox/mlx5/core/sf/sf.h   | 20 ++++-
 .../mellanox/mlx5/core/sf/vhca_event.c        | 69 ++++++--------
 .../mellanox/mlx5/core/sf/vhca_event.h        |  5 ++
 include/linux/mlx5/driver.h                   | 10 ++-
 11 files changed, 253 insertions(+), 151 deletions(-)


base-commit: c9dfb92de0738eb7fe6a591ad1642333793e8b6e
-- 
2.31.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ