Thread (15 messages) 15 messages, 2 authors, 2026-01-30

RE: [Intel-wired-lan] [PATCH net-next v3 8/9] drivers: Add support for DPLL reference count tracking

From: Loktionov, Aleksandr <hidden>
Date: 2026-01-30 17:52:44
Also in: intel-wired-lan, linux-rdma, lkml

quoted hunk ↗ jump to hunk
-----Original Message-----
From: Intel-wired-lan <redacted> On Behalf
Of Ivan Vecera
Sent: Friday, January 30, 2026 5:54 PM
To: netdev@vger.kernel.org
Cc: Lobakin, Aleksander <aleksander.lobakin@intel.com>; Andrew Lunn
[off-list ref]; Kubalewski, Arkadiusz
[off-list ref]; David S. Miller
[off-list ref]; Eric Dumazet [off-list ref]; Jakub
Kicinski [off-list ref]; Jiri Pirko [off-list ref]; Jonathan
Lemon [off-list ref]; Leon Romanovsky [off-list ref];
Mark Bloch [off-list ref]; Paolo Abeni [off-list ref];
Prathosh Satish [off-list ref]; Kitszel, Przemyslaw
[off-list ref]; Richard Cochran
[off-list ref]; Saeed Mahameed [off-list ref]; Tariq
Toukan [off-list ref]; Nguyen, Anthony L
[off-list ref]; Vadim Fedorenko
[off-list ref]; intel-wired-lan@lists.osuosl.org; linux-
kernel@vger.kernel.org; linux-rdma@vger.kernel.org
Subject: [Intel-wired-lan] [PATCH net-next v3 8/9] drivers: Add
support for DPLL reference count tracking

Update existing DPLL drivers to utilize the DPLL reference count
tracking infrastructure.

Add dpll_tracker fields to the drivers' internal device and pin
structures. Pass pointers to these trackers when calling
dpll_device_get/put() and dpll_pin_get/put().

This allows developers to inspect the specific references held by this
driver via debugfs when CONFIG_DPLL_REFCNT_TRACKER is enabled, aiding
in the debugging of resource leaks.

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
---
 drivers/dpll/zl3073x/dpll.c                    | 14 ++++++++------
 drivers/dpll/zl3073x/dpll.h                    |  2 ++
 drivers/net/ethernet/intel/ice/ice_dpll.c      | 15 ++++++++-------
 drivers/net/ethernet/intel/ice/ice_dpll.h      |  4 ++++
 drivers/net/ethernet/mellanox/mlx5/core/dpll.c | 15 +++++++++------
 drivers/ptp/ptp_ocp.c                          | 17 ++++++++++-------
 6 files changed, 41 insertions(+), 26 deletions(-)
diff --git a/drivers/dpll/zl3073x/dpll.c b/drivers/dpll/zl3073x/dpll.c
index 8788bcab7ec53..a99d143a7acde 100644
--- a/drivers/dpll/zl3073x/dpll.c
+++ b/drivers/dpll/zl3073x/dpll.c
@@ -29,6 +29,7 @@
  * @list: this DPLL pin list entry
...
--
2.52.0
Reviewed-by: Aleksandr Loktionov <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help