Re: [PATCH] [RFC] clocksource: improve GENERIC_CLOCKEVENTS dependency

2017-09-18 Thread Daniel Lezcano
On 05/09/2017 17:04, Arnd Bergmann wrote: > We regularly run into build errors when a clocksource driver selects > CONFIG_TIMER_OF while CONFIG_GENERIC_CLOCKEVENTS is disabled: > > In file included from drivers/clocksource/timer-of.c:25:0: > drivers/clocksource/timer-of.h:35:28: error: field

Re: [PATCH] [RFC] clocksource: improve GENERIC_CLOCKEVENTS dependency

2017-09-12 Thread Linus Walleij
On Tue, Sep 12, 2017 at 11:10 AM, Russell King - ARM Linux wrote: > On Tue, Sep 12, 2017 at 10:09:51AM +0200, Linus Walleij wrote: >> For ARM we now have two subarchs not using generic clockevents: >> RISC PC and EBSA110. >> >> I think Russell stated these two cannot be

Re: [PATCH] [RFC] clocksource: improve GENERIC_CLOCKEVENTS dependency

2017-09-12 Thread Russell King - ARM Linux
On Tue, Sep 12, 2017 at 10:09:51AM +0200, Linus Walleij wrote: > For ARM we now have two subarchs not using generic clockevents: > RISC PC and EBSA110. > > I think Russell stated these two cannot be converted to generic clockevents > because of hardware limitations I guess, no timer interrupt,

Re: [PATCH] [RFC] clocksource: improve GENERIC_CLOCKEVENTS dependency

2017-09-12 Thread Linus Walleij
On Tue, Sep 5, 2017 at 5:04 PM, Arnd Bergmann wrote: > We regularly run into build errors when a clocksource driver selects > CONFIG_TIMER_OF while CONFIG_GENERIC_CLOCKEVENTS is disabled: > > In file included from drivers/clocksource/timer-of.c:25:0: >

[PATCH] [RFC] clocksource: improve GENERIC_CLOCKEVENTS dependency

2017-09-05 Thread Arnd Bergmann
We regularly run into build errors when a clocksource driver selects CONFIG_TIMER_OF while CONFIG_GENERIC_CLOCKEVENTS is disabled: In file included from drivers/clocksource/timer-of.c:25:0: drivers/clocksource/timer-of.h:35:28: error: field 'clkevt' has incomplete type At the moment, three