Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1199431rwn; Thu, 15 Sep 2022 11:58:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6fYYG8NxUVZc1FpMiFlIadiVxkK25uycr+yXjn/evIHHzRl7FO11ZGx5QY/J+ZMHayG3dS X-Received: by 2002:a17:907:7284:b0:780:2cba:3079 with SMTP id dt4-20020a170907728400b007802cba3079mr929246ejc.51.1663268321428; Thu, 15 Sep 2022 11:58:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663268321; cv=none; d=google.com; s=arc-20160816; b=CEbwmdSgDFQssg3RS/3nnW+Ko4L2BrSf9e2o08sh/UHBZs9+k9qtithKhrBXMpataw yq4IaBE1SIFtON31M/H6Lr+7EUNMdwj8Zsm38VRxfKEDrZbsY8smen4710jby7450A4Z uCoZQo61TOn86ADjOi6JTl7nI8cuZSVup+VJ6ZKnpVL5CIz5nqWGtc22ffqVjz7US29D ou/OksduzNVTQQUjHu3h2YczedDZTGF6/Ar/I7Dt9Km5/Nw6jKQhy9Zk+twjyWgJVovn RCUHeSgt4NOrCh306sBSdRiEZII0qlyXdYMgMJ9Qyh4ffLLZSIythK4ISxNXvbRfq4tF nIyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=BBYoQBiYc3blvf9HLzeei4DjTG96i2voaCfxbBryfek=; b=toEZfVs3WaGvwuHJR+dz5uHyu2qFtHOojUeVG93qI0d4xucHUB9hqi6ecgCkS795iu klZlSOg65ZTGSa9OQBg2GusN2mT5EPC9yRhHaCLIlRsXYdIaCfnVikgKOiH96xy5gcGx oJDVaK8fBbl+d6OoIqdNzpH2u8kCo2BdUZe2zg1JzgyEQaL5J9GV8nBp/4CDRgc/GAgY t25GnxEW4I3WBBrZH47dy2LsbynMuHlD1kx99SXOlxJHZpGvGaqFcgFT5QswiKfGB51k KrDIi2be+PScHVpNnySOTvNMehMQhXhrjkqwWh7WbQ1jzLoPLAf+K2ZoW3rR0E5O/nwn JPJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b="MD/SPjkY"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="0nV/D6/Q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qa33-20020a17090786a100b007707e4ce2ebsi14734172ejc.234.2022.09.15.11.58.15; Thu, 15 Sep 2022 11:58:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b="MD/SPjkY"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="0nV/D6/Q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229674AbiIOSzy (ORCPT + 99 others); Thu, 15 Sep 2022 14:55:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229608AbiIOSzv (ORCPT ); Thu, 15 Sep 2022 14:55:51 -0400 X-Greylist: delayed 339 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 15 Sep 2022 11:55:50 PDT Received: from new3-smtp.messagingengine.com (new3-smtp.messagingengine.com [66.111.4.229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D4D63CBE4; Thu, 15 Sep 2022 11:55:50 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 53F6C582BAC; Thu, 15 Sep 2022 14:50:10 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute3.internal (MEProxy); Thu, 15 Sep 2022 14:50:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1663267810; x=1663271410; bh=BBYoQBiYc3 blvf9HLzeei4DjTG96i2voaCfxbBryfek=; b=MD/SPjkYriKkZPO0IKBMTzNyHD 2NkJwDPiDt6d08iDVWgkkKyagHowZE82kgFUjeayHGChz0V4ll79h9IKxWaapbVq T53pIacMaGFJrFp/LYMq+DY2t0pva0D9E9E1LfjJRMq0vfCID87Viw1+s9l0TcM0 HWsR5US9mN3FI7A8Fi8ICIfDDuFdGnr/ig4XFSxQUSDtS9qLlTNi7KLRd+c5YHdL 1g3Q9oqE2MU31wFFu4YfVjZr4RuNwBhbTh1L+JuIl/7W/XahSVqECH7cDZRjcoN9 QnWK4iarBG0VMhsUADqf2ZX/xWOsmCtsj3dhq52mgohPOLqMO9Kb6ts2tFUg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1663267810; x=1663271410; bh=BBYoQBiYc3blvf9HLzeei4DjTG96 i2voaCfxbBryfek=; b=0nV/D6/Qe5dubZEHkhDqr6L+R0jme1Skhm+b8pH0RACL vKoVavUPZrmy0Sfkn0XWLe0MGh5oJn/1M6kyINIIW1jG9Lese3SeGsVE1WW7ZzqK d0htkhh5tz6a2qU3Qh/6WnrHCpYENa2rv2cPYprP+LKweWkfEkS4+A1II2o3ppdT dFI4zaZQahgKfxwXvgbbkjYJIdH1D8EmtY/MCqBucVkF0poGYXzTj41ve96J+hb5 b5O5TiRRe3Q1/FJddDbjj8lSxsC5DVIxj79YBkUnR+OlKAOvs+bcQUZHwv2C6idT tksqyVP97RLSNCOJHRplKpRJOE+hf35gpr9vDhoeqQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedukedgudefvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpeevhfffledtgeehfeffhfdtgedvheejtdfgkeeuvefgudffteettdekkeeu feehudenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomheprghrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9F9F5B60089; Thu, 15 Sep 2022 14:50:08 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-935-ge4ccd4c47b-fm-20220914.001-ge4ccd4c4 Mime-Version: 1.0 Message-Id: <9b4152e9-34cb-4ed6-b5e3-ef045b40dff2@www.fastmail.com> In-Reply-To: <202209160259.7f3Z5krO-lkp@intel.com> References: <202209160259.7f3Z5krO-lkp@intel.com> Date: Thu, 15 Sep 2022 20:49:48 +0200 From: "Arnd Bergmann" To: "kernel test robot" Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, "Linus Walleij" , linux-omap@vger.kernel.org, "Tomi Valkeinen" , dri-devel@lists.freedesktop.org Subject: Re: drivers/gpu/drm/omapdrm/dss/dsi.c:1126:1: warning: the frame size of 1060 bytes is larger than 1024 bytes Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 15, 2022, at 8:17 PM, kernel test robot wrote: > Hi Arnd, > tree: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 3245cb65fd91cd514801bf91f5a3066d562f0ac4 > commit: 3d427228f7370894680580fcd0381c0349624fa1 ARM: ixp4xx: enable > multiplatform support This did not cause the problem, the bisection just landed on a commit that enabled additional configuraitons. > drivers/gpu/drm/omapdrm/dss/dsi.c: In function 'dsi_dump_dsi_irqs': >>> drivers/gpu/drm/omapdrm/dss/dsi.c:1126:1: warning: the frame size of 1060 bytes is larger than 1024 bytes [-Wframe-larger-than=] > 1126 | } I think hte problem is that struct dsi_irq_stats is just too large, at 776 bytes. The interrupts are disabled during a copy from 'dsi->irq_stats' into 'stats'. A trivial workaround would avoid the local copy and keep interrupts disabled through the entire function so it can operate directly on the source data, but that would introduce a longer time with irqs disabled, which might be bad as well. Since this is only called from a debugfs file, and reading that file is probably not performance critical itself, maybe using kmalloc on the large structure would be best. Arnd