Re: [PATCH] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx
From: Kumar Gala <hidden>
Date: 2012-03-16 21:03:39
From: Kumar Gala <hidden>
Date: 2012-03-16 21:03:39
On Feb 10, 2012, at 2:09 AM, [off-list ref] = [off-list ref] wrote:
From: Liu Shuo <redacted> =20 A PCIe erratum of mpc85xx may causes a core hang when a link of PCIe goes down. when the link goes down, Non-posted transactions issued via the ATMU requiring completion result in an instruction stall. At the same time a machine-check exception is generated to the core to allow further processing by the handler. We implements the handler which skips the instruction caused the stall. =20 Signed-off-by: Zhao Chenhui <redacted> Signed-off-by: Li Yang <redacted> Signed-off-by: Liu Shuo <redacted> --- arch/powerpc/kernel/cpu_setup_fsl_booke.S | 2 +- arch/powerpc/kernel/traps.c | 3 ++ arch/powerpc/sysdev/fsl_pci.c | 36 =
+++++++++++++++++++++++++++++
arch/powerpc/sysdev/fsl_pci.h | 6 +++++ 4 files changed, 46 insertions(+), 1 deletions(-)
Should we have a check to make sure the hose is for PCIe and not PCI? - k=