Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2766674pxt; Mon, 9 Aug 2021 08:26:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+aGLqSq44fepzoYhh88Yz4yRa5PIs23cRfwitNmR26YAmu4q1S1Ejag/53fO68fJbEdMS X-Received: by 2002:a17:907:1b1b:: with SMTP id mp27mr22881883ejc.538.1628522802300; Mon, 09 Aug 2021 08:26:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628522802; cv=none; d=google.com; s=arc-20160816; b=S8X796+SnvJwNTmsRm+37Kw7188223NbBFI7wMq09frt9LgkBkWdWktsBXQBVp0uPV T+LQ4PZM3FgNEfw/RQatEWiwafyzK4oeaRMpfUrJ/6HweW2dXsxREXmKeIOmnh95Snu7 cIakisCt7lXpaXMG0YGwMkuiTWylVPlTpJzeHljAS+bKIBPAFbDDIYQtVgBdIi27xuEa ax0TOGhj7A2SB0x7ZL4lc3JnuBtJmhiWPJ1Vc6fY/TTh1u50vK9zgZ2SjLUknYaz6oqa idcdAUJA5jaxIKwLHtcCFXKCJjrHxnyNSe5nYHfB0pY0gRlNLBX/nO7ZbsvnXg6wEk+I A8pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=LHtWttbPcNIV+8uOkGGlKUxbwyqqXh3re7hu/BS1IJk=; b=T25LgURFCI31Qw+WznDYwKgBXRvxSDEESQ2Mji8/r1rz/dE33Dv2/y9u9bcaZq/Ums BOHTkVmqLt0ARFKUrMLFfnjg6jZyMOBP2dPfhrbCMKnzzOrAsOit8lj6mjcLNyUtUNoJ aXG1WXhQV6O3qXysEEZKqAFsON6ostWlp7HiyTc3R6I99AoYhLeJedZePfR8E87wNvVa 6gHrpM1VENL9/M2Jq+2JZIi1RCx8zRdh2r91qJcx9vdg43dTVQ7WuABEmZHBNpBwbG7n XYllppKik3MlZOBvtko3CL0BDt9tWkYVP7Vg4cvGQiN7GZbfNwzerzfaTS4kygNm66r0 kEyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=tLeIZ5IB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id df15si16884565edb.544.2021.08.09.08.26.15; Mon, 09 Aug 2021 08:26:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=tLeIZ5IB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234708AbhHIPYx (ORCPT + 99 others); Mon, 9 Aug 2021 11:24:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233707AbhHIPYu (ORCPT ); Mon, 9 Aug 2021 11:24:50 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64E9DC0613D3 for ; Mon, 9 Aug 2021 08:24:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=LHtWttbPcNIV+8uOkGGlKUxbwyqqXh3re7hu/BS1IJk=; b=tLeIZ5IB0Dk/kUi+zEHT6ya9e QHgTSoKWaCPYKABO6465OQ5H+eoasC8yk6J4NuN84ho679JCMaNxCTaLrzhqIHxf5ERjqtbLqLHJu VrDKpvxj+nBoWP7CeSfDnizscmnth9kpq1yS3drZm6UNv0LdZObC7yG3KJKNjBGNv4aJUaSt3Mvs6 R1LBegN/X2svwKOFke/Eu5HQXo9whvL7G/ee4FQqTqvtCmTQYbx3HyJ7UyAVpZOU0SaMlywwXxQZC jvQ1jglE4L3BTcvOS+bBjMZSFwXOiLBGwVGlQt7E8HmYraB4bjb63KGwXhiYfSvklVrUYc44cWTQr SOl3Li+9Q==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:47116) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mD78Z-0005rv-6s; Mon, 09 Aug 2021 16:24:23 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1mD78X-0001Hd-RX; Mon, 09 Aug 2021 16:24:21 +0100 Date: Mon, 9 Aug 2021 16:24:21 +0100 From: "Russell King (Oracle)" To: David Heidelberg Cc: Arnd Bergmann , Jon Medhurst , Ard Biesheuvel , Marc Zyngier , Nicolas Pitre , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] ARM: atags_to_fdt: don't warn about stack size Message-ID: <20210809152421.GU22278@shell.armlinux.org.uk> References: <20210809151021.5137-1-david@ixit.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210809151021.5137-1-david@ixit.cz> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 09, 2021 at 05:10:21PM +0200, David Heidelberg wrote: > The merge_fdt_bootargs() function by definition consumes more than 1024 > bytes of stack because it has a 1024 byte command line on the stack, > meaning that we always get a warning when building this file: > > arch/arm/boot/compressed/atags_to_fdt.c: In function 'merge_fdt_bootargs': > arch/arm/boot/compressed/atags_to_fdt.c:98:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=] > > However, as this is the decompressor and we know that it has a very shallow > call chain, and we do not actually risk overflowing the kernel stack > at runtime here. > > This just shuts up the warning by disabling the warning flag for this > file. > > Tested on Nexus 7 2012 builds. > > Original Author: Arnd Bergmann > Reference: https://lore.kernel.org/lkml/8232115.18ykgQ6J5T@wuerfel/ > > Cc: Arnd Bergmann > Cc: Nicolas Pitre > Cc: Russell King > Cc: Ard Biesheuvel > Cc: Marc Zyngier > Cc: linux-kernel@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > > Signed-off-by: David Heidelberg I assume Arnd never sent his v3 from what I see in the thread you link to above. This needs to go to the patch system to be applied. Details in my signature below. Thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!