Re: [RFC PATCH 13/13] m68k: mvme16x: Convert to clocksource API

2018-11-13 Thread Finn Thain
On Tue, 13 Nov 2018, I wrote: > On Mon, 12 Nov 2018, Thomas Gleixner wrote: > > > > +static u32 clk_total; > > > + > > > +#define PCC_TIMER_CLOCK_FREQ 100 > > > +#define PCC_TIMER_CYCLES (PCC_TIMER_CLOCK_FREQ / HZ) > > > + > > > static irqreturn_t mvme16x_timer_int (int irq, void *dev_id

Re: [RFC PATCH 13/13] m68k: mvme16x: Convert to clocksource API

2018-11-12 Thread Finn Thain
On Mon, 12 Nov 2018, Thomas Gleixner wrote: > Finn, > > First of all, thanks for tackling this! > Happy to help. Thanks for your review. > > +static u32 clk_total; > > + > > +#define PCC_TIMER_CLOCK_FREQ 100 > > +#define PCC_TIMER_CYCLES (PCC_TIMER_CLOCK_FREQ / HZ) > > + > > static ir

Re: [RFC PATCH 13/13] m68k: mvme16x: Convert to clocksource API

2018-11-12 Thread Thomas Gleixner
Finn, On Mon, 12 Nov 2018, Finn Thain wrote: First of all, thanks for tackling this! > +static u32 clk_total; > + > +#define PCC_TIMER_CLOCK_FREQ 100 > +#define PCC_TIMER_CYCLES (PCC_TIMER_CLOCK_FREQ / HZ) > + > static irqreturn_t mvme16x_timer_int (int irq, void *dev_id) > { > +ir