Re: [PATCH] clocksource: Allow toggling between runtime and persistent clocksource for idle

2015-07-07 Thread Tony Lindgren
* John Stultz [150706 10:55]: > On Mon, Jul 6, 2015 at 10:34 AM, Thomas Gleixner wrote: > > On Mon, 6 Jul 2015, John Stultz wrote: > >> On Mon, Jul 6, 2015 at 12:12 AM, Tony Lindgren wrote: > >> > Some persistent clocksources can be on a slow external bus. For shorter > >> > latencies for RT use

Re: [PATCH] clocksource: Allow toggling between runtime and persistent clocksource for idle

2015-07-07 Thread Tony Lindgren
* John Stultz [150706 10:53]: > On Mon, Jul 6, 2015 at 8:46 AM, Thomas Gleixner wrote: > > On Mon, 6 Jul 2015, Tony Lindgren wrote: > >> * Thomas Gleixner [150706 07:20]: > >> > On Mon, 6 Jul 2015, Tony Lindgren wrote: > >> The timekeeping accuracy issue certainly needs some thinking, and > >> a

Re: [PATCH] clocksource: Allow toggling between runtime and persistent clocksource for idle

2015-07-06 Thread John Stultz
On Mon, Jul 6, 2015 at 10:34 AM, Thomas Gleixner wrote: > On Mon, 6 Jul 2015, John Stultz wrote: >> On Mon, Jul 6, 2015 at 12:12 AM, Tony Lindgren wrote: >> > Some persistent clocksources can be on a slow external bus. For shorter >> > latencies for RT use, let's allow toggling the clocksource du

Re: [PATCH] clocksource: Allow toggling between runtime and persistent clocksource for idle

2015-07-06 Thread John Stultz
On Mon, Jul 6, 2015 at 8:46 AM, Thomas Gleixner wrote: > On Mon, 6 Jul 2015, Tony Lindgren wrote: >> * Thomas Gleixner [150706 07:20]: >> > On Mon, 6 Jul 2015, Tony Lindgren wrote: >> The timekeeping accuracy issue certainly needs some thinking, and >> also the resolution between the clocksources

Re: [PATCH] clocksource: Allow toggling between runtime and persistent clocksource for idle

2015-07-06 Thread Thomas Gleixner
On Mon, 6 Jul 2015, John Stultz wrote: > On Mon, Jul 6, 2015 at 12:12 AM, Tony Lindgren wrote: > > Some persistent clocksources can be on a slow external bus. For shorter > > latencies for RT use, let's allow toggling the clocksource during idle > > between a faster non-persistent runtime clocksou

Re: [PATCH] clocksource: Allow toggling between runtime and persistent clocksource for idle

2015-07-06 Thread John Stultz
On Mon, Jul 6, 2015 at 12:12 AM, Tony Lindgren wrote: > Some persistent clocksources can be on a slow external bus. For shorter > latencies for RT use, let's allow toggling the clocksource during idle > between a faster non-persistent runtime clocksource and a slower persistent > clocksource. So

Re: [PATCH] clocksource: Allow toggling between runtime and persistent clocksource for idle

2015-07-06 Thread Tony Lindgren
* Thomas Gleixner [150706 08:48]: > On Mon, 6 Jul 2015, Tony Lindgren wrote: > > * Thomas Gleixner [150706 07:20]: > > > On Mon, 6 Jul 2015, Tony Lindgren wrote: > > The timekeeping accuracy issue certainly needs some thinking, and > > also the resolution between the clocksources can be different

Re: [PATCH] clocksource: Allow toggling between runtime and persistent clocksource for idle

2015-07-06 Thread Thomas Gleixner
On Mon, 6 Jul 2015, Tony Lindgren wrote: > * Thomas Gleixner [150706 07:20]: > > On Mon, 6 Jul 2015, Tony Lindgren wrote: > The timekeeping accuracy issue certainly needs some thinking, and > also the resolution between the clocksources can be different.. In the > test case I have the slow timer i

Re: [PATCH] clocksource: Allow toggling between runtime and persistent clocksource for idle

2015-07-06 Thread Tony Lindgren
Hi, * Thomas Gleixner [150706 07:20]: > On Mon, 6 Jul 2015, Tony Lindgren wrote: > > > Some persistent clocksources can be on a slow external bus. For shorter > > latencies for RT use, let's allow toggling the clocksource during idle > > between a faster non-persistent runtime clocksource and a

Re: [PATCH] clocksource: Allow toggling between runtime and persistent clocksource for idle

2015-07-06 Thread Thomas Gleixner
On Mon, 6 Jul 2015, Tony Lindgren wrote: > Some persistent clocksources can be on a slow external bus. For shorter > latencies for RT use, let's allow toggling the clocksource during idle > between a faster non-persistent runtime clocksource and a slower persistent > clocksource. I really cannot

[PATCH] clocksource: Allow toggling between runtime and persistent clocksource for idle

2015-07-06 Thread Tony Lindgren
Some persistent clocksources can be on a slow external bus. For shorter latencies for RT use, let's allow toggling the clocksource during idle between a faster non-persistent runtime clocksource and a slower persistent clocksource. Cc: Felipe Balbi Cc: John Stultz Cc: Nishanth Menon Cc: Thomas