[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190918034235.GA1469@localhost>
Date: Tue, 17 Sep 2019 20:42:35 -0700
From: Richard Cochran <richardcochran@...il.com>
To: Jianyong Wu <jianyong.wu@....com>
Cc: netdev@...r.kernel.org, pbonzini@...hat.com,
sean.j.christopherson@...el.com, maz@...nel.org,
Mark.Rutland@....com, Will.Deacon@....com, suzuki.poulose@....com,
linux-kernel@...r.kernel.org, Steve.Capper@....com,
Kaly.Xin@....com, justin.he@....com, nd@....com,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 3/6] Timer: expose monotonic clock and counter value
On Tue, Sep 17, 2019 at 07:24:27AM -0400, Jianyong Wu wrote:
> A number of PTP drivers (such as ptp-kvm) are assuming what the
> current clock source is, which could lead to interesting effects on
> systems where the clocksource can change depending on external events.
>
> For this purpose, add a new API that retrives both the current
> monotonic clock as well as its counter value.
>
> Signed-off-by: Marc Zyngier <maz@...nel.org>
> Signed-off-by: Jianyong Wu <jianyong.wu@....com>
> ---
> include/linux/timekeeping.h | 3 +++
> kernel/time/timekeeping.c | 13 +++++++++++++
> 2 files changed, 16 insertions(+)
For core time keeping changes, you must CC lkml, tglx, and John Stultz.
Thanks,
Richard
Powered by blists - more mailing lists