]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fsl_pci: Correct fsl_pci_mcheck_exception
authorJoakim Tjernlund <joakim.tjernlund@infinera.com>
Tue, 5 Sep 2017 11:59:43 +0000 (13:59 +0200)
committerScott Wood <oss@buserror.net>
Sun, 21 Jan 2018 05:08:43 +0000 (23:08 -0600)
commit39a773a8721f6fded0dd8d67d6bb7686242da119
treeca5f924d3f79e6be3e982e00ebd20f75356adeec
parent79c455430396b1832b6cb0841851d6efc71f2551
powerpc/fsl_pci: Correct fsl_pci_mcheck_exception

get_user() had it args reversed causing NIP to be NULL:ed instead
of fixing up the PCI access.

Note: This still hangs my P1020 Freescale CPU hard, but at least
I get a NIP now.

Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
Acked-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Scott Wood <oss@buserror.net>
arch/powerpc/sysdev/fsl_pci.c