From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 670CFC4332F for ; Mon, 5 Dec 2022 19:36:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234367AbiLETga (ORCPT ); Mon, 5 Dec 2022 14:36:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234481AbiLETgL (ORCPT ); Mon, 5 Dec 2022 14:36:11 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BF021087 for ; Mon, 5 Dec 2022 11:32:50 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2204BB811CF for ; Mon, 5 Dec 2022 19:32:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67E63C433D6; Mon, 5 Dec 2022 19:32:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1670268767; bh=osKmK8BFUKyPk5b/bJwME63yFJK90JLmwGMRISnMlQo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jf1uR0BEuIP9feLMRU8wjWW9jouu+gbdIPVsEkNSyn0GlKnXXvY0XTOf5JudLutzC KNpHOEGjtp4cjCdlZf+blXbyIagDcQBsc6HrbnAPYJZDRUWuTq1uR/pXoSQHHm44xR 4SWpcnRAier7GtrB1fOnvKh0zMGSnSY/QM7oSGHc= 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.10 74/92] parisc: Increase size of gcc stack frame check Date: Mon, 5 Dec 2022 20:10:27 +0100 Message-Id: <20221205190805.938925713@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221205190803.464934752@linuxfoundation.org> References: <20221205190803.464934752@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org 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 6b0649d8bca7..8cf3b87edd63 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -298,7 +298,7 @@ config FRAME_WARN int "Warn for stack frames larger than" 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