]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx
authorHongtao Jia <hongtao.jia@freescale.com>
Sun, 28 Apr 2013 05:20:08 +0000 (13:20 +0800)
committerScott Wood <scottwood@freescale.com>
Tue, 30 Jul 2013 20:50:07 +0000 (15:50 -0500)
commitf61836897aaefa2e68b9b80b5ddc7dbc3694ec2e
tree1cb33868e383e1e94e339edfbcdf5206387f2667
parent9911fa781783057a7562df6118b630d72d2ffa5c
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 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.

This patch depends on patch:
powerpc/85xx: Add platform_device declaration to fsl_pci.h

Signed-off-by: Zhao Chenhui <b35336@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Liu Shuo <soniccat.liu@gmail.com>
Signed-off-by: Jia Hongtao <hongtao.jia@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/kernel/cpu_setup_fsl_booke.S
arch/powerpc/kernel/traps.c
arch/powerpc/sysdev/fsl_pci.c
arch/powerpc/sysdev/fsl_pci.h