]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/kasan: Fix stack overflow by increasing THREAD_SHIFT
authorChristophe Leroy <christophe.leroy@c-s.fr>
Wed, 8 Apr 2020 15:58:49 +0000 (15:58 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 May 2020 13:15:16 +0000 (23:15 +1000)
commite1cdf503ddcf1f78a264fde768649f2f2090e41f
tree899cbba8fdbfafbba969fcd0b355ce0eedb3de5e
parentba10382801043e37f47ebc90f2f09c0073e00b09
powerpc/kasan: Fix stack overflow by increasing THREAD_SHIFT

When CONFIG_KASAN is selected, the stack usage is increased.

In the same way as x86 and arm64 architectures, increase
THREAD_SHIFT when CONFIG_KASAN is selected.

Fixes: d54d8e0d3af0 ("powerpc/32: Add KASAN support")
Reported-by: <erhard_f@mailbox.org>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=207129
Link: https://lore.kernel.org/r/2c50f3b1c9bbaa4217c9a98f3044bd2a36c46a4f.1586361277.git.christophe.leroy@c-s.fr
arch/powerpc/Kconfig