diff options
author | Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> | 2013-10-08 12:39:31 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-10-29 21:25:35 +0100 |
commit | 83e4da1ed45441c3aadc39ac47d33895ab23c841 (patch) | |
tree | 50bef4e0e7482196fb59a6b87845a4c00dd183ae /arch/mips/kernel/prom.c | |
parent | d9f897c912b4108076afb00036a139e3b8144a64 (diff) |
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>
Diffstat (limited to 'arch/mips/kernel/prom.c')
0 files changed, 0 insertions, 0 deletions