Cc: Haavard Skinnemoen <hskinnemoen@...>, <akpm@...>, LKML <linux-kernel@...>, David Brownell <dbrownell@...>, Nicolas Ferre <nicolas.ferre@...>, Andrew Victor <linux@...>, john stultz <johnstul@...>, Thomas Gleixner <tglx@...>
Could you elaborate on where that 50-100 usec gets spent? Does
the same issue happpen with the $SUBJECT patch (if you tweak the
clocksource ratings to use its clockevents on rm9200)?
I'd not think the timer IRQ logic accounts for much of that time,
and the rest of the instruction cycles would seem to be either
in genirq or gentime. Unless the issue is that accessing that
particular hardware is slow, with clockdomain crossing etc ...
or that AT91 has way too many handlers sitting on IRQ-1.
If it's a gentime or genirq issue, that's somewhat amenable to
fixing ... and it would also impact the $SUBJECT patch both on
other AT91 ARM9 cores and on the AVR32 AP7 cores.
Should the min_delta_ns be increased in at91rm9200_time.c then?
Right now, as you probably recall, it's at the lowest value
needed for correctness: a smidgeon over two ticks (~ 72 nsec).
- Dave
--