Skip to content

Commit 25ceaad

Browse files
danglin44gregkh
authored andcommitted
parisc: Bump 64-bit IRQ stack size to 64 KB
[ Upstream commit 31680c1 ] 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 <dave.anglin@bell.net> Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 5883a3b commit 25ceaad

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎arch/parisc/kernel/irq.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,11 @@ static inline int eirr_to_irq(unsigned long eirr)
376376
/*
377377
* IRQ STACK - used for irq handler
378378
*/
379+
#ifdef CONFIG_64BIT
380+
#define IRQ_STACK_SIZE (4096 << 4) /* 64k irq stack size */
381+
#else
379382
#define IRQ_STACK_SIZE (4096 << 3) /* 32k irq stack size */
383+
#endif
380384

381385
union irq_stack_union {
382386
unsigned long stack[IRQ_STACK_SIZE/sizeof(unsigned long)];

0 commit comments

Comments
 (0)