Re: [patch] Memory Error Handling Improvement

From: Hidetoshi Seto <seto.hidetoshi_at_jp.fujitsu.com>
Date: 2005-06-24 11:12:41
Hi Russ,

Russ Anderson wrote:
>  void
> -mca_handler_bh(unsigned long paddr)
> +mca_handler_bh(unsigned long paddr, void *iip, unsigned long ipsr)
>  {
> -	printk(KERN_DEBUG "OS_MCA: process [pid: %d](%s) encounters MCA.\n",
> -		current->pid, current->comm);
> +	printk(KERN_DEBUG "OS_MCA: process [cpu %d, pid: %d, uid: %d, iip: %p, psr: 0x%lx, paddr: 0x%lx](%s) encounters MCA.\n",
> +		smp_processor_id(), current->pid, current->uid, iip, ipsr, paddr, current->
> +comm);

Printing detail would be good.

> +	pmsa = (pal_min_state_area_t *)(sal_to_os_handoff_state->pal_min_state | (6ul<<61));
> +	if (psr1->cpl != 0 || (pmsa->pmsa_iip >= (unsigned long)&interrupt &&
> +			       pmsa->pmsa_iip <  (unsigned long)&interrupt_pnr)) {

It seems that the latter state just means "this was in early of interrupt."
You shoud also make sure that the interrupt has happen in user context, right?

Thanks,
H.Seto

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Jun 23 21:11:43 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:40 EST