[PATCH 08/13] clocksource: convert ARM 32-bit down counting clocksources
Russell King - ARM Linux
linux at arm.linux.org.uk
Tue May 10 04:07:52 EDT 2011
On Tue, May 10, 2011 at 09:39:30AM +0200, Alessandro Rubini wrote:
> > Convert MXC, Nomadik and Orion 32-bit down-counting clocksources to
> > generic mmio clocksource infrastructure.
>
> Ok, but I think Linusw should ack this as there is the issue of
> dummy-read used initially, that I really didn't understand.
It was introduced for sched_clock() support - see 2a84751 (ARM: 6107/1:
plat-nomadik: use the MTU clocksrc for sched_clock). That has already
been revised so it doesn't use nmdk_clksrc.read - see 8fbb97a (ARM:
6488/1: nomadik: prevent sched_clock() wraparound).
The clocksource isn't registered, and there are no users of
nmdk_clksrc.read, so nothing is going to call the dummy read function.
> > + if (clocksource_mmio_init(mti_base + MTU_VAL(0), "mtu_0",
>
> Typo. That's "mtu_base", not "mti".
Fixed.
More information about the linux-arm-kernel
mailing list