Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2473943pxb; Fri, 17 Sep 2021 10:30:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8wluBA2023VBpM1OY1ICx4GVFs/zrzwmb8aUIUJaF9niedgNJqL+4pJz6C+xgVHJ+9aah X-Received: by 2002:a17:906:314e:: with SMTP id e14mr13618376eje.165.1631899847957; Fri, 17 Sep 2021 10:30:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631899847; cv=none; d=google.com; s=arc-20160816; b=P0P4BZhvswVirLXAFgGD4b/gFXy1BITxKf9I2WeKO/hHgPQR+0r5o1KTkrSxa+WaHv kRbcwaIvvnufZBOqNeN7GAuByj3tN/b6cgIqRPWyx+DLBtC18S5pmZW5NvuEO0jrP7dQ fCX/kMDxLPXC715UnSSI8HSXc+rG21PXM0a2QLm3amuFtVto+FjeiYM5+z6d4WtivUAx QamrezO3Z6wtjWWDIQhHn7/s4xFA1hTdwmgd6OC89cwTZXHmaiU++Xn8rq57hgMAlD9I 8EimEcuswSJidgjTdIIO0uO1BpbXjFGs8WlRkDkF8F4CIBpvMu8EcrdVEhBn67MyqvZN GZfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=QHvipnuCKoUhOgp2kaXdBIN67a75yZD34pJDmz6DDkw=; b=Cy6d3ZDyp0C3GpdXvlI/8YGEdvLLjEEMUGkKAm+o5+BqPW+Yhrtv3iAjGmdf7nFmI9 9JARAmX4I9uiFUAGiMEEuOG5GveIRmZMBoYvq4tzzCN7g3+ph2wngAMYom8odNya5Bif zrSHky/1riqGVt3kCYd0/2ujbWyJ+9Aq/E/uDzg4BMzdafr/2CAwbimJdvHxYS4DH3X6 Qb/sc/gq/KwcE6jqLk/XvHphXlkhym2Og9ony6gbuO7CGmbnrPpphmABNlZ/AredKpVB QNhShbFyX5QMuiMOJGTIwhU89E541W+rIgdxBfryT12dD54uSUhiFbkhdB3T2DCUKzn4 tsSQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bm24si7308428edb.106.2021.09.17.10.30.24; Fri, 17 Sep 2021 10:30:47 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240206AbhIQHWH (ORCPT + 99 others); Fri, 17 Sep 2021 03:22:07 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:51335 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245232AbhIQHVn (ORCPT ); Fri, 17 Sep 2021 03:21:43 -0400 Received: from mail-wr1-f48.google.com ([209.85.221.48]) by mrelayeu.kundenserver.de (mreue108 [213.165.67.113]) with ESMTPSA (Nemesis) id 1MZTua-1mMAcs3LDK-00WS52; Fri, 17 Sep 2021 09:20:20 +0200 Received: by mail-wr1-f48.google.com with SMTP id q11so13518569wrr.9; Fri, 17 Sep 2021 00:20:20 -0700 (PDT) X-Gm-Message-State: AOAM532SPEcujl2QPc8IMXQq+pB0k0jfbvK/SuBo2KwYcL6z46u4ZTEU xZ8eNS4N/QpJ3cY/qjfn7bH78RuNQjyhLtIhNT8= X-Received: by 2002:adf:f884:: with SMTP id u4mr9944710wrp.411.1631863220417; Fri, 17 Sep 2021 00:20:20 -0700 (PDT) MIME-Version: 1.0 References: <36aa5cb7-e3d6-33cb-9ac6-c9ff1169d711@linuxfoundation.org> <120389b9-f90b-0fa3-21d5-1f789b4c984d@linuxfoundation.org> <3bad5d2f-8ce7-d0b9-19ad-def68d4193dd@linuxfoundation.org> In-Reply-To: From: Arnd Bergmann Date: Fri, 17 Sep 2021 09:20:03 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: ipv4/tcp.c:4234:1: error: the frame size of 1152 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] To: Brendan Higgins Cc: Arnd Bergmann , Shuah Khan , Linus Torvalds , Naresh Kamboju , Mathias Nyman , Johannes Berg , Jakub Kicinski , Ariel Elior , GR-everest-linux-l2@marvell.com, Wei Liu , Linux ARM , open list , Netdev , lkft-triage@lists.linaro.org, "David S. Miller" , Greg Kroah-Hartman , Nick Desaulniers , Nathan Chancellor , Daniel Borkmann , Alexei Starovoitov , Eric Dumazet , KUnit Development Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:NuzFJeT2aMzpmFAJp2FWhBboQZtDkCJ3CsY9dMo64jXv+b3OlFO wLArjBrjhW+OJ6FkE/gZgAKM4enM8I+N3MR4ao459xLvY/pbqzn0zvKvag8xyjibulHxBA5 eCfYC8wESoyP3lNqK16uLh4fYcHErIK27l7I3FIMY+SVI5aVlR8ia2+bm/nCu4hKqh1BXZ1 D0A83fVvDm6UFhBVafoVQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:1zdVGf48HAA=:uqg8nAYAAgG2DJ6eK2U1fU S9FS1ttaogLXKnWho96HiNIzqXi8cl5eq3RB0S0gzvqHsnZivEUhrzQ4fAF3pRnwOyYaPUEnZ 3V3wLgcv5HMKzVGa/xRDM6PmFehpH0I1lPNRVdtIBaMaHVR0pxMPjtG/arVCMpWwo/9SGoCUW 2HxRzAs/t3ijopGxrruoayi2Bq+1BSv+pjR8EGwH886LQUW19tzIlbm57PkV7/KWdypAMGqaE rlCPwJk+IdVO3tfXRHaZxjFHZDhtlqKO1RKalHhpZnDefatkD4MT3FWlFjypcOiaz6YxX9YL2 T5PVJraRMhE5jkFjW+pJwSBUo4pMOE2eruFr+mz+e6Pb+OzZV6ulhkph3I1pFazb7TNZGw3Op xGvqIWhYzls6etVv5IPTbzTYp+WJvnkCcK7r330pKMpK40qNEC9Cb4OHT80IK+7Xg1//kReWP nAGrVP5W1OZwZXCc8HMYAf/d4hzqX96BRN4VDswiLFHMr9OZCpXN7hl+TLjBivSFx7sfguOoJ KaYsT9hsx/rQQnFRCFjoweCDw1YvDUkSqiZEcYZwuSSWEAhjdPdKeF6Jh6eUATbgo691Tq3ZM QNa1u2Zyc7SYqc4uTcHxIoygcBJjHvpUKuGPStrkus8WC1sm0+7XqK8hT4dxMb5n1zLIFr8uR B1EH9Ge6m1uWuKmB4Cnere0NXtJCuTQN1rfInS/0MX+KyAsnwSKPXd7p2ik/zMq6rxjvwhSKo OfM1vp8443ilWaSzcL8HzHxfZzZNSY/hVZsXW3u954nP7iATFbhEKw7ANIqDOA0j7yHWeJHk7 pM3/7xUWsddCoIMM4rkxo3MgsOAz/MhUj0LY6COw8zImYOBme784tEtaBJyvqk/UkKT/2wnju v5Rx/d1IxiucLtUFAFnw== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 17, 2021 at 8:16 AM Brendan Higgins wrote: > > On Thu, Sep 16, 2021 at 10:39 PM Brendan Higgins > wrote: > > > > On Tue, Sep 14, 2021 at 3:04 PM Arnd Bergmann wrote: > > > > > > On Tue, Sep 14, 2021 at 10:48 PM Brendan Higgins > > > wrote: > > > > > > > > On Mon, Sep 13, 2021 at 1:55 PM Shuah Khan wrote: > > > > > > > > > > On 9/8/21 3:24 PM, Brendan Higgins wrote: > [...] > > Alright, I incorporated all the above into a patchset that I think is > > ready to send out, but I had a couple of issues with the above > > suggestions: Thanks a lot for those suggestions. > > - I could not find a config which causes a stacksize warning for > > sdhci-of-aspeed. I keep a history of my randconfig builds. This one only happened once before I fixed it, it may depend on some other combination of options. See my original defconfig file at https://pastebin.com/raw/XJxjVGYa rand/0xAB2DD5A0-failure:/git/arm-soc/drivers/mmc/host/sdhci-of-aspeed-test.c:47:1: error: the frame size of 1152 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] > > - test_scanf is not a KUnit test. I have three defconfigs for this one, all on x86-64: rand86/0x30AD57FB-failure:/git/arm-soc/lib/test_scanf.c: In function 'numbers_list_field_width_val_width': rand86/0x30AD57FB-failure:/git/arm-soc/lib/test_scanf.c:530:1: error: the frame size of 2488 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] rand86/0x30AD57FB-failure:/git/arm-soc/lib/test_scanf.c: In function 'numbers_list_field_width_typemax': rand86/0x30AD57FB-failure:/git/arm-soc/lib/test_scanf.c:488:1: error: the frame size of 2968 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] rand86/0x30AD57FB-failure:/git/arm-soc/lib/test_scanf.c: In function 'numbers_list': rand86/0x30AD57FB-failure:/git/arm-soc/lib/test_scanf.c:437:1: error: the frame size of 2488 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] https://pastebin.com/raw/jUdY6d3G is the worst one of those > > - Linus already fixed the thunderbolt test by breaking up the test cases. Ok. > > I am going to send out patches for the thunderbolt test and for the > > sdhci-of-aspeed test for the sake of completeness, but I am not sure > > if we should merge those two. I'll let y'all decide on the patch > > review. > > Just in case I missed any interested parties on this thread, I posted > my patches here: > > https://lore.kernel.org/linux-kselftest/20210917061104.2680133-1-brendanhiggins@google.com/T/#t Thanks! I'll reply to the particular patch as well, but I don't think that this is sufficient here: +CFLAGS_bitfield_kunit.o := $(call cc-option,-Wframe-larger-than=10240) $(DISABLE_STRUCTLEAK_PLUGIN) If 10KB is actually needed, this definitely overflows the 8KB stack on 32-bit architectures. Arnd