From patchwork Fri Sep 24 22:43:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12516959 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 633A5C433EF for ; Fri, 24 Sep 2021 22:43:32 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D1AE761019 for ; Fri, 24 Sep 2021 22:43:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D1AE761019 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 74F5A6B0075; Fri, 24 Sep 2021 18:43:31 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6FF34900002; Fri, 24 Sep 2021 18:43:31 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5C66A6B007B; Fri, 24 Sep 2021 18:43:31 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0114.hostedemail.com [216.40.44.114]) by kanga.kvack.org (Postfix) with ESMTP id 4C54B6B0075 for ; Fri, 24 Sep 2021 18:43:31 -0400 (EDT) Received: from smtpin02.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 022A7180DC77C for ; Fri, 24 Sep 2021 22:43:31 +0000 (UTC) X-FDA: 78623945022.02.F3F3BA4 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf15.hostedemail.com (Postfix) with ESMTP id A6B67D000099 for ; Fri, 24 Sep 2021 22:43:30 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id B268161250; Fri, 24 Sep 2021 22:43:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1632523410; bh=kjyDcCJefQj11doQfipUBefsNYggdbHuXCRn2Gx79C8=; h=Date:From:To:Subject:In-Reply-To:From; b=eHJbAdrpADGajtIQk1hD0eiFvfe2qoCqR9RWBLChEQHMV0wbglHqjT68+s1PIifnD +0Rf8A3Q9CkRsudsGBvSF2XOK+OdT04OSpeASQjzNdDZZ8frHOcDaxpYXCqUnXsUpq +5eV1edaFC/IpUaRkIxKs+e4oUy8a6ESDSBx9SZg= Date: Fri, 24 Sep 2021 15:43:29 -0700 From: Andrew Morton To: akpm@linux-foundation.org, chris@zankel.net, David.Laight@ACULAB.COM, jcmvbkbc@gmail.com, linux-mm@kvack.org, linux@roeck-us.net, masahiroy@kernel.org, mm-commits@vger.kernel.org, torvalds@linux-foundation.org Subject: [patch 04/16] xtensa: increase size of gcc stack frame check Message-ID: <20210924224329.W5ZWD-MoS%akpm@linux-foundation.org> In-Reply-To: <20210924154257.1dbf6699ab8d88c0460f924f@linux-foundation.org> User-Agent: s-nail v14.8.16 X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: A6B67D000099 X-Stat-Signature: qrje65j15s7g8bnrcx4pm9hkzcyu94hy Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=eHJbAdrp; spf=pass (imf15.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-HE-Tag: 1632523410-175578 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Guenter Roeck Subject: xtensa: increase size of gcc stack frame check xtensa frame size is larger than the frame size for almost all other architectures. This results in more than 50 "the frame size of 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 Reviewed-by: Max Filippov Cc: Chris Zankel Cc: David Laight Cc: Masahiro Yamada Signed-off-by: Andrew Morton --- lib/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/lib/Kconfig.debug~xtensa-increase-size-of-gcc-stack-frame-check +++ a/lib/Kconfig.debug @@ -346,7 +346,7 @@ config FRAME_WARN int "Warn for stack frames larger than" range 0 8192 default 2048 if GCC_PLUGIN_LATENT_ENTROPY - default 1536 if (!64BIT && PARISC) + default 1536 if (!64BIT && (PARISC || XTENSA)) default 1024 if (!64BIT && !PARISC) default 2048 if 64BIT help