Re: [PATCH v2] clocksource: atmel-pit: register as a sched_clock

2016-02-24 Thread Nicolas Ferre
Le 24/02/2016 17:44, Romain Izard a écrit : > 2016-02-24 17:20 GMT+01:00 Sylvain Rochet : >> Hi, >> >> On Wed, Feb 24, 2016 at 05:04:42PM +0100, Romain Izard wrote: >>> Register the counter of the Periodic Interval Timer as a possible >>> source for sched_clock. Keep

Re: [PATCH v2] clocksource: atmel-pit: register as a sched_clock

2016-02-24 Thread Nicolas Ferre
Le 24/02/2016 17:44, Romain Izard a écrit : > 2016-02-24 17:20 GMT+01:00 Sylvain Rochet : >> Hi, >> >> On Wed, Feb 24, 2016 at 05:04:42PM +0100, Romain Izard wrote: >>> Register the counter of the Periodic Interval Timer as a possible >>> source for sched_clock. Keep the timer running even if the

Re: [PATCH v2] clocksource: atmel-pit: register as a sched_clock

2016-02-24 Thread Romain Izard
2016-02-24 17:20 GMT+01:00 Sylvain Rochet : > Hi, > > On Wed, Feb 24, 2016 at 05:04:42PM +0100, Romain Izard wrote: >> Register the counter of the Periodic Interval Timer as a possible >> source for sched_clock. Keep the timer running even if the related >> clockevent

Re: [PATCH v2] clocksource: atmel-pit: register as a sched_clock

2016-02-24 Thread Romain Izard
2016-02-24 17:20 GMT+01:00 Sylvain Rochet : > Hi, > > On Wed, Feb 24, 2016 at 05:04:42PM +0100, Romain Izard wrote: >> Register the counter of the Periodic Interval Timer as a possible >> source for sched_clock. Keep the timer running even if the related >> clockevent is disabled. >> >> This

Re: [PATCH v2] clocksource: atmel-pit: register as a sched_clock

2016-02-24 Thread Sylvain Rochet
Hi, On Wed, Feb 24, 2016 at 05:04:42PM +0100, Romain Izard wrote: > Register the counter of the Periodic Interval Timer as a possible source > for sched_clock. Keep the timer running even if the related clockevent > is disabled. > > This provides a better precision than the jiffies-based

Re: [PATCH v2] clocksource: atmel-pit: register as a sched_clock

2016-02-24 Thread Sylvain Rochet
Hi, On Wed, Feb 24, 2016 at 05:04:42PM +0100, Romain Izard wrote: > Register the counter of the Periodic Interval Timer as a possible source > for sched_clock. Keep the timer running even if the related clockevent > is disabled. > > This provides a better precision than the jiffies-based

Re: [PATCH v2] clocksource: atmel-pit: register as a sched_clock

2016-02-24 Thread Alexandre Belloni
On 24/02/2016 at 17:04:42 +0100, Romain Izard wrote : > Register the counter of the Periodic Interval Timer as a possible source > for sched_clock. Keep the timer running even if the related clockevent > is disabled. > > This provides a better precision than the jiffies-based default. The > TCB

Re: [PATCH v2] clocksource: atmel-pit: register as a sched_clock

2016-02-24 Thread Alexandre Belloni
On 24/02/2016 at 17:04:42 +0100, Romain Izard wrote : > Register the counter of the Periodic Interval Timer as a possible source > for sched_clock. Keep the timer running even if the related clockevent > is disabled. > > This provides a better precision than the jiffies-based default. The > TCB

[PATCH v2] clocksource: atmel-pit: register as a sched_clock

2016-02-24 Thread Romain Izard
Register the counter of the Periodic Interval Timer as a possible source for sched_clock. Keep the timer running even if the related clockevent is disabled. This provides a better precision than the jiffies-based default. The TCB clocksource does not work, as it is registered too late in the

[PATCH v2] clocksource: atmel-pit: register as a sched_clock

2016-02-24 Thread Romain Izard
Register the counter of the Periodic Interval Timer as a possible source for sched_clock. Keep the timer running even if the related clockevent is disabled. This provides a better precision than the jiffies-based default. The TCB clocksource does not work, as it is registered too late in the