Marvell mv64462 + mpc744x PCI Interrupt Cause Error Handling

Stephen Horton SHorton at kodiaknetworks.com
Thu Dec 4 08:06:23 EST 2008


Hi Tiejun,
Thanks. That is very helpful; I had not thought to look inside the
drivers directory.
Regards,
stephen

-----Original Message-----
From: tiejun.chen [mailto:tiejun.chen at windriver.com] 
Sent: Tuesday, December 02, 2008 7:52 PM
To: Stephen Horton
Cc: linuxppc-embedded at ozlabs.org
Subject: Re: Marvell mv64462 + mpc744x PCI Interrupt Cause Error
Handling

Stephen Horton wrote:
> Hi folks,
> 
>  
> 
> I'm really hoping Mark Greer or Dale Farnsworth sees this email. In my
> current project, we are in the process of updating a board that has a
> Marvell mv64462 system controller and a Freescale mpc7447A processor
on
> it. The board was originally developed with Gentoo Linux 2.6.9, but we
> have ported Linux 2.6.24 kernel onto it. The new kernel is working
well
> thanks to help from people on this list. However, in examining the
> differences between the 2 kernels, I can see that the 2.6.24 kernel
> registers no interrupt error handling routines (see PCI Error Report
> Register Map in the Marvell documentation). The error handlers for
cpu,
> sram, and specifically for the PCI bus that were previously in:
> 
>             /arch/ppc/syslib/mv64460_pic.c
> 
> are absent from:
> 
>             /arch/powerpc/sysdev/mv64x60_pic.c
> 
>  
> 
> Can someone who is familiar with the history of the ppc->powerpc
> migration for this architecture help me figure out why the error
> handling wasn't ported over? Is there some reason for this, such as it
> didn't work properly or had some disadvantages? Is this error handling
> done in 2.6.24 in some more generic manner that I have not yet found?
Is
> this an exercise left for me to implement?
> 
>  

Untill v2.6.27 you can find corresponding dts content such as cpu-error,
sram-ctrl, pci-error and mem-ctrl, in file, prpmc2800.dts. All events
are
handled on EDAC, error detection and reporting, as an unified mode. So
you can
track the directory drivers/edac/ for more information. I think these
are not
upgraded completely for v2.6.24.

Best Regards
Tiejun

> 
> Thanks,
> 
> Stephen
> 
> 
> 
> 
>
------------------------------------------------------------------------
> 
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded



More information about the Linuxppc-embedded mailing list