All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rong Chen <rong.a.chen@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: kernel test robot <lkp@intel.com>,
	kbuild-all@lists.01.org,
	clang-built-linux <clang-built-linux@googlegroups.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Nathan Chancellor <nathan@kernel.org>,
	Kees Cook <keescook@chromium.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
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'
Date: Thu, 20 May 2021 17:56:35 +0800	[thread overview]
Message-ID: <9df0d465-d671-d970-4b45-61af014749c9@intel.com> (raw)
In-Reply-To: <CAK8P3a3hc67Ks_j8cXokOQBQBEJfMbrDLHfDTXcPFYQfxga=ag@mail.gmail.com>



On 5/20/21 5:27 PM, Arnd Bergmann wrote:
> On Thu, May 20, 2021 at 11:22 AM Rong Chen <rong.a.chen@intel.com> wrote:
>> On 5/20/21 4:28 AM, Arnd Bergmann wrote:
>>> On Wed, May 19, 2021 at 9:48 PM kernel test robot <lkp@intel.com> 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 <lkp@intel.com>
>>>>
>>>> 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
> 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


WARNING: multiple messages have this Message-ID (diff)
From: Rong Chen <rong.a.chen@intel.com>
To: kbuild-all@lists.01.org
Subject: 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'
Date: Thu, 20 May 2021 17:56:35 +0800	[thread overview]
Message-ID: <9df0d465-d671-d970-4b45-61af014749c9@intel.com> (raw)
In-Reply-To: <CAK8P3a3hc67Ks_j8cXokOQBQBEJfMbrDLHfDTXcPFYQfxga=ag@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2817 bytes --]



On 5/20/21 5:27 PM, Arnd Bergmann wrote:
> On Thu, May 20, 2021 at 11:22 AM Rong Chen <rong.a.chen@intel.com> wrote:
>> On 5/20/21 4:28 AM, Arnd Bergmann wrote:
>>> On Wed, May 19, 2021 at 9:48 PM kernel test robot <lkp@intel.com> 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 <lkp@intel.com>
>>>>
>>>> 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
> 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

  reply	other threads:[~2021-05-20  9:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-19 19:48 [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' kernel test robot
2021-05-19 19:48 ` kernel test robot
2021-05-19 20:28 ` Arnd Bergmann
2021-05-19 20:28   ` Arnd Bergmann
2021-05-20  9:20   ` Rong Chen
2021-05-20  9:20     ` Rong Chen
2021-05-20  9:27     ` Arnd Bergmann
2021-05-20  9:27       ` Arnd Bergmann
2021-05-20  9:56       ` Rong Chen [this message]
2021-05-20  9:56         ` Rong Chen
2021-05-21  0:57         ` [kbuild-all] " Philip Li
2021-05-21  0:57           ` Philip Li
2021-05-21  8:09           ` [kbuild-all] " Arnd Bergmann
2021-05-21  8:09             ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9df0d465-d671-d970-4b45-61af014749c9@intel.com \
    --to=rong.a.chen@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=arnd@arndb.de \
    --cc=clang-built-linux@googlegroups.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@lists.01.org \
    --cc=keescook@chromium.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=nathan@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.