diff options
| author | John David Anglin <dave.anglin@bell.net> | 2021-01-28 18:12:30 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-07 12:20:47 +0100 |
| commit | 4a3f4feeb62276c5cdc76ec88873c396aa8f5b05 (patch) | |
| tree | 946738a63818b2961550af261df0791f0a5ac64f | |
| parent | f41ed21643644ec56f3e193336feb61358460339 (diff) | |
| download | linux-4a3f4feeb62276c5cdc76ec88873c396aa8f5b05.tar.gz linux-4a3f4feeb62276c5cdc76ec88873c396aa8f5b05.tar.bz2 linux-4a3f4feeb62276c5cdc76ec88873c396aa8f5b05.zip | |
parisc: Bump 64-bit IRQ stack size to 64 KB
[ Upstream commit 31680c1d1595a59e17c14ec036b192a95f8e5f4a ]
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>
| -rw-r--r-- | arch/parisc/kernel/irq.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/parisc/kernel/irq.c b/arch/parisc/kernel/irq.c index e5fcfb70cc7c..4d54aa70ea5f 100644 --- a/arch/parisc/kernel/irq.c +++ b/arch/parisc/kernel/irq.c @@ -376,7 +376,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)]; |
