drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:645:5: warning: stack frame size of 3248 bytes in function 'amdgpu_ucode_init_bo'
From: kernel test robot
Date: Thu Apr 29 2021 - 04:12:12 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d72cd4ad4174cfd2257c426ad51e4f53bcfde9c9
commit: 97e4910232fa1f81e806aa60c25a0450276d99a2 linux/compiler-clang.h: define HAVE_BUILTIN_BSWAP*
date: 7 weeks ago
config: powerpc64-randconfig-r001-20210428 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 87fc97169e7901dfe56ca0da0d92da0c02d2ef48)
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 powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=97e4910232fa1f81e806aa60c25a0450276d99a2
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 97e4910232fa1f81e806aa60c25a0450276d99a2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:645:5: warning: stack frame size of 3248 bytes in function 'amdgpu_ucode_init_bo' [-Wframe-larger-than=]
int amdgpu_ucode_init_bo(struct amdgpu_device *adev)
^
1 warning generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for LEDS_TRIGGER_DISK
Depends on NEW_LEDS && LEDS_TRIGGERS && (IDE_GD_ATA || ATA
Selected by
- ADB_PMU_LED_DISK && MACINTOSH_DRIVERS && ADB_PMU_LED && LEDS_CLASS
vim +/amdgpu_ucode_init_bo +645 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
c8963ea4ce1783 Rex Zhu 2018-10-09 644
c8963ea4ce1783 Rex Zhu 2018-10-09 @645 int amdgpu_ucode_init_bo(struct amdgpu_device *adev)
:::::: The code at line 645 was first introduced by commit
:::::: c8963ea4ce1783034e1f9cf0d702fa490eb77836 drm/amdgpu: Split amdgpu_ucode_init/fini_bo into two functions
:::::: TO: Rex Zhu <Rex.Zhu@xxxxxxx>
:::::: CC: Alex Deucher <alexander.deucher@xxxxxxx>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip