[peterz-queue:x86/fpu 3/3] drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:452:19: warning: no previous prototype for 'dcn_bw_calc_rq_dlg_ttu'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/fpu
head: d14ab6cd6246ebbee31ec979f0f24ac656f37f4d
commit: d14ab6cd6246ebbee31ec979f0f24ac656f37f4d [3/3] amdgpu/dc: Annotate __fpu
config: powerpc-randconfig-r015-20200820 (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.0
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
git checkout d14ab6cd6246ebbee31ec979f0f24ac656f37f4d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:452:13: error: expected ';' before 'void'
452 | static __fpu void dcn_bw_calc_rq_dlg_ttu(
| ^~~~~
| ;
>> drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:452:19: warning: no previous prototype for 'dcn_bw_calc_rq_dlg_ttu' [-Wmissing-prototypes]
452 | static __fpu void dcn_bw_calc_rq_dlg_ttu(
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:29,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:37,
from drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:27:
drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c: In function 'dcn_bw_apply_registry_override':
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:64:3: error: implicit declaration of function 'enable_kernel_vsx'; did you mean 'enable_kernel_fp'? [-Werror=implicit-function-declaration]
64 | enable_kernel_vsx(); \
| ^~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:640:2: note: in expansion of macro 'DC_FP_START'
640 | DC_FP_START();
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:67:3: error: implicit declaration of function 'enable_kernel_altivec'; did you mean 'enable_kernel_fp'? [-Werror=implicit-function-declaration]
67 | enable_kernel_altivec(); \
| ^~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:640:2: note: in expansion of macro 'DC_FP_START'
640 | DC_FP_START();
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:75:3: error: implicit declaration of function 'disable_kernel_vsx'; did you mean 'disable_kernel_fp'? [-Werror=implicit-function-declaration]
75 | disable_kernel_vsx(); \
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:676:2: note: in expansion of macro 'DC_FP_END'
676 | DC_FP_END();
| ^~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:78:3: error: implicit declaration of function 'disable_kernel_altivec'; did you mean 'disable_kernel_fp'? [-Werror=implicit-function-declaration]
78 | disable_kernel_altivec(); \
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:676:2: note: in expansion of macro 'DC_FP_END'
676 | DC_FP_END();
| ^~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c: At top level:
drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:690:13: error: expected ';' before 'void'
690 | static __fpu void hack_force_pipe_split(struct dcn_bw_internal_vars *v,
| ^~~~~
| ;
drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:690:19: warning: no previous prototype for 'hack_force_pipe_split' [-Wmissing-prototypes]
690 | static __fpu void hack_force_pipe_split(struct dcn_bw_internal_vars *v,
| ^~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:739:14: warning: no previous prototype for 'get_highest_allowed_voltage_level' [-Wmissing-prototypes]
739 | unsigned int get_highest_allowed_voltage_level(uint32_t hw_internal_rev, uint32_t pci_revision_id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1424:6: error: expected ';' before 'unsigned'
1424 | __fpu unsigned int dcn_find_dcfclk_suits_all(
| ^~~~~~~~~
| ;
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:86,
from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/resource.h:28,
from drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:32:
drivers/gpu/drm/amd/amdgpu/../display/dc/inc/hw/dpp.h:50:42: warning: 'dpp_input_csc_matrix' defined but not used [-Wunused-const-variable=]
50 | static const struct dpp_input_csc_matrix dpp_input_csc_matrix[] = {
| ^~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32,
from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/resource.h:28,
from drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:32:
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:124:22: warning: 'DP_DVI_CONVERTER_ID_4' defined but not used [-Wunused-const-variable=]
124 | static const uint8_t DP_DVI_CONVERTER_ID_4[] = "m2DVIa";
| ^~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:122:22: warning: 'DP_VGA_LVDS_CONVERTER_ID_3' defined but not used [-Wunused-const-variable=]
122 | static const uint8_t DP_VGA_LVDS_CONVERTER_ID_3[] = "dnomlA";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:120:22: warning: 'DP_VGA_LVDS_CONVERTER_ID_2' defined but not used [-Wunused-const-variable=]
120 | static const uint8_t DP_VGA_LVDS_CONVERTER_ID_2[] = "sivarT";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:37,
from drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:27:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL };
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=]
67 | static const struct fixed31_32 dc_fixpt_zero = { 0 };
| ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?...
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue x86/fpu
git checkout d14ab6cd6246ebbee31ec979f0f24ac656f37f4d
vim +/dcn_bw_calc_rq_dlg_ttu +452 drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c
451
> 452 static __fpu void dcn_bw_calc_rq_dlg_ttu(
453 const struct dc *dc,
454 const struct dcn_bw_internal_vars *v,
455 struct pipe_ctx *pipe,
456 int in_idx)
457 {
458 struct display_mode_lib *dml = (struct display_mode_lib *)(&dc->dml);
459 struct _vcs_dpi_display_dlg_regs_st *dlg_regs = &pipe->dlg_regs;
460 struct _vcs_dpi_display_ttu_regs_st *ttu_regs = &pipe->ttu_regs;
461 struct _vcs_dpi_display_rq_regs_st *rq_regs = &pipe->rq_regs;
462 struct _vcs_dpi_display_rq_params_st rq_param = {0};
463 struct _vcs_dpi_display_dlg_sys_params_st dlg_sys_param = {0};
464 struct _vcs_dpi_display_e2e_pipe_params_st input = { { { 0 } } };
465 float total_active_bw = 0;
466 float total_prefetch_bw = 0;
467 int total_flip_bytes = 0;
468 int i;
469
470 memset(dlg_regs, 0, sizeof(*dlg_regs));
471 memset(ttu_regs, 0, sizeof(*ttu_regs));
472 memset(rq_regs, 0, sizeof(*rq_regs));
473
474 for (i = 0; i < number_of_planes; i++) {
475 total_active_bw += v->read_bandwidth[i];
476 total_prefetch_bw += v->prefetch_bandwidth[i];
477 total_flip_bytes += v->total_immediate_flip_bytes[i];
478 }
479 dlg_sys_param.total_flip_bw = v->return_bw - dcn_bw_max2(total_active_bw, total_prefetch_bw);
480 if (dlg_sys_param.total_flip_bw < 0.0)
481 dlg_sys_param.total_flip_bw = 0;
482
483 dlg_sys_param.t_mclk_wm_us = v->dram_clock_change_watermark;
484 dlg_sys_param.t_sr_wm_us = v->stutter_enter_plus_exit_watermark;
485 dlg_sys_param.t_urg_wm_us = v->urgent_watermark;
486 dlg_sys_param.t_extra_us = v->urgent_extra_latency;
487 dlg_sys_param.deepsleep_dcfclk_mhz = v->dcf_clk_deep_sleep;
488 dlg_sys_param.total_flip_bytes = total_flip_bytes;
489
490 pipe_ctx_to_e2e_pipe_params(pipe, &input.pipe);
491 input.clks_cfg.dcfclk_mhz = v->dcfclk;
492 input.clks_cfg.dispclk_mhz = v->dispclk;
493 input.clks_cfg.dppclk_mhz = v->dppclk;
494 input.clks_cfg.refclk_mhz = dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000.0;
495 input.clks_cfg.socclk_mhz = v->socclk;
496 input.clks_cfg.voltage = v->voltage_level;
497 // dc->dml.logger = pool->base.logger;
498 input.dout.output_format = (v->output_format[in_idx] == dcn_bw_420) ? dm_420 : dm_444;
499 input.dout.output_type = (v->output[in_idx] == dcn_bw_hdmi) ? dm_hdmi : dm_dp;
500 //input[in_idx].dout.output_standard;
501
502 /*todo: soc->sr_enter_plus_exit_time??*/
503 dlg_sys_param.t_srx_delay_us = dc->dcn_ip->dcfclk_cstate_latency / v->dcf_clk_deep_sleep;
504
505 dml1_rq_dlg_get_rq_params(dml, &rq_param, input.pipe.src);
506 dml1_extract_rq_regs(dml, rq_regs, rq_param);
507 dml1_rq_dlg_get_dlg_params(
508 dml,
509 dlg_regs,
510 ttu_regs,
511 rq_param.dlg,
512 dlg_sys_param,
513 input,
514 true,
515 true,
516 v->pte_enable == dcn_bw_yes,
517 pipe->plane_state->flip_immediate);
518 }
519
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
Re: [PATCH v4 1/2] staging: android: Remove BUG_ON from ion_page_pool.c
by kernel test robot
Hi Tomer,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on staging/staging-testing]
url: https://github.com/0day-ci/linux/commits/Tomer-Samara/staging-android-Rem...
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git bc752d2f345bf55d71b3422a6a24890ea03168dc
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/staging/android/ion/ion_page_pool.c: In function 'ion_page_pool_free':
>> drivers/staging/android/ion/ion_page_pool.c:83:2: error: expected ';' before 'ion_page_pool_add'
83 | ion_page_pool_add(pool, page);
| ^~~~~~~~~~~~~~~~~
At top level:
drivers/staging/android/ion/ion_page_pool.c:28:13: warning: 'ion_page_pool_add' defined but not used [-Wunused-function]
28 | static void ion_page_pool_add(struct ion_page_pool *pool, struct page *page)
| ^~~~~~~~~~~~~~~~~
# https://github.com/0day-ci/linux/commit/855a2d27af07d8bf02bc2f5cd75a7f87d...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Tomer-Samara/staging-android-Remove-BUG-BUG_ON-from-ion/20200821-233003
git checkout 855a2d27af07d8bf02bc2f5cd75a7f87d1e94686
vim +83 drivers/staging/android/ion/ion_page_pool.c
0214c7f20bf4d5d Rebecca Schultz Zavin 2013-12-13 78
0214c7f20bf4d5d Rebecca Schultz Zavin 2013-12-13 79 void ion_page_pool_free(struct ion_page_pool *pool, struct page *page)
0214c7f20bf4d5d Rebecca Schultz Zavin 2013-12-13 80 {
855a2d27af07d8b Tomer Samara 2020-08-21 81 WARN_ON(pool->order != compound_order(page))
bdeb9f1c4276864 Heesub Shin 2014-05-28 82
a3f75c43594ccfe Yisheng Xie 2018-02-12 @83 ion_page_pool_add(pool, page);
0214c7f20bf4d5d Rebecca Schultz Zavin 2013-12-13 84 }
0214c7f20bf4d5d Rebecca Schultz Zavin 2013-12-13 85
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
Re: [PATCH 3/7] media: i2c: Add support for the OV8865 image sensor
by kernel test robot
Hi "Kévin,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on sunxi/sunxi/for-next robh/for-next v5.9-rc1 next-20200821]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/K-vin-L-h-pital/Support-of-MIPI-...
base: git://linuxtv.org/media_tree.git master
config: x86_64-randconfig-a002-20200820
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project b587ca93be114d07ec3bf654add97d7872325281)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 randconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> drivers/media/i2c/Kconfig:741:error: recursive dependency detected!
drivers/media/i2c/Kconfig:741: symbol VIDEO_IMX214 depends on V4L2_FWNODE
drivers/media/v4l2-core/Kconfig:71: symbol V4L2_FWNODE is selected by VIDEO_OV8865
drivers/media/i2c/Kconfig:1036: symbol VIDEO_OV8865 depends on VIDEO_V4L2_SUBDEV_API
drivers/media/v4l2-core/Kconfig:19: symbol VIDEO_V4L2_SUBDEV_API depends on MEDIA_CONTROLLER
drivers/media/Kconfig:168: symbol MEDIA_CONTROLLER is selected by VIDEO_IMX214
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"
# https://github.com/0day-ci/linux/commit/aef022e7b2b7fca2cecab96bcbd6bca99...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review K-vin-L-h-pital/Support-of-MIPI-CSI-2-for-A83T-and-OV8865-camera/20200821-230356
git checkout aef022e7b2b7fca2cecab96bcbd6bca991163ab4
vim +741 drivers/media/i2c/Kconfig
32a363d0b0b142f Mauro Carvalho Chehab 2020-03-25 718
5c57ae64e8bccc6 Mauro Carvalho Chehab 2020-04-15 719 menu "Camera sensor devices"
5c57ae64e8bccc6 Mauro Carvalho Chehab 2020-04-15 720 visible if MEDIA_CAMERA_SUPPORT
f48fd1514212b5c Mauro Carvalho Chehab 2020-03-25 721
f48fd1514212b5c Mauro Carvalho Chehab 2020-03-25 722 config VIDEO_APTINA_PLL
f48fd1514212b5c Mauro Carvalho Chehab 2020-03-25 723 tristate
f48fd1514212b5c Mauro Carvalho Chehab 2020-03-25 724
f48fd1514212b5c Mauro Carvalho Chehab 2020-03-25 725 config VIDEO_SMIAPP_PLL
f48fd1514212b5c Mauro Carvalho Chehab 2020-03-25 726 tristate
f48fd1514212b5c Mauro Carvalho Chehab 2020-03-25 727
e62138403a841e4 Shawn Tu 2019-11-01 728 config VIDEO_HI556
e62138403a841e4 Shawn Tu 2019-11-01 729 tristate "Hynix Hi-556 sensor support"
32a363d0b0b142f Mauro Carvalho Chehab 2020-03-25 730 depends on I2C && VIDEO_V4L2
32a363d0b0b142f Mauro Carvalho Chehab 2020-03-25 731 select MEDIA_CONTROLLER
32a363d0b0b142f Mauro Carvalho Chehab 2020-03-25 732 select VIDEO_V4L2_SUBDEV_API
e62138403a841e4 Shawn Tu 2019-11-01 733 select V4L2_FWNODE
e62138403a841e4 Shawn Tu 2019-11-01 734 help
e62138403a841e4 Shawn Tu 2019-11-01 735 This is a Video4Linux2 sensor driver for the Hynix
e62138403a841e4 Shawn Tu 2019-11-01 736 Hi-556 camera.
e62138403a841e4 Shawn Tu 2019-11-01 737
e62138403a841e4 Shawn Tu 2019-11-01 738 To compile this driver as a module, choose M here: the
e62138403a841e4 Shawn Tu 2019-11-01 739 module will be called hi556.
e62138403a841e4 Shawn Tu 2019-11-01 740
4361905962417ef Ricardo Ribalda 2018-10-05 @741 config VIDEO_IMX214
4361905962417ef Ricardo Ribalda 2018-10-05 742 tristate "Sony IMX214 sensor support"
32a363d0b0b142f Mauro Carvalho Chehab 2020-03-25 743 depends on GPIOLIB && I2C && VIDEO_V4L2
4361905962417ef Ricardo Ribalda 2018-10-05 744 depends on V4L2_FWNODE
32a363d0b0b142f Mauro Carvalho Chehab 2020-03-25 745 select MEDIA_CONTROLLER
32a363d0b0b142f Mauro Carvalho Chehab 2020-03-25 746 select VIDEO_V4L2_SUBDEV_API
6de18fa3bd1dd51 Ian Kumlien 2020-02-26 747 select REGMAP_I2C
4361905962417ef Ricardo Ribalda 2018-10-05 748 help
4361905962417ef Ricardo Ribalda 2018-10-05 749 This is a Video4Linux2 sensor driver for the Sony
4361905962417ef Ricardo Ribalda 2018-10-05 750 IMX214 camera.
4361905962417ef Ricardo Ribalda 2018-10-05 751
4361905962417ef Ricardo Ribalda 2018-10-05 752 To compile this driver as a module, choose M here: the
4361905962417ef Ricardo Ribalda 2018-10-05 753 module will be called imx214.
4361905962417ef Ricardo Ribalda 2018-10-05 754
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
Re: [PATCH 3/7] media: i2c: Add support for the OV8865 image sensor
by kernel test robot
Hi "Kévin,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on sunxi/sunxi/for-next robh/for-next v5.9-rc1 next-20200821]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/K-vin-L-h-pital/Support-of-MIPI-...
base: git://linuxtv.org/media_tree.git master
config: xtensa-allyesconfig
compiler: xtensa-linux-gcc (GCC) 9.3.0
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
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=xtensa allyesconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=xtensa
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> drivers/media/i2c/Kconfig:741:error: recursive dependency detected!
drivers/media/i2c/Kconfig:741: symbol VIDEO_IMX214 depends on V4L2_FWNODE
drivers/media/v4l2-core/Kconfig:71: symbol V4L2_FWNODE is selected by VIDEO_OV8865
drivers/media/i2c/Kconfig:1036: symbol VIDEO_OV8865 depends on VIDEO_V4L2_SUBDEV_API
drivers/media/v4l2-core/Kconfig:19: symbol VIDEO_V4L2_SUBDEV_API depends on MEDIA_CONTROLLER
drivers/media/Kconfig:168: symbol MEDIA_CONTROLLER is selected by VIDEO_IMX214
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"
# https://github.com/0day-ci/linux/commit/aef022e7b2b7fca2cecab96bcbd6bca99...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review K-vin-L-h-pital/Support-of-MIPI-CSI-2-for-A83T-and-OV8865-camera/20200821-230356
git checkout aef022e7b2b7fca2cecab96bcbd6bca991163ab4
vim +741 drivers/media/i2c/Kconfig
32a363d0b0b142f Mauro Carvalho Chehab 2020-03-25 718
5c57ae64e8bccc6 Mauro Carvalho Chehab 2020-04-15 719 menu "Camera sensor devices"
5c57ae64e8bccc6 Mauro Carvalho Chehab 2020-04-15 720 visible if MEDIA_CAMERA_SUPPORT
f48fd1514212b5c Mauro Carvalho Chehab 2020-03-25 721
f48fd1514212b5c Mauro Carvalho Chehab 2020-03-25 722 config VIDEO_APTINA_PLL
f48fd1514212b5c Mauro Carvalho Chehab 2020-03-25 723 tristate
f48fd1514212b5c Mauro Carvalho Chehab 2020-03-25 724
f48fd1514212b5c Mauro Carvalho Chehab 2020-03-25 725 config VIDEO_SMIAPP_PLL
f48fd1514212b5c Mauro Carvalho Chehab 2020-03-25 726 tristate
f48fd1514212b5c Mauro Carvalho Chehab 2020-03-25 727
e62138403a841e4 Shawn Tu 2019-11-01 728 config VIDEO_HI556
e62138403a841e4 Shawn Tu 2019-11-01 729 tristate "Hynix Hi-556 sensor support"
32a363d0b0b142f Mauro Carvalho Chehab 2020-03-25 730 depends on I2C && VIDEO_V4L2
32a363d0b0b142f Mauro Carvalho Chehab 2020-03-25 731 select MEDIA_CONTROLLER
32a363d0b0b142f Mauro Carvalho Chehab 2020-03-25 732 select VIDEO_V4L2_SUBDEV_API
e62138403a841e4 Shawn Tu 2019-11-01 733 select V4L2_FWNODE
e62138403a841e4 Shawn Tu 2019-11-01 734 help
e62138403a841e4 Shawn Tu 2019-11-01 735 This is a Video4Linux2 sensor driver for the Hynix
e62138403a841e4 Shawn Tu 2019-11-01 736 Hi-556 camera.
e62138403a841e4 Shawn Tu 2019-11-01 737
e62138403a841e4 Shawn Tu 2019-11-01 738 To compile this driver as a module, choose M here: the
e62138403a841e4 Shawn Tu 2019-11-01 739 module will be called hi556.
e62138403a841e4 Shawn Tu 2019-11-01 740
4361905962417ef Ricardo Ribalda 2018-10-05 @741 config VIDEO_IMX214
4361905962417ef Ricardo Ribalda 2018-10-05 742 tristate "Sony IMX214 sensor support"
32a363d0b0b142f Mauro Carvalho Chehab 2020-03-25 743 depends on GPIOLIB && I2C && VIDEO_V4L2
4361905962417ef Ricardo Ribalda 2018-10-05 744 depends on V4L2_FWNODE
32a363d0b0b142f Mauro Carvalho Chehab 2020-03-25 745 select MEDIA_CONTROLLER
32a363d0b0b142f Mauro Carvalho Chehab 2020-03-25 746 select VIDEO_V4L2_SUBDEV_API
6de18fa3bd1dd51 Ian Kumlien 2020-02-26 747 select REGMAP_I2C
4361905962417ef Ricardo Ribalda 2018-10-05 748 help
4361905962417ef Ricardo Ribalda 2018-10-05 749 This is a Video4Linux2 sensor driver for the Sony
4361905962417ef Ricardo Ribalda 2018-10-05 750 IMX214 camera.
4361905962417ef Ricardo Ribalda 2018-10-05 751
4361905962417ef Ricardo Ribalda 2018-10-05 752 To compile this driver as a module, choose M here: the
4361905962417ef Ricardo Ribalda 2018-10-05 753 module will be called imx214.
4361905962417ef Ricardo Ribalda 2018-10-05 754
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
Re: [PATCH] spi: spi-fsl-dspi: Add ACPI support
by kernel test robot
Hi kuldip,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on spi/for-next]
[also build test WARNING on v5.9-rc1 next-20200821]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/kuldip-dwivedi/spi-spi-fsl-dspi-...
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
config: arm64-randconfig-r006-20200820 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project b587ca93be114d07ec3bf654add97d7872325281)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/spi/spi-fsl-dspi.c:1075:36: warning: unused variable 'fsl_dspi_acpi_ids' [-Wunused-const-variable]
static const struct acpi_device_id fsl_dspi_acpi_ids[] = {
^
1 warning generated.
# https://github.com/0day-ci/linux/commit/00b7c46d88c9150bd8225fce2b7b95e18...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review kuldip-dwivedi/spi-spi-fsl-dspi-Add-ACPI-support/20200821-211355
git checkout 00b7c46d88c9150bd8225fce2b7b95e186514e10
vim +/fsl_dspi_acpi_ids +1075 drivers/spi/spi-fsl-dspi.c
1074
> 1075 static const struct acpi_device_id fsl_dspi_acpi_ids[] = {
1076 { "NXP0005", .driver_data = (kernel_ulong_t)&devtype_data[LS2085A], },
1077 {},
1078 };
1079 MODULE_DEVICE_TABLE(acpi, fsl_dspi_acpi_ids);
1080
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[peterz-queue:locking/wip 10/11] arch/parisc/include/asm/irqflags.h:37:20: sparse: sparse: context imbalance in 'ring_buffer_peek' - different lock contexts for basic block
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/wip
head: 583d7628d9cd70c1a64ec044d9d9922cfb70023b
commit: b291ac3eff40ae4b869c9d1902acc0af3190176c [10/11] lockdep: Only trace IRQ edges
config: parisc-randconfig-s032-20200820 (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.2-191-g10164920-dirty
git checkout b291ac3eff40ae4b869c9d1902acc0af3190176c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
kernel/trace/ring_buffer.c:923:32: sparse: sparse: incorrect type in return expression (different base types) @@ expected restricted __poll_t @@ got int @@
kernel/trace/ring_buffer.c:923:32: sparse: expected restricted __poll_t
kernel/trace/ring_buffer.c:923:32: sparse: got int
kernel/trace/ring_buffer.c: note: in included file (through include/linux/irqflags.h, include/asm-generic/cmpxchg-local.h, arch/parisc/include/asm/cmpxchg.h, ...):
>> arch/parisc/include/asm/irqflags.h:37:20: sparse: sparse: context imbalance in 'ring_buffer_peek' - different lock contexts for basic block
>> arch/parisc/include/asm/irqflags.h:37:20: sparse: sparse: context imbalance in 'ring_buffer_consume' - different lock contexts for basic block
>> arch/parisc/include/asm/irqflags.h:37:20: sparse: sparse: context imbalance in 'ring_buffer_empty' - different lock contexts for basic block
>> arch/parisc/include/asm/irqflags.h:37:20: sparse: sparse: context imbalance in 'ring_buffer_empty_cpu' - different lock contexts for basic block
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?...
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue locking/wip
git checkout b291ac3eff40ae4b869c9d1902acc0af3190176c
vim +/ring_buffer_peek +37 arch/parisc/include/asm/irqflags.h
df9ee29270c11db David Howells 2010-10-07 36
df9ee29270c11db David Howells 2010-10-07 @37 static inline bool arch_irqs_disabled_flags(unsigned long flags)
df9ee29270c11db David Howells 2010-10-07 38 {
df9ee29270c11db David Howells 2010-10-07 39 return (flags & PSW_I) == 0;
df9ee29270c11db David Howells 2010-10-07 40 }
df9ee29270c11db David Howells 2010-10-07 41
:::::: The code at line 37 was first introduced by commit
:::::: df9ee29270c11dba7d0fe0b83ce47a4d8e8d2101 Fix IRQ flag handling naming
:::::: TO: David Howells <dhowells(a)redhat.com>
:::::: CC: David Howells <dhowells(a)redhat.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[chrome-os:chromeos-5.4 47/199] drivers/usb/dwc3/../host/xhci.h:1922: undefined reference to `usb_hcd_is_primary_hcd'
by kernel test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: c3927ddf5ac25bf02d2e880addf24b8f321281df
commit: 019b82a8838ce1601fa55ce41568a7e8569814fa [47/199] FROMLIST: usb: dwc3: core: Host wake up support from system suspend
config: x86_64-randconfig-r036-20200821 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
git checkout 019b82a8838ce1601fa55ce41568a7e8569814fa
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: drivers/usb/dwc3/core.o: in function `hcd_to_xhci':
>> drivers/usb/dwc3/../host/xhci.h:1922: undefined reference to `usb_hcd_is_primary_hcd'
ld: drivers/usb/dwc3/core.o: in function `dwc3_suspend_common':
>> drivers/usb/dwc3/core.c:1645: undefined reference to `usb_wakeup_enabled_descendants'
git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.4
git checkout 019b82a8838ce1601fa55ce41568a7e8569814fa
vim +1922 drivers/usb/dwc3/../host/xhci.h
79b8094f60d8ce5 Lu Baolu 2015-08-06 1916
74c6874199af98e Sarah Sharp 2009-04-27 1917 /* convert between an HCD pointer and the corresponding EHCI_HCD */
74c6874199af98e Sarah Sharp 2009-04-27 1918 static inline struct xhci_hcd *hcd_to_xhci(struct usb_hcd *hcd)
74c6874199af98e Sarah Sharp 2009-04-27 1919 {
cd33a32157e4248 Roger Quadros 2015-05-29 1920 struct usb_hcd *primary_hcd;
cd33a32157e4248 Roger Quadros 2015-05-29 1921
cd33a32157e4248 Roger Quadros 2015-05-29 @1922 if (usb_hcd_is_primary_hcd(hcd))
cd33a32157e4248 Roger Quadros 2015-05-29 1923 primary_hcd = hcd;
cd33a32157e4248 Roger Quadros 2015-05-29 1924 else
cd33a32157e4248 Roger Quadros 2015-05-29 1925 primary_hcd = hcd->primary_hcd;
cd33a32157e4248 Roger Quadros 2015-05-29 1926
cd33a32157e4248 Roger Quadros 2015-05-29 1927 return (struct xhci_hcd *) (primary_hcd->hcd_priv);
74c6874199af98e Sarah Sharp 2009-04-27 1928 }
74c6874199af98e Sarah Sharp 2009-04-27 1929
:::::: The code at line 1922 was first introduced by commit
:::::: cd33a32157e42483ffea31e32b1cee4f11ff9592 usb: xhci: cleanup xhci_hcd allocation
:::::: TO: Roger Quadros <rogerq(a)ti.com>
:::::: CC: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
Re: [PATCH 1/7] MIPS: sync-r4k: Rework to be many cores firendly
by kernel test robot
Hi Jiaxun,
I love your patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v5.9-rc1 next-20200821]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Jiaxun-Yang/R4000-clock-enhancem...
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
config: mips-randconfig-r014-20200820 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project b587ca93be114d07ec3bf654add97d7872325281)
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
# 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(a)intel.com>
All warnings (new ones prefixed by >>):
>> arch/mips/kernel/sync-r4k.c:28:6: warning: no previous prototype for function 'synchronise_count_master' [-Wmissing-prototypes]
void synchronise_count_master(void *unused)
^
arch/mips/kernel/sync-r4k.c:28:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void synchronise_count_master(void *unused)
^
static
1 warning generated.
# https://github.com/0day-ci/linux/commit/6c760a310d6f07efede56e732f3de2e2a...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jiaxun-Yang/R4000-clock-enhancements-for-Loongson/20200817-115351
git checkout 6c760a310d6f07efede56e732f3de2e2a944e361
vim +/synchronise_count_master +28 arch/mips/kernel/sync-r4k.c
27
> 28 void synchronise_count_master(void *unused)
29 {
30 unsigned long flags;
31 long delta;
32 int i;
33
34 if (atomic_read(&sync_stage) != STAGE_START)
35 BUG();
36
37 local_irq_save(flags);
38
39 cur_count = read_c0_count();
40 smp_wmb();
41 atomic_inc(&sync_stage); /* inc to STAGE_MASTER_READY */
42
43 for (i = 0; i < MAX_LOOPS; i++) {
44 cur_count = read_c0_count();
45 smp_wmb();
46 if (atomic_read(&sync_stage) == STAGE_SLAVE_SYNCED)
47 break;
48 }
49
50 delta = read_c0_count() - fini_count;
51
52 local_irq_restore(flags);
53
54 if (i == MAX_LOOPS)
55 pr_err("sync-r4k: Master: synchronise timeout\n");
56 else
57 pr_info("sync-r4k: Master: synchronise succeed, maximum delta: %ld\n", delta);
58
59 return;
60 }
61
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years