[PATCH 1/8] ARM: support for Moschip MCS814x SoCs

Linus Walleij linus.walleij at linaro.org
Fri Jul 27 18:42:06 EDT 2012


On Mon, Jul 23, 2012 at 9:11 PM, Florian Fainelli <florian at openwrt.org> wrote:

> [Thomas P]
>> I am surprised that this doesn't use the clocksource and clockevents
>> infrastructure. It probably should, and be implemented in
>> drivers/clocksource/.
>
> This may sound like a stupid question, but the big constraint with this SoC is
> that the timers do not reload themselves, and so far, I did not find out how I
> can handle this properly with a clocksource. I suppose that it should not be a
> big problem for the clockevent device however.
>
> Has anyone any example of such particular case?

Gah what horror.

So you don't have *anything* in your platform which is really
continous and sufficiently fast?

Then try to get an IRQ to rearm and retrigger the timer to fire
itself whenever it reloads and pray this doesn't add a skew too much.
Bonus if you can use the NMI for this :-/

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list