* Tony Lindgren [080320 13:58]: > * Woodruff, Richard [080320 00:14]: > > > > One note is some more optimization could happen later on with > > reordering. The current usage in gptimer has dmtimer_set_load() > > followed by a dm_timer_start(). This causes a read/write/read/write of > > the CTRL register. Those writes could be collapsed into each other. > > With a load_start(). Others maybe elsewhere. > > OK. We might also want to optimize the timer reload function. I'll post > a separate patch on that to experiment with. Here's an experimental patch that attempts to optimize the timer reloading for gp_timer0. I don't know if this improves the latency or performance, but might be worth testing. I guess there's no way to update the timer without having to write TCLR to (re)start it? If the patch helps, then we can clean it up a bit more. Tony