7447A strange problem with MSR:POW (WAS: can't boot 2.6.17-rc1)
Benjamin Herrenschmidt
benh at kernel.crashing.org
Fri Apr 14 08:37:21 EST 2006
> FYI, the user's manual recommends this sequence:
> loop:
> sync
> mtmsr POW
> isync
> b loop
Ok, that's what OS X does... I always wondered ...
So ideally, we should do something similar to the above and set some
global bit somewhere telling the exception path to change the return
address. In either case, the actual form of the loop becomes fairly
irrelevant.
I need to verify what's up with the 970. I noticed Apple has some
additional weird tricks involving setting the DEC to a short value but
setting POW without EE (though I don't remember for sure, I should dbl
check their code). I suppose I should ask some IBM folks there.
Ben.
More information about the Linuxppc-dev
mailing list