Re: [PATCH V5] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-04-11 Thread Scott Wood
58472; Jia Hongtao-B38951 > Subject: Re: [PATCH V5] powerpc/85xx: Add machine check handler to fix > PCIe erratum on mpc85xx > > The X and (especially for PCI) BRX versions are important -- probably > more so than the U versions. I doubt we need the A variant. Then I will a

RE: [PATCH V5] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-04-11 Thread Jia Hongtao-B38951
rpc/85xx: Add machine check handler to fix > PCIe erratum on mpc85xx > > On 04/08/2013 03:26:54 AM, Jia Hongtao wrote: > > @@ -826,6 +829,124 @@ u64 fsl_pci_immrbar_base(struct pci_controller > > *hose) > > return 0; > > } > > > > +#ifdef CONFIG_E500

Re: [PATCH V5] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-04-10 Thread Scott Wood
On 04/08/2013 03:26:54 AM, Jia Hongtao wrote: @@ -826,6 +829,124 @@ u64 fsl_pci_immrbar_base(struct pci_controller *hose) return 0; } +#ifdef CONFIG_E500 + +#define OP_LWZ 32 +#define OP_LWZU 33 +#define OP_LBZ 34 +#define OP_LBZU 35 +#define OP_LHZ 40 +#define OP_LHZU 41 +#define

RE: [PATCH V5] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-04-09 Thread Jia Hongtao-B38951
linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org > Cc: Wood Scott-B07421; Li Yang-R58472; Jia Hongtao-B38951 > Subject: [PATCH V5] powerpc/85xx: Add machine check handler to fix PCIe > erratum on mpc85xx > > A PCIe erratum of mpc85xx may causes a core hang when a link of PCIe goes

[PATCH V5] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-04-08 Thread Jia Hongtao
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 b