]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: use 16KB kernel stack on 64-bit
authorAndreas Schwab <schwab@suse.de>
Mon, 6 Jul 2020 12:32:26 +0000 (14:32 +0200)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Tue, 14 Jul 2020 20:40:04 +0000 (13:40 -0700)
commiteba5ff90f95c59c934ac3a0eb5040ec9d613b8db
tree389ff7b5b6ab36036c948127dec2722ce32aa334
parente39f5a6cc02579bf6b689c056737e6648733ab98
riscv: use 16KB kernel stack on 64-bit

With the current 8KB stack size there are frequent overflows in a 64-bit
configuration.  We may split IRQ stacks off in the future, but this fixes a
number of issues right now.

Signed-off-by: Andreas Schwab <schwab@suse.de>
Reviewed-by: Anup Patel <anup@brainfault.org>
[Palmer: mention irqstack in the commit text]
Fixes: 0ae4603af216 ("RISC-V: Task implementation")
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/include/asm/thread_info.h