Re: [PATCH 2/7] Function to retrieve main clock state

2020-10-01 Thread Thomas Gleixner
On Fri, Oct 02 2020 at 00:05, Thomas Gleixner wrote: > On Thu, Oct 01 2020 at 22:51, Erez Geva wrote: > > same comments as for patch 1 apply. > >> Add kernel function to retrieve main clock oscillator state. > > The function you are adding is named adjtimex(). adjtimex(2) is a well > known user spa

Re: [PATCH 2/7] Function to retrieve main clock state

2020-10-01 Thread Thomas Gleixner
Erez, On Thu, Oct 01 2020 at 22:51, Erez Geva wrote: same comments as for patch 1 apply. > Add kernel function to retrieve main clock oscillator state. The function you are adding is named adjtimex(). adjtimex(2) is a well known user space interface and naming a read only kernel interface the s

[PATCH 2/7] Function to retrieve main clock state

2020-10-01 Thread Erez Geva
Add kernel function to retrieve main clock oscillator state. As calibration is done from user space daemon, the kernel access function permit read only. Signed-off-by: Erez Geva --- include/linux/timex.h | 1 + kernel/time/timekeeping.c | 9 + 2 files changed, 10 insertions(+) diff