From: Robin Getz Date: Mon, 22 Jun 2009 02:02:16 +0000 (+0000) Subject: Blackfin: make EVT3->EVT5 lowering more robust wrt IPEND[4] X-Git-Tag: v2.6.32-rc1~662^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae4f073c40bf677b03826262e6022b4a251fe437;p=pandora-kernel.git Blackfin: make EVT3->EVT5 lowering more robust wrt IPEND[4] We handle many exceptions at EVT5 (hardware error level) so that we can catch exceptions in our exception handling code. Today - if the global interrupt enable bit (IPEND[4]) is set (interrupts disabled) our trap handling code goes into a infinite loop, since we need interrupts to be on to defer things to EVT5. Normal kernel code should not trigger this for any reason as IPEND[4] gets cleared early (when doing an interrupt context save) and the kernel stack there should be sane (or something much worse is happening in the system). But there have been a few times where this has happened, so this change makes sure we dump a proper crash message even when things have gone south. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger --- Reading git-diff-tree failed