riscv: use 16KB kernel stack on 64-bit
authorAndreas Schwab <schwab@suse.de>
Mon, 6 Jul 2020 12:32:26 +0000 (14:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jul 2020 07:34:23 +0000 (09:34 +0200)
commit16c8af6d1be51cecc0ffbf4b6c969661949f1edb
treee543dc26fb6824bfd295cb0e60c4fb40399f196b
parentfb6d7cc1898a9699260f6095af2453e9c8d323ba
riscv: use 16KB kernel stack on 64-bit

commit 0cac21b02ba5f3095fd2dcc77c26a25a0b2432ed upstream.

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: 7db91e57a0ac ("RISC-V: Task implementation")
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/riscv/include/asm/thread_info.h