[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251030121314.56729-1-guwen@linux.alibaba.com>
Date: Thu, 30 Oct 2025 20:13:12 +0800
From: Wen Gu <guwen@...ux.alibaba.com>
To: richardcochran@...il.com,
andrew+netdev@...n.ch,
davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com
Cc: xuanzhuo@...ux.alibaba.com,
dust.li@...ux.alibaba.com,
netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
guwen@...ux.alibaba.com
Subject: [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/20250812115321.9179-1-guwen@linux.alibaba.com/
- use disable_* variant helpers as suggested by Paolo.
- minor nit: make PTP_CIPU_REG macro one line.
v3->v2:
https://lore.kernel.org/netdev/20250717075734.62296-1-guwen@linux.alibaba.com/
- 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/20250627072921.52754-1-guwen@linux.alibaba.com/
- add Kconfig dependency on CONFIG_PCI to fix kernel test
robot's complaint.
v1:
https://lore.kernel.org/netdev/20250625132549.93614-1-guwen@linux.alibaba.com/
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
--
2.43.5
Powered by blists - more mailing lists