> -----Original Message----- > From: linuxppc-dev-bounces+b38951=freescale....@lists.ozlabs.org > [mailto:linuxppc-dev-bounces+b38951=freescale....@lists.ozlabs.org] On > Behalf Of Kumar Gala > Sent: Saturday, March 17, 2012 5:04 AM > To: <shuo....@freesacle.com> > Cc: Zhao Chenhui-B35336; Liu Shuo-B35362; Zang Roy-R61911; Liu Shuo- > B35362; Wood Scott-B07421; linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH] powerpc/85xx: Add machine check handler to fix PCIe > erratum on mpc85xx > > > On Feb 10, 2012, at 2:09 AM, <shuo....@freesacle.com> > <shuo....@freesacle.com> wrote: > > > From: Liu Shuo <shuo....@freescale.com> > > > > 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. > > > > Signed-off-by: Zhao Chenhui <b35...@freescale.com> > > Signed-off-by: Li Yang <le...@freescale.com> > > Signed-off-by: Liu Shuo <b35...@freescale.com> > > --- > > 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
Due to errata spec pcie check is necessary. I will send a new version of this patch to solve this problem soon. Thanks. Btw, from now on I will follow this patch instead of Liu Shuo. - Jia Hongtao. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev