public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v5 0/9] dpll: Core improvements and ice E825-C SyncE support
@ 2026-02-03 17:39 Ivan Vecera
  2026-02-03 17:39 ` [PATCH net-next v5 1/9] dpll: Allow associating dpll pin with a firmware node Ivan Vecera
                   ` (9 more replies)
  0 siblings, 10 replies; 20+ messages in thread
From: Ivan Vecera @ 2026-02-03 17:39 UTC (permalink / raw)
  To: netdev
  Cc: Alexander Lobakin, Andrew Lunn, Arkadiusz Kubalewski,
	David S. Miller, Eric Dumazet, Jakub Kicinski, Jiri Pirko,
	Jonathan Lemon, Leon Romanovsky, Mark Bloch, Paolo Abeni,
	Prathosh Satish, Przemek Kitszel, Richard Cochran, Saeed Mahameed,
	Tariq Toukan, Tony Nguyen, Vadim Fedorenko, intel-wired-lan,
	linux-kernel, linux-rdma

This series introduces Synchronous Ethernet (SyncE) support for the Intel
E825-C Ethernet controller. Unlike previous generations where DPLL
connections were implicitly assumed, the E825-C architecture relies
on the platform firmware (ACPI) to describe the physical connections
between the Ethernet controller and external DPLLs (such as the ZL3073x).

To accommodate this, the series extends the DPLL subsystem to support
firmware node (fwnode) associations, asynchronous discovery via notifiers,
and dynamic pin management. Additionally, a significant refactor of
the DPLL reference counting logic is included to ensure robustness and
debuggability.

DPLL Core Extensions:
* Firmware Node Association: Pins can now be associated with a struct
  fwnode_handle after allocation via dpll_pin_fwnode_set(). This allows
  drivers to link pin objects with their corresponding DT/ACPI nodes.
* Asynchronous Notifiers: A raw notifier chain is added to the DPLL core.
  This allows the Ethernet driver to subscribe to events and react when
  the platform DPLL driver registers the parent pins, resolving probe
  ordering dependencies.
* Dynamic Indexing: Drivers can now request DPLL_PIN_IDX_UNSPEC to have
  the core automatically allocate a unique pin index.

Reference Counting & Debugging:
* Refactor: The reference counting logic in the core is consolidated.
  Internal list management helpers now automatically handle hold/put
  operations, removing fragile open-coded logic in the registration paths.
* Reference Tracking: A new Kconfig option DPLL_REFCNT_TRACKER is added.
  This allows developers to instrument and debug reference leaks by
  recording stack traces for every get/put operation.

Driver Updates:
* zl3073x: Updated to associate pins with fwnode handles using the new
  setter and support the 'mux' pin type.
* ice: Implements the E825-C specific hardware configuration for SyncE
  (CGU registers). It utilizes the new notifier and fwnode APIs to
  dynamically discover and attach to the platform DPLLs.

Patch Summary:
Patch 1: DPLL Core (fwnode association).
Patch 2: Driver zl3073x (Set fwnode).
Patch 3-4: DPLL Core (Notifiers and dynamic IDs).
Patch 5: Driver zl3073x (Mux type).
Patch 6: DPLL Core (Refcount refactor).
Patch 7-8: Refcount tracking infrastructure and driver updates.
Patch 9: Driver ice (E825-C SyncE logic).

Changes in v5:
* Fixed typo in patch 7
* Fixed issues found by AI in patch 9
... in v4:
* Fixed documentation and function stub issues found by AI

Arkadiusz Kubalewski (1):
  ice: dpll: Support E825-C SyncE and dynamic pin discovery

Ivan Vecera (7):
  dpll: Allow associating dpll pin with a firmware node
  dpll: zl3073x: Associate pin with fwnode handle
  dpll: Support dynamic pin index allocation
  dpll: zl3073x: Add support for mux pin type
  dpll: Enhance and consolidate reference counting logic
  dpll: Add reference count tracking support
  drivers: Add support for DPLL reference count tracking

Petr Oros (1):
  dpll: Add notifier chain for dpll events

 drivers/dpll/Kconfig                          |  15 +
 drivers/dpll/dpll_core.c                      | 288 ++++++-
 drivers/dpll/dpll_core.h                      |  11 +
 drivers/dpll/dpll_netlink.c                   |   6 +
 drivers/dpll/zl3073x/dpll.c                   |  15 +-
 drivers/dpll/zl3073x/dpll.h                   |   2 +
 drivers/dpll/zl3073x/prop.c                   |   2 +
 drivers/net/ethernet/intel/ice/ice_dpll.c     | 755 +++++++++++++++---
 drivers/net/ethernet/intel/ice/ice_dpll.h     |  30 +
 drivers/net/ethernet/intel/ice/ice_lib.c      |   3 +
 drivers/net/ethernet/intel/ice/ice_ptp.c      |  32 +
 drivers/net/ethernet/intel/ice/ice_ptp_hw.c   |   9 +-
 drivers/net/ethernet/intel/ice/ice_tspll.c    | 217 +++++
 drivers/net/ethernet/intel/ice/ice_tspll.h    |  13 +-
 drivers/net/ethernet/intel/ice/ice_type.h     |   6 +
 .../net/ethernet/mellanox/mlx5/core/dpll.c    |  16 +-
 drivers/ptp/ptp_ocp.c                         |  18 +-
 include/linux/dpll.h                          |  59 +-
 18 files changed, 1347 insertions(+), 150 deletions(-)

-- 
2.52.0


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2026-02-05 15:10 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-03 17:39 [PATCH net-next v5 0/9] dpll: Core improvements and ice E825-C SyncE support Ivan Vecera
2026-02-03 17:39 ` [PATCH net-next v5 1/9] dpll: Allow associating dpll pin with a firmware node Ivan Vecera
2026-02-05  9:05   ` Kubalewski, Arkadiusz
2026-02-03 17:39 ` [PATCH net-next v5 2/9] dpll: zl3073x: Associate pin with fwnode handle Ivan Vecera
2026-02-05  9:19   ` [Intel-wired-lan] " Kubalewski, Arkadiusz
2026-02-03 17:39 ` [PATCH net-next v5 3/9] dpll: Add notifier chain for dpll events Ivan Vecera
2026-02-05  9:19   ` Kubalewski, Arkadiusz
2026-02-05 10:17   ` [Intel-wired-lan] " Loktionov, Aleksandr
2026-02-03 17:39 ` [PATCH net-next v5 4/9] dpll: Support dynamic pin index allocation Ivan Vecera
2026-02-05  9:01   ` Kubalewski, Arkadiusz
2026-02-03 17:39 ` [PATCH net-next v5 5/9] dpll: zl3073x: Add support for mux pin type Ivan Vecera
2026-02-05  9:01   ` Kubalewski, Arkadiusz
2026-02-03 17:39 ` [PATCH net-next v5 6/9] dpll: Enhance and consolidate reference counting logic Ivan Vecera
2026-02-05  8:58   ` Kubalewski, Arkadiusz
2026-02-03 17:40 ` [PATCH net-next v5 7/9] dpll: Add reference count tracking support Ivan Vecera
2026-02-05  8:58   ` [Intel-wired-lan] " Kubalewski, Arkadiusz
2026-02-03 17:40 ` [PATCH net-next v5 8/9] drivers: Add support for DPLL reference count tracking Ivan Vecera
2026-02-05  8:58   ` Kubalewski, Arkadiusz
2026-02-03 17:40 ` [PATCH net-next v5 9/9] ice: dpll: Support E825-C SyncE and dynamic pin discovery Ivan Vecera
2026-02-05 15:10 ` [PATCH net-next v5 0/9] dpll: Core improvements and ice E825-C SyncE support patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox