From 83e4da1ed45441c3aadc39ac47d33895ab23c841 Mon Sep 17 00:00:00 2001 From: Leonid Yegoshin Date: Tue, 8 Oct 2013 12:39:31 +0100 Subject: [PATCH] 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 Signed-off-by: Markos Chandras Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6035/ Signed-off-by: Florian Fainelli Reviewed-by: Markos Chandras Patchwork: https://patchwork.linux-mips.org/patch/6084/ Signed-off-by: Ralf Baechle --- Reading git-format-patch failed