]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
Blackfin: allow EVT5 to preempt irqtail prologue (CONFIG_DEBUG_HWERR)
authorPhilippe Gerum <rpm@xenomai.org>
Mon, 22 Jun 2009 16:24:18 +0000 (18:24 +0200)
committerMike Frysinger <vapier@gentoo.org>
Thu, 17 Sep 2009 01:28:37 +0000 (21:28 -0400)
Signed-off-by: Philippe Gerum <rpm@xenomai.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-common/interrupt.S

index ae7fc88ab6a0091778f5a8eee916bfe0cc6619b6..29fbf67f47fa093f1e052d3385a0da23969407d8 100644 (file)
@@ -276,7 +276,15 @@ ENTRY(___ipipe_call_irqtail)
        ( r7:4, p5:3 ) = [sp++];
        rets = [sp++];
 
-       r0 = 0x401f (z);
+#ifdef CONFIG_DEBUG_HWERR
+       /* enable irq14 & hwerr interrupt, until we transition to _evt_evt14 */
+       r0 = (EVT_IVG14 | EVT_IVHW | \
+               EVT_IRPTEN | EVT_EVX | EVT_NMI | EVT_RST | EVT_EMU);
+#else
+       /* Only enable irq14 interrupt, until we transition to _evt_evt14 */
+       r0 = (EVT_IVG14 | \
+               EVT_IRPTEN | EVT_EVX | EVT_NMI | EVT_RST | EVT_EMU);
+#endif
        sti r0;
        raise 14;               /* Branches to _evt_evt14 */
 2: