[PATCH] powerpc: Don't use toc in decrementer_iSeries_masked

Michael Ellerman michael at ellerman.id.au
Tue Feb 7 11:07:58 EST 2006


On Mon, 6 Feb 2006 17:34, Michael Ellerman wrote:
> Since 404849bbd2bfd62e05b36f4753f6e1af6050a824 we've been using
> LOAD_REG_ADDRBASE, which uses the toc pointer, in
> decrementer_iSeries_masked.
>
> This can explode if we take the decrementer interrupt while we're in a
> module, because the toc pointer in r2 will be the module's toc pointer.
>
> Instead do an immediate load. I'm not sure if we really need the trickery
> in here, what do people think?

I think we answered that question pretty thoroughly, I'll post an updated and 
simplified version soon.

cheers

-- 
Michael Ellerman
IBM OzLabs

email: michael:ellerman.id.au
inmsg: mpe:jabber.org
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20060207/3ebdce2c/attachment.pgp 


More information about the Linuxppc64-dev mailing list