tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 92477dd1faa650e50bd3bb35a6c0b8d09198cc35 commit: c637693b20da8706b7f48d96882c9c80ae935151 ubsan: remove UBSAN_MISC in favor of individual options date: 10 months ago config: i386-randconfig-a015-20210927 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498) 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 # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c637693b20da8706b7f48d96882c9c80ae935151 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout c637693b20da8706b7f48d96882c9c80ae935151 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386 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/../display/dc/dml/dcn20/display_rq_dlg_calc_20.c:1531:6: warning: stack frame size (1324) exceeds limit (1024) in function 'dml20_rq_dlg_get_dlg_reg' [-Wframe-larger-than] void dml20_rq_dlg_get_dlg_reg(struct display_mode_lib *mode_lib, ^ 1 warning generated. -- >> drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c:1532:6: warning: stack frame size (1324) exceeds limit (1024) in function 'dml20v2_rq_dlg_get_dlg_reg' [-Wframe-larger-than] void dml20v2_rq_dlg_get_dlg_reg(struct display_mode_lib *mode_lib, ^ 1 warning generated. -- drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_rq_dlg_calc_21.c:1696:6: warning: no previous prototype for function 'dml_rq_dlg_get_arb_params' [-Wmissing-prototypes] void dml_rq_dlg_get_arb_params(struct display_mode_lib *mode_lib, display_arb_params_st *arb_param) ^ drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_rq_dlg_calc_21.c:1696:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void dml_rq_dlg_get_arb_params(struct display_mode_lib *mode_lib, display_arb_params_st *arb_param) ^ static >> drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_rq_dlg_calc_21.c:1639:6: warning: stack frame size (1436) exceeds limit (1024) in function 'dml21_rq_dlg_get_dlg_reg' [-Wframe-larger-than] void dml21_rq_dlg_get_dlg_reg( ^ 2 warnings generated. -- >> drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn30/display_rq_dlg_calc_30.c:1813:6: warning: stack frame size (1500) exceeds limit (1024) in function 'dml30_rq_dlg_get_dlg_reg' [-Wframe-larger-than] void dml30_rq_dlg_get_dlg_reg(struct display_mode_lib *mode_lib, ^ 1 warning generated. vim +/dml20_rq_dlg_get_dlg_reg +1531 drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/display_rq_dlg_calc_20.c 728c06986a4f38 Harry Wentland 2019-02-22 1530 728c06986a4f38 Harry Wentland 2019-02-22 @1531 void dml20_rq_dlg_get_dlg_reg(struct display_mode_lib *mode_lib, 728c06986a4f38 Harry Wentland 2019-02-22 1532 display_dlg_regs_st *dlg_regs, 728c06986a4f38 Harry Wentland 2019-02-22 1533 display_ttu_regs_st *ttu_regs, 728c06986a4f38 Harry Wentland 2019-02-22 1534 display_e2e_pipe_params_st *e2e_pipe_param, 728c06986a4f38 Harry Wentland 2019-02-22 1535 const unsigned int num_pipes, 728c06986a4f38 Harry Wentland 2019-02-22 1536 const unsigned int pipe_idx, 728c06986a4f38 Harry Wentland 2019-02-22 1537 const bool cstate_en, f82c916c41974c Charlene Liu 2019-06-03 1538 const bool pstate_en, f82c916c41974c Charlene Liu 2019-06-03 1539 const bool vm_en, f82c916c41974c Charlene Liu 2019-06-03 1540 const bool ignore_viewport_pos, f82c916c41974c Charlene Liu 2019-06-03 1541 const bool immediate_flip_support) 728c06986a4f38 Harry Wentland 2019-02-22 1542 { 728c06986a4f38 Harry Wentland 2019-02-22 1543 display_rq_params_st rq_param = {0}; 728c06986a4f38 Harry Wentland 2019-02-22 1544 display_dlg_sys_params_st dlg_sys_param = {0}; 728c06986a4f38 Harry Wentland 2019-02-22 1545 728c06986a4f38 Harry Wentland 2019-02-22 1546 // Get watermark and Tex. 728c06986a4f38 Harry Wentland 2019-02-22 1547 dlg_sys_param.t_urg_wm_us = get_wm_urgent(mode_lib, e2e_pipe_param, num_pipes); 728c06986a4f38 Harry Wentland 2019-02-22 1548 dlg_sys_param.deepsleep_dcfclk_mhz = get_clk_dcf_deepsleep(mode_lib, 728c06986a4f38 Harry Wentland 2019-02-22 1549 e2e_pipe_param, 728c06986a4f38 Harry Wentland 2019-02-22 1550 num_pipes); 728c06986a4f38 Harry Wentland 2019-02-22 1551 dlg_sys_param.t_extra_us = get_urgent_extra_latency(mode_lib, e2e_pipe_param, num_pipes); 728c06986a4f38 Harry Wentland 2019-02-22 1552 dlg_sys_param.mem_trip_us = get_wm_memory_trip(mode_lib, e2e_pipe_param, num_pipes); 728c06986a4f38 Harry Wentland 2019-02-22 1553 dlg_sys_param.t_mclk_wm_us = get_wm_dram_clock_change(mode_lib, e2e_pipe_param, num_pipes); 728c06986a4f38 Harry Wentland 2019-02-22 1554 dlg_sys_param.t_sr_wm_us = get_wm_stutter_enter_exit(mode_lib, e2e_pipe_param, num_pipes); 728c06986a4f38 Harry Wentland 2019-02-22 1555 dlg_sys_param.total_flip_bw = get_total_immediate_flip_bw(mode_lib, 728c06986a4f38 Harry Wentland 2019-02-22 1556 e2e_pipe_param, 728c06986a4f38 Harry Wentland 2019-02-22 1557 num_pipes); 728c06986a4f38 Harry Wentland 2019-02-22 1558 dlg_sys_param.total_flip_bytes = get_total_immediate_flip_bytes(mode_lib, 728c06986a4f38 Harry Wentland 2019-02-22 1559 e2e_pipe_param, 728c06986a4f38 Harry Wentland 2019-02-22 1560 num_pipes); 728c06986a4f38 Harry Wentland 2019-02-22 1561 dlg_sys_param.t_srx_delay_us = mode_lib->ip.dcfclk_cstate_latency 728c06986a4f38 Harry Wentland 2019-02-22 1562 / dlg_sys_param.deepsleep_dcfclk_mhz; // TODO: Deprecated 728c06986a4f38 Harry Wentland 2019-02-22 1563 728c06986a4f38 Harry Wentland 2019-02-22 1564 print__dlg_sys_params_st(mode_lib, dlg_sys_param); 728c06986a4f38 Harry Wentland 2019-02-22 1565 728c06986a4f38 Harry Wentland 2019-02-22 1566 // system parameter calculation done 728c06986a4f38 Harry Wentland 2019-02-22 1567 728c06986a4f38 Harry Wentland 2019-02-22 1568 dml_print("DML_DLG: Calculation for pipe[%d] start\n\n", pipe_idx); 728c06986a4f38 Harry Wentland 2019-02-22 1569 dml20_rq_dlg_get_rq_params(mode_lib, &rq_param, e2e_pipe_param[pipe_idx].pipe.src); 728c06986a4f38 Harry Wentland 2019-02-22 1570 dml20_rq_dlg_get_dlg_params(mode_lib, 728c06986a4f38 Harry Wentland 2019-02-22 1571 e2e_pipe_param, 728c06986a4f38 Harry Wentland 2019-02-22 1572 num_pipes, 728c06986a4f38 Harry Wentland 2019-02-22 1573 pipe_idx, 728c06986a4f38 Harry Wentland 2019-02-22 1574 dlg_regs, 728c06986a4f38 Harry Wentland 2019-02-22 1575 ttu_regs, 728c06986a4f38 Harry Wentland 2019-02-22 1576 rq_param.dlg, 728c06986a4f38 Harry Wentland 2019-02-22 1577 dlg_sys_param, 728c06986a4f38 Harry Wentland 2019-02-22 1578 cstate_en, 728c06986a4f38 Harry Wentland 2019-02-22 1579 pstate_en); 728c06986a4f38 Harry Wentland 2019-02-22 1580 dml_print("DML_DLG: Calculation for pipe[%d] end\n", pipe_idx); 728c06986a4f38 Harry Wentland 2019-02-22 1581 } 728c06986a4f38 Harry Wentland 2019-02-22 1582 :::::: The code at line 1531 was first introduced by commit :::::: 728c06986a4f386c7ec5e5170716e30b610c6d32 drm/amd/display: Add DCN2 changes to DML :::::: TO: Harry Wentland <harry.wentland@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