Cavium ThunderX PTP timestamping helper for OCTEON TX network controllers
A small PCI driver that exposes the Precision Time Protocol (IEEE 1588) hardware clock built into Cavium (now Marvell) ThunderX and OCTEON TX server SoCs, including the CN88XX, CN81XX, and CN83XX families from the late 2010s. It feeds accurate hardware timestamps to the Thunder NIC virtual-function Ethernet driver used in those infrastructure and networking appliances.
recommendation
Worth keeping but documenting as legacy because the ThunderX/OCTEON TX generation it serves has been superseded by Marvell's newer OCTEON TX2 and later families, and upstream activity in 2024 and 2025 has been limited to treewide API cleanups rather than real feature work. It still has to stay in-tree for now, however, since the companion Thunder NIC VF Ethernet driver depends on it and there is no sign of a removal series.
repository signals
sources
- lore.kernel.org
Recent upstream touch in 2024 was a PCI API modernization patch for this file, indicating maintenance but not feature work or removal.
- lore.kernel.org
Recent upstream touch in 2025 was a timecounter API cleanup touching this file as part of a wider series, again showing treewide upkeep rather than active subsystem development.
- cateee.net
LKDDb identifies this directory's module as cavium_ptp for PCI device 177d:a00c (THUNDERX MIO-PTP Controller) and shows it still exists in current kernel series.
- cateee.net
The related Thunder NIC VF driver remains present in current kernels; local source shows it consumes cavium_ptp helpers, so this directory still serves an in-tree Cavium NIC stack.
- marvell.com
Marvell's current infrastructure-processor product page highlights newer OCTEON TX2/other current families rather than the older ThunderX-era OCTEON TX/ThunderX MIO-PTP generation, supporting a legacy-hardware assessment.
- marvell.com
Marvell's CN82XX/CN83XX product brief shows the driver targets an older OCTEON TX generation aligned with embedded/network infrastructure SoCs, not a broadly current 2025 platform family.
codex reasoning notes (technical)
Real PCI driver, not a helper-only directory: local source inspection showed module_pci_driver(cavium_ptp_driver) and PCI IDs for Cavium PTP. URLs were obtained via lore_file_timeline (first two lore links) and web search (LKDDb/Marvell links). Lore shows very sparse activity, with 2024-2025 touches limited to API/treewide upkeep; I found no positive evidence of an active removal series. Local Kconfig and source tie this driver to Thunder NIC VF timestamping/PTP support, and LKDDb confirms both remain in-tree. Marvell's current product positioning emphasizes newer families, so the hardware looks legacy with low present-day deployment, but still worth keeping annotated rather than deprecating/removing due to continued in-tree dependency and occasional upkeep.