]> Git Repo - linux.git/commitdiff
parisc: Bump 64-bit IRQ stack size to 64 KB
authorJohn David Anglin <[email protected]>
Thu, 28 Jan 2021 23:12:30 +0000 (18:12 -0500)
committerHelge Deller <[email protected]>
Fri, 12 Feb 2021 15:31:51 +0000 (16:31 +0100)
Bump 64-bit IRQ stack size to 64 KB.

I had a kernel IRQ stack overflow on the mx3210 debian buildd machine.  This patch increases the
64-bit IRQ stack size to 64 KB.  The 64-bit stack size needs to be larger than the 32-bit stack
size since registers are twice as big.

Signed-off-by: John David Anglin <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
arch/parisc/kernel/irq.c

index 49cd6d2caefb7f9e2db6098de3cbe0311e6e71c0..1dfb439b0692838b8ac6aebd1521070816a16957 100644 (file)
@@ -373,7 +373,11 @@ static inline int eirr_to_irq(unsigned long eirr)
 /*
  * IRQ STACK - used for irq handler
  */
+#ifdef CONFIG_64BIT
+#define IRQ_STACK_SIZE      (4096 << 4) /* 64k irq stack size */
+#else
 #define IRQ_STACK_SIZE      (4096 << 3) /* 32k irq stack size */
+#endif
 
 union irq_stack_union {
        unsigned long stack[IRQ_STACK_SIZE/sizeof(unsigned long)];
This page took 0.057292 seconds and 4 git commands to generate.