Skip to content

dpll: initial patchset extension by mlx5 implementation

Jiri Pirko linux-arm-kernel linux-clk llvm netdev oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7dpll: make ops function args constdrivers/dpll/dpll_core.c include/linux/dpll.h+17 -170 replies
2/7dpll: allow to call device register multiple timesdrivers/dpll/dpll_core.c drivers/dpll/dpll_core.h drivers/dpll/dpll_netlink.c +3 more+113 -230 replies
3/7dpll: introduce a helper to get first dpll ref and use itdrivers/dpll/dpll_core.c drivers/dpll/dpll_core.h drivers/dpll/dpll_netlink.c+25 -220 replies
4/7dpll: allow to call pin register multiple timesdrivers/dpll/dpll_core.c drivers/dpll/dpll_core.h drivers/dpll/dpll_netlink.c +2 more+220 -1000 replies
5/7dpll: export dpll_pin_notify()drivers/dpll/dpll_netlink.c drivers/dpll/dpll_netlink.h include/linux/dpll.h+5 -30 replies
6/7netdev: expose DPLL pin handle for netdevicedrivers/dpll/dpll_netlink.c include/linux/dpll.h include/linux/netdevice.h +3 more+111 -40 replies
7/7mlx5: Implement SyncE support using DPLL infrastructuredrivers/net/ethernet/mellanox/mlx5/core/Kconfig drivers/net/ethernet/mellanox/mlx5/core/Makefile drivers/net/ethernet/mellanox/mlx5/core/dev.c +3 more+517 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

From: Jiri Pirko <[email protected]>

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
Signature · 1 line
2.39.0