]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Print correct PC in trace dump after NMI exception
authorLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Tue, 8 Oct 2013 11:39:31 +0000 (12:39 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Oct 2013 20:25:35 +0000 (21:25 +0100)
commit0b6a921546b43b6c8b4294026f89874d4792d69b
tree50bef4e0e7482196fb59a6b87845a4c00dd183ae
parent7375f4918dbda76186a70397f17780e319f08abb
MIPS: Print correct PC in trace dump after NMI exception

An NMI exception delivered from YAMON delivers the PC in ErrorPC
instead of EPC. It's also necessary to clear the Status.BEV
bit for the page fault exception handler to work properly.

[ralf@linux-mips: Let the assembler do the loading of the mask value rather
than the convoluted explicit %hi/%lo manual relocation sequence from the
original patch.]

Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6035/
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
Patchwork: https://patchwork.linux-mips.org/patch/6084/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/genex.S
arch/mips/kernel/traps.c