[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202509272140.wYFpHZfD-lkp@intel.com>
Date: Sat, 27 Sep 2025 22:01:45 +0800
From: kernel test robot <lkp@...el.com>
To: Konrad Dybcio <konradybcio@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Rajendra Nayak <quic_rjendra@...cinc.com>,
Wesley Cheng <wesley.cheng@....qualcomm.com>,
Bryan O'Donoghue <bryan.odonoghue@...aro.org>,
Sibi Sankar <quic_sibis@...cinc.com>,
Abel Vesa <abel.vesa@...aro.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-arm-msm@...r.kernel.org,
linux-clk@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/3] clk: qcom: gcc-x1e80100: Add missing USB4
clocks/resets
Hi Konrad,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 8e2755d7779a95dd61d8997ebce33ff8b1efd3fb]
url: https://github.com/intel-lab-lkp/linux/commits/Konrad-Dybcio/dt-bindings-clock-qcom-x1e80100-gcc-Add-missing-USB4-clocks-resets/20250926-200520
base: 8e2755d7779a95dd61d8997ebce33ff8b1efd3fb
patch link: https://lore.kernel.org/r/20250926-topic-hamoa_gcc_usb4-v1-2-25cad1700829%40oss.qualcomm.com
patch subject: [PATCH 2/3] clk: qcom: gcc-x1e80100: Add missing USB4 clocks/resets
config: riscv-randconfig-002-20250927 (https://download.01.org/0day-ci/archive/20250927/202509272140.wYFpHZfD-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250927/202509272140.wYFpHZfD-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202509272140.wYFpHZfD-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/clk/qcom/gcc-x1e80100.c:580:32: warning: 'gcc_parent_map_33' defined but not used [-Wunused-const-variable=]
580 | static const struct parent_map gcc_parent_map_33[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-x1e80100.c:570:32: warning: 'gcc_parent_map_32' defined but not used [-Wunused-const-variable=]
570 | static const struct parent_map gcc_parent_map_32[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-x1e80100.c:560:32: warning: 'gcc_parent_map_31' defined but not used [-Wunused-const-variable=]
560 | static const struct parent_map gcc_parent_map_31[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-x1e80100.c:550:32: warning: 'gcc_parent_map_30' defined but not used [-Wunused-const-variable=]
550 | static const struct parent_map gcc_parent_map_30[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-x1e80100.c:540:32: warning: 'gcc_parent_map_29' defined but not used [-Wunused-const-variable=]
540 | static const struct parent_map gcc_parent_map_29[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-x1e80100.c:530:32: warning: 'gcc_parent_map_28' defined but not used [-Wunused-const-variable=]
530 | static const struct parent_map gcc_parent_map_28[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-x1e80100.c:520:32: warning: 'gcc_parent_map_27' defined but not used [-Wunused-const-variable=]
520 | static const struct parent_map gcc_parent_map_27[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-x1e80100.c:510:32: warning: 'gcc_parent_map_26' defined but not used [-Wunused-const-variable=]
510 | static const struct parent_map gcc_parent_map_26[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-x1e80100.c:500:32: warning: 'gcc_parent_map_25' defined but not used [-Wunused-const-variable=]
500 | static const struct parent_map gcc_parent_map_25[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-x1e80100.c:490:32: warning: 'gcc_parent_map_24' defined but not used [-Wunused-const-variable=]
490 | static const struct parent_map gcc_parent_map_24[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-x1e80100.c:480:32: warning: 'gcc_parent_map_23' defined but not used [-Wunused-const-variable=]
480 | static const struct parent_map gcc_parent_map_23[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-x1e80100.c:470:32: warning: 'gcc_parent_map_22' defined but not used [-Wunused-const-variable=]
470 | static const struct parent_map gcc_parent_map_22[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-x1e80100.c:460:32: warning: 'gcc_parent_map_21' defined but not used [-Wunused-const-variable=]
460 | static const struct parent_map gcc_parent_map_21[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-x1e80100.c:450:32: warning: 'gcc_parent_map_20' defined but not used [-Wunused-const-variable=]
450 | static const struct parent_map gcc_parent_map_20[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-x1e80100.c:440:32: warning: 'gcc_parent_map_19' defined but not used [-Wunused-const-variable=]
440 | static const struct parent_map gcc_parent_map_19[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-x1e80100.c:430:32: warning: 'gcc_parent_map_18' defined but not used [-Wunused-const-variable=]
430 | static const struct parent_map gcc_parent_map_18[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-x1e80100.c:420:32: warning: 'gcc_parent_map_17' defined but not used [-Wunused-const-variable=]
420 | static const struct parent_map gcc_parent_map_17[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-x1e80100.c:410:32: warning: 'gcc_parent_map_16' defined but not used [-Wunused-const-variable=]
410 | static const struct parent_map gcc_parent_map_16[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-x1e80100.c:400:32: warning: 'gcc_parent_map_15' defined but not used [-Wunused-const-variable=]
400 | static const struct parent_map gcc_parent_map_15[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-x1e80100.c:390:32: warning: 'gcc_parent_map_14' defined but not used [-Wunused-const-variable=]
390 | static const struct parent_map gcc_parent_map_14[] = {
| ^~~~~~~~~~~~~~~~~
drivers/clk/qcom/gcc-x1e80100.c:380:32: warning: 'gcc_parent_map_13' defined but not used [-Wunused-const-variable=]
380 | static const struct parent_map gcc_parent_map_13[] = {
| ^~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for ARCH_HAS_ELF_CORE_EFLAGS
Depends on [n]: BINFMT_ELF [=n] && ELF_CORE [=y]
Selected by [y]:
- RISCV [=y]
vim +/gcc_parent_map_33 +580 drivers/clk/qcom/gcc-x1e80100.c
389
> 390 static const struct parent_map gcc_parent_map_14[] = {
391 { P_GCC_USB4_0_PHY_DP1_GMUX_CLK_SRC, 0 },
392 { P_USB4_0_PHY_GCC_USB4RTR_MAX_PIPE_CLK, 2 },
393 };
394
395 static const struct clk_parent_data gcc_parent_data_14[] = {
396 { .index = DT_GCC_USB4_0_PHY_DP1_GMUX_CLK_SRC },
397 { .index = DT_USB4_0_PHY_GCC_USB4RTR_MAX_PIPE_CLK },
398 };
399
> 400 static const struct parent_map gcc_parent_map_15[] = {
401 { P_USB4_0_PHY_GCC_USB4_PCIE_PIPE_CLK, 0 },
402 { P_BI_TCXO, 2 },
403 };
404
405 static const struct clk_parent_data gcc_parent_data_15[] = {
406 { .index = DT_USB4_0_PHY_GCC_USB4_PCIE_PIPE_CLK },
407 { .index = DT_BI_TCXO },
408 };
409
> 410 static const struct parent_map gcc_parent_map_16[] = {
411 { P_GCC_USB4_0_PHY_PCIE_PIPEGMUX_CLK_SRC, 0 },
412 { P_USB4_0_PHY_GCC_USB4_PCIE_PIPE_CLK, 1 },
413 };
414
415 static const struct clk_parent_data gcc_parent_data_16[] = {
416 { .index = DT_GCC_USB4_0_PHY_PCIE_PIPEGMUX_CLK_SRC },
417 { .index = DT_USB4_0_PHY_GCC_USB4_PCIE_PIPE_CLK },
418 };
419
> 420 static const struct parent_map gcc_parent_map_17[] = {
421 { P_QUSB4PHY_0_GCC_USB4_RX0_CLK, 0 },
422 { P_BI_TCXO, 2 },
423 };
424
425 static const struct clk_parent_data gcc_parent_data_17[] = {
426 { .index = DT_QUSB4PHY_0_GCC_USB4_RX0_CLK },
427 { .index = DT_BI_TCXO },
428 };
429
> 430 static const struct parent_map gcc_parent_map_18[] = {
431 { P_QUSB4PHY_0_GCC_USB4_RX1_CLK, 0 },
432 { P_BI_TCXO, 2 },
433 };
434
435 static const struct clk_parent_data gcc_parent_data_18[] = {
436 { .index = DT_QUSB4PHY_0_GCC_USB4_RX1_CLK },
437 { .index = DT_BI_TCXO },
438 };
439
> 440 static const struct parent_map gcc_parent_map_19[] = {
441 { P_GCC_USB4_0_PHY_SYS_PIPEGMUX_CLK_SRC, 0 },
442 { P_USB4_0_PHY_GCC_USB4_PCIE_PIPE_CLK, 2 },
443 };
444
445 static const struct clk_parent_data gcc_parent_data_19[] = {
446 { .index = DT_GCC_USB4_0_PHY_SYS_PIPEGMUX_CLK_SRC },
447 { .index = DT_USB4_0_PHY_GCC_USB4_PCIE_PIPE_CLK },
448 };
449
> 450 static const struct parent_map gcc_parent_map_20[] = {
451 { P_GCC_USB4_1_PHY_DP0_GMUX_CLK_SRC, 0 },
452 { P_USB4_1_PHY_GCC_USB4RTR_MAX_PIPE_CLK, 2 },
453 };
454
455 static const struct clk_parent_data gcc_parent_data_20[] = {
456 { .index = DT_GCC_USB4_1_PHY_DP0_GMUX_CLK_SRC },
457 { .index = DT_USB4_1_PHY_GCC_USB4RTR_MAX_PIPE_CLK },
458 };
459
> 460 static const struct parent_map gcc_parent_map_21[] = {
461 { P_GCC_USB4_1_PHY_DP1_GMUX_CLK_SRC, 0 },
462 { P_USB4_1_PHY_GCC_USB4RTR_MAX_PIPE_CLK, 2 },
463 };
464
465 static const struct clk_parent_data gcc_parent_data_21[] = {
466 { .index = DT_GCC_USB4_1_PHY_DP1_GMUX_CLK_SRC },
467 { .index = DT_USB4_1_PHY_GCC_USB4RTR_MAX_PIPE_CLK },
468 };
469
> 470 static const struct parent_map gcc_parent_map_22[] = {
471 { P_USB4_1_PHY_GCC_USB4_PCIE_PIPE_CLK, 0 },
472 { P_BI_TCXO, 2 },
473 };
474
475 static const struct clk_parent_data gcc_parent_data_22[] = {
476 { .index = DT_USB4_1_PHY_GCC_USB4_PCIE_PIPE_CLK },
477 { .index = DT_BI_TCXO },
478 };
479
> 480 static const struct parent_map gcc_parent_map_23[] = {
481 { P_GCC_USB4_1_PHY_PCIE_PIPEGMUX_CLK_SRC, 0 },
482 { P_USB4_1_PHY_GCC_USB4_PCIE_PIPE_CLK, 1 },
483 };
484
485 static const struct clk_parent_data gcc_parent_data_23[] = {
486 { .index = DT_GCC_USB4_1_PHY_PCIE_PIPEGMUX_CLK_SRC },
487 { .index = DT_USB4_1_PHY_GCC_USB4_PCIE_PIPE_CLK },
488 };
489
> 490 static const struct parent_map gcc_parent_map_24[] = {
491 { P_QUSB4PHY_1_GCC_USB4_RX0_CLK, 0 },
492 { P_BI_TCXO, 2 },
493 };
494
495 static const struct clk_parent_data gcc_parent_data_24[] = {
496 { .index = DT_QUSB4PHY_1_GCC_USB4_RX0_CLK },
497 { .index = DT_BI_TCXO },
498 };
499
> 500 static const struct parent_map gcc_parent_map_25[] = {
501 { P_QUSB4PHY_1_GCC_USB4_RX1_CLK, 0 },
502 { P_BI_TCXO, 2 },
503 };
504
505 static const struct clk_parent_data gcc_parent_data_25[] = {
506 { .index = DT_QUSB4PHY_1_GCC_USB4_RX1_CLK },
507 { .index = DT_BI_TCXO },
508 };
509
> 510 static const struct parent_map gcc_parent_map_26[] = {
511 { P_GCC_USB4_1_PHY_SYS_PIPEGMUX_CLK_SRC, 0 },
512 { P_USB4_1_PHY_GCC_USB4_PCIE_PIPE_CLK, 2 },
513 };
514
515 static const struct clk_parent_data gcc_parent_data_26[] = {
516 { .index = DT_GCC_USB4_1_PHY_SYS_PIPEGMUX_CLK_SRC },
517 { .index = DT_USB4_1_PHY_GCC_USB4_PCIE_PIPE_CLK },
518 };
519
> 520 static const struct parent_map gcc_parent_map_27[] = {
521 { P_GCC_USB4_2_PHY_DP0_GMUX_CLK_SRC, 0 },
522 { P_USB4_2_PHY_GCC_USB4RTR_MAX_PIPE_CLK, 2 },
523 };
524
525 static const struct clk_parent_data gcc_parent_data_27[] = {
526 { .index = DT_GCC_USB4_2_PHY_DP0_GMUX_CLK_SRC },
527 { .index = DT_USB4_2_PHY_GCC_USB4RTR_MAX_PIPE_CLK },
528 };
529
> 530 static const struct parent_map gcc_parent_map_28[] = {
531 { P_GCC_USB4_2_PHY_DP1_GMUX_CLK_SRC, 0 },
532 { P_USB4_2_PHY_GCC_USB4RTR_MAX_PIPE_CLK, 2 },
533 };
534
535 static const struct clk_parent_data gcc_parent_data_28[] = {
536 { .index = DT_GCC_USB4_2_PHY_DP1_GMUX_CLK_SRC },
537 { .index = DT_USB4_2_PHY_GCC_USB4RTR_MAX_PIPE_CLK },
538 };
539
> 540 static const struct parent_map gcc_parent_map_29[] = {
541 { P_USB4_2_PHY_GCC_USB4_PCIE_PIPE_CLK, 0 },
542 { P_BI_TCXO, 2 },
543 };
544
545 static const struct clk_parent_data gcc_parent_data_29[] = {
546 { .index = DT_USB4_2_PHY_GCC_USB4_PCIE_PIPE_CLK },
547 { .index = DT_BI_TCXO },
548 };
549
> 550 static const struct parent_map gcc_parent_map_30[] = {
551 { P_GCC_USB4_2_PHY_PCIE_PIPEGMUX_CLK_SRC, 0 },
552 { P_USB4_2_PHY_GCC_USB4_PCIE_PIPE_CLK, 1 },
553 };
554
555 static const struct clk_parent_data gcc_parent_data_30[] = {
556 { .index = DT_GCC_USB4_2_PHY_PCIE_PIPEGMUX_CLK_SRC },
557 { .index = DT_USB4_2_PHY_GCC_USB4_PCIE_PIPE_CLK },
558 };
559
> 560 static const struct parent_map gcc_parent_map_31[] = {
561 { P_QUSB4PHY_2_GCC_USB4_RX0_CLK, 0 },
562 { P_BI_TCXO, 2 },
563 };
564
565 static const struct clk_parent_data gcc_parent_data_31[] = {
566 { .index = DT_QUSB4PHY_2_GCC_USB4_RX0_CLK },
567 { .index = DT_BI_TCXO },
568 };
569
> 570 static const struct parent_map gcc_parent_map_32[] = {
571 { P_QUSB4PHY_2_GCC_USB4_RX1_CLK, 0 },
572 { P_BI_TCXO, 2 },
573 };
574
575 static const struct clk_parent_data gcc_parent_data_32[] = {
576 { .index = DT_QUSB4PHY_2_GCC_USB4_RX1_CLK },
577 { .index = DT_BI_TCXO },
578 };
579
> 580 static const struct parent_map gcc_parent_map_33[] = {
581 { P_GCC_USB4_2_PHY_SYS_PIPEGMUX_CLK_SRC, 0 },
582 { P_USB4_2_PHY_GCC_USB4_PCIE_PIPE_CLK, 2 },
583 };
584
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists