Skip to content

Add PTP support for CN10K silicon

Naveen Mamindlapalli lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4octeontx2-af: return correct ptp timestamp for CN10K silicondrivers/net/ethernet/marvell/octeontx2/af/ptp.c+13 -10 repliesApplied
2/4octeontx2-pf: Add support for ptp 1-step mode on CN10K silicondrivers/net/ethernet/marvell/octeontx2/af/rpm.c drivers/net/ethernet/marvell/octeontx2/af/rpm.h drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c +7 more+234 -420 repliesApplied
3/4octeontx2-af: Add PTP PPS Errata workaround on CN10K silicondrivers/net/ethernet/marvell/octeontx2/af/mbox.h drivers/net/ethernet/marvell/octeontx2/af/ptp.c drivers/net/ethernet/marvell/octeontx2/af/ptp.h +1 more+109 -50 repliesApplied
4/4octeontx2-af: Initialize PTP_SEC_ROLLOVER register properlydrivers/net/ethernet/marvell/octeontx2/af/ptp.c+10 -00 repliesApplied

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRichard Cochran
SeriesA-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [net-next PATCH 0/4] Add PTP support for CN10K silicon

This patchset adds PTP support for CN10K silicon, specifically to workaround few hardware issues and to add 1-step mode.

Patchset overview:

Patch #1 returns correct ptp timestamp in nanoseconds captured
when external timestamp event occurs.

Patch #2 adds 1-step mode support.

Patch #3 implements software workaround to generate PPS output properly.

Patch #4 provides a software workaround for the rollover register default
value, which causes ptp to return the wrong timestamp.

Hariprasad Kelam (1):
octeontx2-pf: Add support for ptp 1-step mode on CN10K silicon

Naveen Mamindlapalli (3):
octeontx2-af: return correct ptp timestamp for CN10K silicon
octeontx2-af: Add PTP PPS Errata workaround on CN10K silicon
octeontx2-af: Initialize PTP_SEC_ROLLOVER register properly

 drivers/net/ethernet/marvell/octeontx2/af/mbox.h   |   2 +
 drivers/net/ethernet/marvell/octeontx2/af/ptp.c    | 106 +++++++++++++++++++-
 drivers/net/ethernet/marvell/octeontx2/af/ptp.h    |   3 +
 drivers/net/ethernet/marvell/octeontx2/af/rpm.c    |  19 +++-
 drivers/net/ethernet/marvell/octeontx2/af/rpm.h    |   5 +
 .../net/ethernet/marvell/octeontx2/af/rvu_nix.c    |   8 +-
 .../net/ethernet/marvell/octeontx2/af/rvu_reg.h    |   1 +
 .../ethernet/marvell/octeontx2/nic/otx2_common.h   |  13 +++
 .../ethernet/marvell/octeontx2/nic/otx2_ethtool.c  |   8 +-
 .../net/ethernet/marvell/octeontx2/nic/otx2_pf.c   |  11 +++
 .../net/ethernet/marvell/octeontx2/nic/otx2_ptp.c  | 103 ++++++++++++++-----
 .../ethernet/marvell/octeontx2/nic/otx2_struct.h   |  11 ++-
 .../net/ethernet/marvell/octeontx2/nic/otx2_txrx.c | 110 ++++++++++++++++++++-
 13 files changed, 359 insertions(+), 41 deletions(-)
Signature · 1 line
2.16.5