[patch dpll-rfc 0/7] dpll: initial patchset extension by mlx5 implementation

Jiri Pirko jiri at resnulli.us
Sun Mar 26 10:00:45 PDT 2023


From: Jiri Pirko <jiri at nvidia.com>

Hi.

This is extending your patchset. Basically, I do this on top of the
changes I pointed out during review. For example patch #6 is exposing
pin handle which is going to change, etc (there, I put a note).

First 5 patches are just needed dependencies and you can squash them
into your patch/patches. Last two patches should go in separatelly.

Please note that the patch #6 is replacing the need to pass the rclk
device during pin registration by putting a link between netdev and dpll
pin.

Please merge this into your dpll patchset and include it in the next
RFC. Thanks!

Jiri Pirko (7):
  dpll: make ops function args const
  dpll: allow to call device register multiple times
  dpll: introduce a helper to get first dpll ref and use it
  dpll: allow to call pin register multiple times
  dpll: export dpll_pin_notify()
  netdev: expose DPLL pin handle for netdevice
  mlx5: Implement SyncE support using DPLL infrastructure

 drivers/dpll/dpll_core.c                      | 334 ++++++++++----
 drivers/dpll/dpll_core.h                      |  25 +-
 drivers/dpll/dpll_netlink.c                   | 161 ++++---
 drivers/dpll/dpll_netlink.h                   |   3 -
 drivers/net/ethernet/intel/ice/ice_dpll.c     |  22 +-
 .../net/ethernet/mellanox/mlx5/core/Kconfig   |   8 +
 .../net/ethernet/mellanox/mlx5/core/Makefile  |   3 +
 drivers/net/ethernet/mellanox/mlx5/core/dev.c |  17 +
 .../net/ethernet/mellanox/mlx5/core/dpll.c    | 429 ++++++++++++++++++
 drivers/ptp/ptp_ocp.c                         |   2 +-
 include/linux/dpll.h                          |  46 +-
 include/linux/mlx5/driver.h                   |   2 +
 include/linux/mlx5/mlx5_ifc.h                 |  59 ++-
 include/linux/netdevice.h                     |   7 +
 include/uapi/linux/if_link.h                  |   2 +
 net/core/dev.c                                |  20 +
 net/core/rtnetlink.c                          |  38 ++
 17 files changed, 1008 insertions(+), 170 deletions(-)
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/dpll.c

-- 
2.39.0




More information about the linux-arm-kernel mailing list