Thread (43 messages) 43 messages, 5 authors, 2007-08-08

Re: [patch 06/10] 40x decrementer fixes

flat view

From: Josh Boyer <hidden>
Date: 2007-08-03 17:15:30

On Fri, 03 Aug 2007 20:47:03 +0400
Sergei Shtylyov [off-list ref] wrote:
Josh Boyer wrote:
quoted
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.

If we want to do that, then fine but it should be common between 40x
and 44x.  I didn't see much of a reason to differ from what's there
today.

josh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help