From: Helge Deller Date: Wed, 7 Jul 2021 13:38:08 +0000 (+0200) Subject: parisc: Increase size of gcc stack frame check X-Git-Tag: baikal/aarch64/sdk5.9~914 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=25c56bc598fd4e382fca65e1a56b2123887d3e6c;p=kernel.git parisc: Increase size of gcc stack frame check [ Upstream commit a9326c7e48c08bcca0e662d708594b74233eb6b0 ] parisc uses much bigger frames than other architectures, so increase the stack frame check value to avoid compiler warnings. Cc: Arnd Bergmann Cc: Abd-Alrhman Masalkhi Cc: Christoph Hellwig Signed-off-by: Helge Deller Stable-dep-of: 152fe65f300e ("Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled") Signed-off-by: Sasha Levin --- diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index b3d0d047369c5..f610b47b74cc0 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -253,7 +253,7 @@ config FRAME_WARN int "Warn for stack frames larger than (needs gcc 4.4)" range 0 8192 default 2048 if GCC_PLUGIN_LATENT_ENTROPY - default 1280 if (!64BIT && PARISC) + default 1536 if (!64BIT && PARISC) default 1024 if (!64BIT && !PARISC) default 2048 if 64BIT help