[PATCH] powerpc: Disable external interrupts in bootwrapper

Segher Boessenkool segher at kernel.crashing.org
Thu Mar 29 02:57:09 EST 2007


>> Disable external interrupts very early in the bootwrapper in case
>> the firmware left a device generating interrupts.
>
> This is just a guess at what is happening, but I think the OF on my
> G5 uses the timer interrupt as a kind of watchdog timer, so that if
> the loaded code hangs, OF will regain control.  If you disable
> interrupts, you may loose this functionality.

Apple OF uses the decrementer to implement all kinds of
alarms.  Calling "quiesce" will shut off EE.  Shutting
it off manually before that might result in weird behaviour.


Segher




More information about the Linuxppc-dev mailing list