parisc: implement irq stacks - part 2 (v2)
authorHelge Deller <deller@gmx.de>
Fri, 10 May 2013 21:24:01 +0000 (21:24 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jun 2013 17:38:41 +0000 (10:38 -0700)
commit48baa280fc7a23559f27a8661f34812e2c80e539
treeffc7360d51e6b3ad29aaf11484486de632b7a8f8
parent34afdc6cee2da3bcf9f6b3a80ec55bb1c99afb9b
parisc: implement irq stacks - part 2 (v2)

commit 416821d3d68164909b2cbcf398e4ba0797f5f8a2 upstream.

This patch fixes few build issues which were introduced with the last
irq stack patch, e.g. the combination of stack overflow check and irq
stack.

Furthermore we now do proper locking and change the irq bh handler
to use the irq stack as well.

In /proc/interrupts one now can monitor how huge the irq stack has grown
and how often it was preferred over the kernel stack.

IRQ stacks are now enabled by default just to make sure that we not
overflow the kernel stack by accident.

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/Kconfig
arch/parisc/include/asm/hardirq.h
arch/parisc/include/asm/processor.h
arch/parisc/kernel/irq.c
arch/parisc/mm/init.c