Re: [PATCH v3 5/7] clocksource/cadence_ttc: Use only one counter

2014-02-10 Thread Sören Brinkmann
Hi Thomas, On Tue, Feb 04, 2014 at 09:41:53PM +0100, Thomas Gleixner wrote: > On Mon, 3 Feb 2014, Soren Brinkmann wrote: > > > Currently the driver uses two of the three counters the TTC provides to > > implement a clocksource and a clockevent device. By using the TTC's > > match feature we can

Re: [PATCH v3 5/7] clocksource/cadence_ttc: Use only one counter

2014-02-10 Thread Sören Brinkmann
Hi Thomas, On Tue, Feb 04, 2014 at 09:41:53PM +0100, Thomas Gleixner wrote: On Mon, 3 Feb 2014, Soren Brinkmann wrote: Currently the driver uses two of the three counters the TTC provides to implement a clocksource and a clockevent device. By using the TTC's match feature we can

Re: [PATCH v3 5/7] clocksource/cadence_ttc: Use only one counter

2014-02-04 Thread Thomas Gleixner
On Mon, 3 Feb 2014, Soren Brinkmann wrote: > Currently the driver uses two of the three counters the TTC provides to > implement a clocksource and a clockevent device. By using the TTC's > match feature we can implement both use cases using a single counter > only. Are you entirely sure that

Re: [PATCH v3 5/7] clocksource/cadence_ttc: Use only one counter

2014-02-04 Thread Thomas Gleixner
On Mon, 3 Feb 2014, Soren Brinkmann wrote: Currently the driver uses two of the three counters the TTC provides to implement a clocksource and a clockevent device. By using the TTC's match feature we can implement both use cases using a single counter only. Are you entirely sure that this

[PATCH v3 5/7] clocksource/cadence_ttc: Use only one counter

2014-02-03 Thread Soren Brinkmann
Currently the driver uses two of the three counters the TTC provides to implement a clocksource and a clockevent device. By using the TTC's match feature we can implement both use cases using a single counter only. The old approach is to use timer over-/underflow to generate an interrupt. Using

[PATCH v3 5/7] clocksource/cadence_ttc: Use only one counter

2014-02-03 Thread Soren Brinkmann
Currently the driver uses two of the three counters the TTC provides to implement a clocksource and a clockevent device. By using the TTC's match feature we can implement both use cases using a single counter only. The old approach is to use timer over-/underflow to generate an interrupt. Using