Re: [PATCHv3 net-next 2/3] ptp: add ioctl interface for ptp_gettimex64any()

From: Richard Cochran
Date: Sun Jan 07 2024 - 16:08:09 EST


On Sat, Jan 06, 2024 at 12:08:57AM -0800, Mahesh Bandewar (महेश बंडेवार) wrote:

> Having a general solution for posix timers is a nice addition.
> However, expecting a general purpose syscall to eliminate need for
> device ioctl is an unreasonable expectation.

Let me make this clear:

There is no reasonable justification for a new PTP ioctl.

The system call can and should use the the most accurate method
internally to the kernel.

Thanks,
Richard