Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2232291pxb; Fri, 17 Sep 2021 05:27:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzp4xQoAFua1L4u7X3mDHw1OLvm4bx4kzQz9vG78ryJqOhSyWz8jty+3Pd9fnYqge9rMy1U X-Received: by 2002:a92:c8d2:: with SMTP id c18mr7654542ilq.121.1631881675204; Fri, 17 Sep 2021 05:27:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631881675; cv=none; d=google.com; s=arc-20160816; b=OMUk3C+VJg+E56EQfTo97F9KdBDoxquecypHNbMCdIqd4PGLDoTfuu4fAUbEKitzkL dAGZJDLa8yQA9694zNmFvopwLjwyi2cIDAGbCl4rx8NBJ9AHSIpRXeroYnNkvHYREMOg ONLkC4M/hi4gar++Bs7Kh43bxEqPSvqx4Q5TkR+l1khyuN+T0JDTqKPeD7KA5HnPPJbT VMeJlzrNudZevWdWEhvobyBMaHkPDeoYuhaIntVHG1F08dgR9eMAysR3ydDRcYri3OQ1 yPP5N7Bh0PdjcY6gZhhyQ7d5y8OVMDIqOH6riq1DSj/nqgmdkF4lS+5PBKQSkn+/UsLj vDhg== 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:dkim-signature; bh=tDmd8ycUb5A33cqxczJ56wHGFGeWT2rzATobJNiElZc=; b=BINoyGzJzfxFnxHHoJHdHrvpPjxbyxkpHQAy5ejKOUzQ6WHFlX1k4t2xDaEp2O+HIM konZf36sIOirwAhVUCT4Xjvo5yEna1tsWyOmwe8Vav4rLoen5kJ6uWGpWwX6hH+o250Y vz5IfG/4pmGyT/6pmKzI7ieCJ3758dndTZLWgWhnoIN5v9qJM2P17u4BtAccuCMSEesT MLmZpL9X9MhMy0A1CLpduDIaXdSTY4Iqpt14pWvOuCrOfCI8y8kQqF42PVjxTgU/fsYl 6kgIqp75wwNNpQQv/zoQ1VlLVNjQPifhbJInnYfyiU9TgzxTU73wmT2/k7hUwdTIzjCE KUQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=mjKLzQ4i; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g17si5187709ilr.112.2021.09.17.05.27.42; Fri, 17 Sep 2021 05:27:55 -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=pass header.i=@google.com header.s=20210112 header.b=mjKLzQ4i; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238222AbhIQFlW (ORCPT + 99 others); Fri, 17 Sep 2021 01:41:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237123AbhIQFlV (ORCPT ); Fri, 17 Sep 2021 01:41:21 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4E62C061574 for ; Thu, 16 Sep 2021 22:39:59 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id p12-20020a17090adf8c00b0019c959bc795so933102pjv.1 for ; Thu, 16 Sep 2021 22:39:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tDmd8ycUb5A33cqxczJ56wHGFGeWT2rzATobJNiElZc=; b=mjKLzQ4indMMpCe2+SSAdTsz4b8weE1gFwDDjCVqrp9B3pKj/bdL1dSfl3/8kMyDCa OwNV8mBPxU0bohv0fNfCJuap5gQU8HNWcHGvgWIX9Lhe7vGcS0pmJGS5ohNAPqSW6y2b HqPHz2ZXAbYY+37RrveljTcqnLFKRWJM074UPOg0nvYDWFIceiA6ATCiTK4fbdFOd+Vo dqzJiLqCMHcx+FD5eJ2pRWB6exkXZDw4haYWbQNDsI6lawjDscBFXvjHFo6B0WPx7Aoy 3w8qeKXz5bhoAg7yncGtqLrlHT7BrfpztPQ9n7irXnqvU4hMwQ7+uzq+gLEMQP63o4JJ +kHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tDmd8ycUb5A33cqxczJ56wHGFGeWT2rzATobJNiElZc=; b=VDBRT3C7QDSaYdPcs96kFaOzX1ZkoqSa44AVoodG3/8W7hT91TGqKJr0INKNsKlP5x R81GJ6xcdeOTWLpPxwMn7lVnty3ybalo0FsTuUhyPqtkw4DIZmN1epRjfdoabAEfAjdD c3OJwKzLJkPme7XkuC0NbiQRTDvDO6iPJ/ubk4m05x1wcASraTE0daWe1kZiBCQz31X7 b8Br7u5KJq7dVcGjSqu5HNTWOBZLOWmpIvCdAODmYpA6q/cBgYYp4tbNsOtWhuoLvbKz ObodKMRpZNoH7DEI2DwfuRCzXCV9XpAKLSrQkofr9jKTfbrHnaHBISAD3fKYS5SSEXVQ 9eIw== X-Gm-Message-State: AOAM532W0XYIrGTFQD/uvSyCS0svk8ajsGoPCP3O1nYV/0na5UwMNVyB B3TSx0kPBkS39O+QwW8rmfn7u9S8f5pn6+wbhy0Dvw== X-Received: by 2002:a17:902:6f17:b0:139:eec4:867e with SMTP id w23-20020a1709026f1700b00139eec4867emr8140416plk.77.1631857198933; Thu, 16 Sep 2021 22:39:58 -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: Brendan Higgins Date: Thu, 16 Sep 2021 22:39:47 -0700 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: Arnd Bergmann Cc: 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" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: > > > Brendan, > > > > > > Would you like to send me the fix with Suggested-by for Arnd or Kees? > > > > So it looks like Arnd's fix was accepted (whether by him or someone > > else) for property-entry-test and Linus already fixed thunderbolt, so > > the only remaining of Arnd's patches is for the bitfield test, so I'll > > resend that one in a bit. > > > > Also, I haven't actually tried Linus' suggestion yet, but the logic is > > sound and the change *should* be fairly unintrusive - I am going to > > give that a try and report back (but I will get the bitfield > > structleak disable patch out first since I already got that applying). > > Looking at my randconfig tree, I find these six instances: > > $ git grep -w DISABLE_STRUCTLEAK_PLUGIN > drivers/base/test/Makefile:CFLAGS_property-entry-test.o += > $(DISABLE_STRUCTLEAK_PLUGIN) > drivers/iio/test/Makefile:CFLAGS_iio-test-format.o += > $(DISABLE_STRUCTLEAK_PLUGIN) > drivers/mmc/host/Makefile:CFLAGS_sdhci-of-aspeed.o += > $(DISABLE_STRUCTLEAK_PLUGIN) > drivers/thunderbolt/Makefile:CFLAGS_test.o += $(DISABLE_STRUCTLEAK_PLUGIN) > lib/Makefile:CFLAGS_test_scanf.o += $(DISABLE_STRUCTLEAK_PLUGIN) > lib/Makefile:CFLAGS_bitfield_kunit.o += $(DISABLE_STRUCTLEAK_PLUGIN) > scripts/Makefile.gcc-plugins: DISABLE_STRUCTLEAK_PLUGIN += > -fplugin-arg-structleak_plugin-disable > scripts/Makefile.gcc-plugins:export DISABLE_STRUCTLEAK_PLUGIN 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: - I could not find a config which causes a stacksize warning for sdhci-of-aspeed. - test_scanf is not a KUnit test. - Linus already fixed the thunderbolt test by breaking up the test cases. 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. I only based the thunderbolt and bitfield test fixes on actual patches from Arnd, but I think Arnd pretty much did all the work here so I am crediting him with a Co-developed-by on all the other patches, so Arnd: please follow up on the other patches with a signed-off-by, unless you would rather me credit you in some other way. > Sorry for failing to submit these as a proper patch. If you send a new version, > I think you need to make sure you cover all of the above, using whichever > change you like best. I am still going to try to get Linus' suggestion working since it actually solves the problem, but I would rather get the above suggested fix out there since it is quick and I know it works. Cheers