Marvell mv64462 + mpc744x PCI Interrupt Cause Error Handling

View: New views
3 Messages — Rating Filter:   Alert me  

Marvell mv64462 + mpc744x PCI Interrupt Cause Error Handling

by Stephen Horton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

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?

 

Thanks,

Stephen


_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@...
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Re: Marvell mv64462 + mpc744x PCI Interrupt Cause Error Handling

by tiejun.chen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded

_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@...
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

RE: Marvell mv64462 + mpc744x PCI Interrupt Cause Error Handling

by Stephen Horton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...]
Sent: Tuesday, December 02, 2008 7:52 PM
To: Stephen Horton
Cc: linuxppc-embedded@...
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@...
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded

_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@...
https://ozlabs.org/mailman/listinfo/linuxppc-embedded