Re: MCA/INIT: need to wire CURRENT_STACK?

From: Keith Owens <>
Date: 2005-09-22 09:21:14
On Wed, 21 Sep 2005 16:09:49 -0700, 
David Mosberger-Tang <> wrote:
>On 9/21/05, Keith Owens <> wrote:
>> On Wed, 21 Sep 2005 11:12:58 -0700,
>> The virtual mode handlers are entered with psr.ic=1 and psr.i=0.
>I'm not sure what you mean by virtual mode handlers,

The C code that starts with ia64_mca_handler and ia64_init_handler.
mca_asm.S is entered in physical mode with psr.ic=0, it switches to
virtual with psr.ic=1 and psr.i=0 before calling the handlers.

>but execution in
>the IVT starts with PSR.IC=0.

Right, so the real question is - is there any path that causes an
interrupt before the virtual mode handlers have accessed their stacks
and the required DTC has been created?  Alternatively can the DTC for
the MCA/INIT stacks be lost once the handlers have started running?

Given the uncertainty and the fact the the TLB error recovery in
mca_asm.S assumes that CURRENT_STACK is defined, I need to wire
CURRENT_STACK around the C code handlers.  Patch coming soon.

BTW David, are you aware that your mailer is using quoted printable,
even for plain text messages?  All the '=' signs come out as '=3D'.

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Thu Sep 22 09:22:38 2005

This archive was generated by hypermail 2.1.8 : 2005-09-22 09:22:45 EST