From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 23F2715C8B for ; Mon, 5 Dec 2022 19:44:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95EB6C433D6; Mon, 5 Dec 2022 19:44:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1670269456; bh=X9o01zrWmdmjm2yfeUY+MUUOX73PkPeYkDkorZurXL8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EL5Qy3/RGc9Q1SK0n9oIzDC+OYUbsY5nOhxT2JCMhxjto+4xASZy8j+ZazXri68+f bAsInIWGsSfZ2qppgpNBAFHWAkENcJhM2PViBw6KfcFHg8PVk0RfTm878a00GJlglp Yv4liPTwZYdCmOSRdG2AzDY9uCYEftNSpVtY3kHY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Arnd Bergmann , Abd-Alrhman Masalkhi , Christoph Hellwig , Helge Deller , Sasha Levin Subject: [PATCH 5.4 133/153] parisc: Increase size of gcc stack frame check Date: Mon, 5 Dec 2022 20:10:57 +0100 Message-Id: <20221205190812.483686699@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221205190808.733996403@linuxfoundation.org> References: <20221205190808.733996403@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Helge Deller [ Upstream commit 55b70eed81cba1331773d4aaf5cba2bb07475cd8 ] 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 --- lib/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index b3d0d047369c..f610b47b74cc 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 -- 2.35.1