[PATCH] rtc: Allow rtc drivers to specify the tv_nsec value for ntp

Jason Gunthorpe jgg at mellanox.com
Mon Nov 27 12:29:55 PST 2017


On Mon, Nov 27, 2017 at 09:18:12PM +0100, Alexandre Belloni wrote:
 
> Also, fixing systohc will not fix the offset for people using hwclock or
> any other tools (e.g. systemd).

When I was talking this over with Russel originally I imagined the
systohc fix as a first step, and we could eventually add an rtc API to
let user space do a precise write to the RTC, with the kernel taking
care of the required sleep, etc.

Jason



More information about the linux-arm-kernel mailing list