Hi Ben, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: b9011c7e671dbbf59bb753283ddfd03f0c9eb865 commit: 5161a55c069f53d88da49274cbef6e3c74eadea9 [5608/8423] cxl: Move cxl_core to new directory config: mips-randconfig-c004-20210816 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 2c6448cdc2f68f8c28fd0bd9404182b81306e6e6) 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/next/linux-next.git/commit/?id=5161a55c069f53d88da49274cbef6e3c74eadea9 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 5161a55c069f53d88da49274cbef6e3c74eadea9 # 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@xxxxxxxxx> All warnings (new ones prefixed by >>): >> drivers/cxl/core/bus.c:516:1: warning: stack frame size (1032) exceeds limit (1024) in function 'devm_cxl_add_decoder' [-Wframe-larger-than] devm_cxl_add_decoder(struct device *host, struct cxl_port *port, int nr_targets, ^ 1 warning generated. vim +/devm_cxl_add_decoder +516 drivers/cxl/core/bus.c 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 514 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 515 struct cxl_decoder * 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 @516 devm_cxl_add_decoder(struct device *host, struct cxl_port *port, int nr_targets, 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 517 resource_size_t base, resource_size_t len, 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 518 int interleave_ways, int interleave_granularity, 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 519 enum cxl_decoder_type type, unsigned long flags) 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 520 { 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 521 struct cxl_decoder *cxld; 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 522 struct device *dev; 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 523 int rc; 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 524 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 525 cxld = cxl_decoder_alloc(port, nr_targets, base, len, interleave_ways, 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 526 interleave_granularity, type, flags); 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 527 if (IS_ERR(cxld)) 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 528 return cxld; 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 529 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 530 dev = &cxld->dev; 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 531 rc = dev_set_name(dev, "decoder%d.%d", port->id, cxld->id); 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 532 if (rc) 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 533 goto err; 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 534 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 535 rc = device_add(dev); 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 536 if (rc) 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 537 goto err; 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 538 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 539 rc = devm_add_action_or_reset(host, unregister_dev, dev); 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 540 if (rc) 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 541 return ERR_PTR(rc); 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 542 return cxld; 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 543 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 544 err: 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 545 put_device(dev); 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 546 return ERR_PTR(rc); 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 547 } 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 548 EXPORT_SYMBOL_GPL(devm_cxl_add_decoder); 40ba17afdfabb0 drivers/cxl/core.c Dan Williams 2021-06-09 549 :::::: The code at line 516 was first introduced by commit :::::: 40ba17afdfabb01688c61565dbe02a916241bc05 cxl/acpi: Introduce cxl_decoder objects :::::: TO: Dan Williams <dan.j.williams@xxxxxxxxx> :::::: CC: Dan Williams <dan.j.williams@xxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip