From: Chris Metcalf Date: Wed, 7 Aug 2013 16:11:56 +0000 (-0400) Subject: tile: improve illegal translation interrupt handling X-Git-Tag: v3.12-rc1~120^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70d2b5958a04139fbffecf27791cf913dce8038e;p=pandora-kernel.git tile: improve illegal translation interrupt handling First, don't re-enable interrupts blindly in the Linux trap handler. We already handle page faults this way; synchronous interrupts like ILL_TRANS will fire even when interrupts are disabled, and we don't want to re-enable interrupts in that case. For ILL_TRANS, we now pass the ILL_VA_PC reason into the trap handler so we can report it properly; this is the address that caused the illegal translation trap. We print the address as part of the pr_alert() message now if it's coming from the kernel. Signed-off-by: Chris Metcalf --- Reading git-diff-tree failed