Thread (10 messages) 10 messages, 5 authors, 2026-02-25

Re: [RFC] Defining a home/maintenance model for non-NIC PHC devices using the /dev/ptpX API

From: Richard Cochran <richardcochran@gmail.com>
Date: 2026-01-13 04:21:34
Also in: linux-clk, lkml, virtualization

On Fri, Jan 09, 2026 at 10:56:56AM +0800, Wen Gu wrote:
Introducing a new clock type or a new userspace API (e.g. /dev/XXX) would
require widespread userspace changes, duplicated tooling, and long-term
fragmentation. This RFC is explicitly NOT proposing a new userspace API.
Actually I disagree.

The PHC devices appear to user space as clockid_t.

The API for these works seamlessly and interchangeably with SYS-V clock IDs.

The path that is opened, whether /dev/ptpX or some new /dev/hwclkX etc
is a trivial detail that adds no burden to user space.

Thanks,
Richard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help