Re: testing mca/init patch

From: david mosberger <>
Date: 2005-09-01 14:58:58

I took a closer look at your patch set and, by and large, I like it a
lot.  I suppose there will be more debate as to whether treating
MCA/INIT events as an asynchronous task-switch is the right way to go
about it, but so far it looks to me that it does indeed simplify a lot
while creating only a managable set of new headaches.  I guess a key
point is whether or not the generic scheduler mods will be accepted...

Some other points:

- In several places there are checks of the form:

+ if ((r12 & -KERNEL_STACK_SIZE) != r13) {

  I don't understand why you're doing this.  You should check for (r12
- r13) <  KERNEL_STACK_SIZE.  That does the same without relying on
alignments (which is something we have been careful to avoid in all
other ia64 code).  This should also let you drop the patch to

- In ia64_os_mca_virtual_begin(), I'd suggest to use the idiom:

    .save rp, r0

  to terminate the call-chain.  That should simplify this function.

- I worry about copying machine-state from the MCA/INIT stack to the
"old" (process) stack.  What if an MCA was caused by an ECC error on
that old stack?  Wouldn't this prevent you from recovering from what
might otherwise be a recoverable error?


Mosberger Consulting LLC, voice/fax: 510-744-9372,
35706 Runckel Lane, Fremont, CA 94536
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 01 14:59:51 2005

This archive was generated by hypermail 2.1.8 : 2005-09-01 14:59:59 EST