Skip to content

ptp: Alibaba CIPU PTP clock driver

Wen Gu lkml netdev 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 20 repliesIn review
  2. v41 patch 14 repliesSuperseded
  3. v31 patch 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v21 patch7 repliesSuperseded
v11 patch0 repliesSuperseded

v5->v4 from the cover letter

- add documentation describing sysfs files.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ptp: introduce Alibaba CIPU PHC driverMAINTAINERS drivers/ptp/Kconfig drivers/ptp/Makefile +1 more+966 -020 replies
2/2ptp: add sysfs documentation for Alibaba CIPU PHC driverDocumentation/ABI/testing/sysfs-ptp-devices-cipu MAINTAINERS+228 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchXuan Zhuo
1/2R-b
2/2

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

Read the v5 thread

Cover letter [PATCH net-next v5 0/2] ptp: Alibaba CIPU PTP clock driver

This adds a driver for Alibaba CIPU PTP clock.

The CIPU, an underlying infrastructure of Alibaba Cloud, synchronizes time with atomic clocks via the network and provides microsecond or sub-microsecond precision timestamps for VMs and bare metals on cloud.

User space processes, such as chrony, running in VMs or on bare metals can get the high precision time through the ptp device exposed by this driver.

In addition, this driver exposes sysfs files for obtaining device attributes and event statistics, as described in the documentation.

---
v5->v4:
- add documentation describing sysfs files.

v4->v3:
https://lore.kernel.org/netdev/[email protected]/
- use disable_* variant helpers as suggested by Paolo.
- minor nit: make PTP_CIPU_REG macro one line.

v3->v2:
https://lore.kernel.org/netdev/[email protected]/
- follow the sysfs convention of one value per file;
- rename enum constants for brevity;
- improve macros for printing;
- add more comments;

v2->v1:
https://lore.kernel.org/netdev/[email protected]/
- add Kconfig dependency on CONFIG_PCI to fix kernel test robot's complaint.

v1:
https://lore.kernel.org/netdev/[email protected]/

Wen Gu (2):
ptp: introduce Alibaba CIPU PHC driver
ptp: add sysfs documentation for Alibaba CIPU PHC driver

 .../ABI/testing/sysfs-ptp-devices-cipu        | 227 +++++
 MAINTAINERS                                   |   8 +
 drivers/ptp/Kconfig                           |  12 +
 drivers/ptp/Makefile                          |   1 +
 drivers/ptp/ptp_cipu.c                        | 946 ++++++++++++++++++
 5 files changed, 1194 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-ptp-devices-cipu
 create mode 100644 drivers/ptp/ptp_cipu.c
Signature · 1 line
2.43.5