]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: increase size of gcc stack frame check
authorGuenter Roeck <linux@roeck-us.net>
Fri, 24 Sep 2021 22:43:29 +0000 (15:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Dec 2022 10:23:05 +0000 (11:23 +0100)
commit9f32978b48444a866763b976951b33915b016dbe
tree278b331ce6ecf73899c1da0e489a019a8b5e7d37
parent25c56bc598fd4e382fca65e1a56b2123887d3e6c
xtensa: increase size of gcc stack frame check

[ Upstream commit ee51df0f7c62fa0b430c3aa52cfdd5b7d6e50979 ]

xtensa frame size is larger than the frame size for almost all other
architectures.  This results in more than 50 "the frame size of <n> is
larger than 1024 bytes" errors when trying to build xtensa:allmodconfig.

Increase frame size for xtensa to 1536 bytes to avoid compile errors due
to frame size limits.

Link: https://lkml.kernel.org/r/20210912025235.3514761-1-linux@roeck-us.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Cc: Chris Zankel <chris@zankel.net>
Cc: David Laight <David.Laight@ACULAB.COM>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Stable-dep-of: 152fe65f300e ("Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled")
Signed-off-by: Sasha Levin <sashal@kernel.org>
lib/Kconfig.debug