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 X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22FFDC433B4 for ; Fri, 21 May 2021 01:01:02 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9E54B611AB for ; Fri, 21 May 2021 01:01:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9E54B611AB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id B20998E001B; Thu, 20 May 2021 21:01:00 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id ACFE28D0001; Thu, 20 May 2021 21:01:00 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9707D8E001B; Thu, 20 May 2021 21:01:00 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0091.hostedemail.com [216.40.44.91]) by kanga.kvack.org (Postfix) with ESMTP id 604A28D0001 for ; Thu, 20 May 2021 21:01:00 -0400 (EDT) Received: from smtpin18.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id E818A82499A8 for ; Fri, 21 May 2021 01:00:59 +0000 (UTC) X-FDA: 78163433838.18.87A165E Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by imf13.hostedemail.com (Postfix) with ESMTP id 825AFE002035 for ; Fri, 21 May 2021 01:00:55 +0000 (UTC) IronPort-SDR: 8fA+rasgucTKnijMf/41qBf5fULgJzFrkldW8741Gsis2Z39gZkOc0y55pKzf/MKIjFQOphmh8 7MNWKgl5ntJA== X-IronPort-AV: E=McAfee;i="6200,9189,9990"; a="188503091" X-IronPort-AV: E=Sophos;i="5.82,313,1613462400"; d="scan'208";a="188503091" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2021 18:00:54 -0700 IronPort-SDR: zogkK2KyjuMjJZETKMP+uqpsPM3jJm3SW3xvuKae7PduQglXtejYlmtyBLVUStnAT9Qno1XIXN OHQFNiYR6pHg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,313,1613462400"; d="scan'208";a="545189183" Received: from pl-dbox.sh.intel.com (HELO pl-dbox) ([10.239.159.39]) by orsmga004.jf.intel.com with ESMTP; 20 May 2021 18:00:52 -0700 Date: Fri, 21 May 2021 08:57:24 +0800 From: Philip Li To: Rong Chen Cc: Arnd Bergmann , kernel test robot , kbuild-all@lists.01.org, clang-built-linux , Greg Kroah-Hartman , Nathan Chancellor , Kees Cook , Andrew Morton , Linux Memory Management List Subject: Re: [kbuild-all] Re: [linux-stable-rc:linux-5.10.y 3189/5262] drivers/usb/dwc2/hcd.c:3835:6: warning: stack frame size of 1032 bytes in function 'dwc2_hcd_dump_state' Message-ID: <20210521005724.GA3353474@pl-dbox> References: <202105200357.eXI65Gfu-lkp@intel.com> <9df0d465-d671-d970-4b45-61af014749c9@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9df0d465-d671-d970-4b45-61af014749c9@intel.com> Authentication-Results: imf13.hostedemail.com; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=intel.com (policy=none); spf=none (imf13.hostedemail.com: domain of philip.li@intel.com has no SPF policy when checking 134.134.136.20) smtp.mailfrom=philip.li@intel.com X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 825AFE002035 X-Stat-Signature: 6x4s7ztjuyr1u5oazww5prqddkc9fcwy X-HE-Tag: 1621558855-777394 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Thu, May 20, 2021 at 05:56:35PM +0800, Rong Chen wrote: > > > On 5/20/21 5:27 PM, Arnd Bergmann wrote: > > On Thu, May 20, 2021 at 11:22 AM Rong Chen wrote: > > > On 5/20/21 4:28 AM, Arnd Bergmann wrote: > > > > On Wed, May 19, 2021 at 9:48 PM kernel test robot wrote: > > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y > > > > > head: 689e89aee55c565fe90fcdf8a7e53f2f976c5946 > > > > > commit: 5f2f616343b1d62d26f24316fbfc107ecf0983a9 [3189/5262] linux/compiler-clang.h: define HAVE_BUILTIN_BSWAP* > > > > > config: mips-randconfig-r015-20210519 (attached as .config) > > > > > compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8e93d10633d751a3e9169bf9fa68326925ffa097) > > > > > reproduce (this is a W=1 build): > > > > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > > > > chmod +x ~/bin/make.cross > > > > > # install mips cross compiling tool for clang build > > > > > # apt-get install binutils-mips-linux-gnu > > > > > # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=5f2f616343b1d62d26f24316fbfc107ecf0983a9 > > > > > git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > > > > > git fetch --no-tags linux-stable-rc linux-5.10.y > > > > > git checkout 5f2f616343b1d62d26f24316fbfc107ecf0983a9 > > > > > # save the attached .config to linux build tree > > > > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips > > > > > > > > > > If you fix the issue, kindly add following tag as appropriate > > > > > Reported-by: kernel test robot > > > > > > > > > > All warnings (new ones prefixed by >>): > > > > > > > > > I analyzed another bug like this today, and I think this is again just > > > > CONFIG_UBSAN_ALIGNMENT=y > > > > on mips/clang causing tons of these warnings. > > > > > > > > I don't think this should be considered a regression, but we may want > > > > to change either the > > > > kernel or the 0day bot from test building this combination of options. > > > > > > > > Arnd > > > > > > > Hi Arnd, > > > > > > We have disabled CONFIG_UBSAN_ALIGNMENT for mips/clang in our kconfigs > > > to avoid reporting such warnings again. > > Thanks a lot, that helps. > > > > Have you considered always enforcing CONFIG_COMPILE_TEST=y for any > > randconfig build? That would address this issue along with a number of similar Hi Arnd, thanks for feedback, we have talked about this internally. We use randconfig to cover different combination, some randconfig would have CONFIG_COMPILE_TEST=y, some is not. For now, we also want to check the kernel build status when COMPILE_TEST is not set (as if this is a valid kconfig combination). Thus we may not always enforcing the y here, but keep it as random as possible. > > ones. I have sent a number of patches to add COMPILE_TEST dependencies > > for things that otherwise break in randconfig builds but could still be useful > > in more specific cases when users know better. > > > > Arnd > > Hi Arnd, > > Thanks for the advice, we'll consider it in the near future > after assessing the existing configures. > > Best Regards, > Rong Chen > _______________________________________________ > kbuild-all mailing list -- kbuild-all@lists.01.org > To unsubscribe send an email to kbuild-all-leave@lists.01.org