[patch 06/10] 40x decrementer fixes

Sergei Shtylyov sshtylyov at ru.mvista.com
Sat Aug 4 03:25:26 EST 2007


Josh Boyer wrote:

>>>Allow generic_calibrate_decr to work for 40x platforms.  Given that the hardware
>>>behavior is identical, this also changes the set_dec function to reload the PIT
>>>on 40x to match the behavior 44x currently has.

>>    Why bother doing this?! This will only warrant you imprecise decrementer 
>>interrupts while it should be interrupting at the precise period currently (if 
>>you load PIT once)...

> Without some kind of fix, it doesn't function at all.  We can load the
> PIT once, but then we need to make sure ARE is set because if the PIT
> ticks down to zero it just sits there.

    Ah, sorry... somehow I thought 40x doesn't have TCR and so only a periodic 
mode. :-<

> josh

WBR, Sergei



More information about the Linuxppc-dev mailing list