Re: [PATCH v3 1/3] timekeeping: Add a fast and NMI safe boot clock

2017-01-06 Thread John Stultz
On Fri, Jan 6, 2017 at 6:39 PM, Joel Fernandes wrote: > Hi John, > > On Fri, Jan 6, 2017 at 4:48 PM, John Stultz wrote: >> On Thu, Nov 24, 2016 at 12:20 PM, Joel Fernandes wrote: >>> This boot clock can be used as a tracing clock and

Re: [PATCH v3 1/3] timekeeping: Add a fast and NMI safe boot clock

2017-01-06 Thread John Stultz
On Fri, Jan 6, 2017 at 6:39 PM, Joel Fernandes wrote: > Hi John, > > On Fri, Jan 6, 2017 at 4:48 PM, John Stultz wrote: >> On Thu, Nov 24, 2016 at 12:20 PM, Joel Fernandes wrote: >>> This boot clock can be used as a tracing clock and will account for >>> suspend time. >>> >>> To keep it NMI

Re: [PATCH v3 1/3] timekeeping: Add a fast and NMI safe boot clock

2017-01-06 Thread Joel Fernandes
Hi John, On Fri, Jan 6, 2017 at 4:48 PM, John Stultz wrote: > On Thu, Nov 24, 2016 at 12:20 PM, Joel Fernandes wrote: >> This boot clock can be used as a tracing clock and will account for >> suspend time. >> >> To keep it NMI safe since we're

Re: [PATCH v3 1/3] timekeeping: Add a fast and NMI safe boot clock

2017-01-06 Thread Joel Fernandes
Hi John, On Fri, Jan 6, 2017 at 4:48 PM, John Stultz wrote: > On Thu, Nov 24, 2016 at 12:20 PM, Joel Fernandes wrote: >> This boot clock can be used as a tracing clock and will account for >> suspend time. >> >> To keep it NMI safe since we're accessing from tracing, we're not using a >>

Re: [PATCH v3 1/3] timekeeping: Add a fast and NMI safe boot clock

2017-01-06 Thread John Stultz
On Thu, Nov 24, 2016 at 12:20 PM, Joel Fernandes wrote: > This boot clock can be used as a tracing clock and will account for > suspend time. > > To keep it NMI safe since we're accessing from tracing, we're not using a > separate timekeeper with updates to monotonic clock and

Re: [PATCH v3 1/3] timekeeping: Add a fast and NMI safe boot clock

2017-01-06 Thread John Stultz
On Thu, Nov 24, 2016 at 12:20 PM, Joel Fernandes wrote: > This boot clock can be used as a tracing clock and will account for > suspend time. > > To keep it NMI safe since we're accessing from tracing, we're not using a > separate timekeeper with updates to monotonic clock and boot offset >

[PATCH v3 1/3] timekeeping: Add a fast and NMI safe boot clock

2016-11-24 Thread Joel Fernandes
This boot clock can be used as a tracing clock and will account for suspend time. To keep it NMI safe since we're accessing from tracing, we're not using a separate timekeeper with updates to monotonic clock and boot offset protected with seqlocks. This has the following minor side effects: (1)

[PATCH v3 1/3] timekeeping: Add a fast and NMI safe boot clock

2016-11-24 Thread Joel Fernandes
This boot clock can be used as a tracing clock and will account for suspend time. To keep it NMI safe since we're accessing from tracing, we're not using a separate timekeeper with updates to monotonic clock and boot offset protected with seqlocks. This has the following minor side effects: (1)