[next] riscv: sifive/fu540-c000.dtsi:171.4-42: ERROR (duplicate_property_names): /soc/dma at 3000000:compatible: Duplicate property name

Naresh Kamboju naresh.kamboju at linaro.org
Thu Apr 21 03:49:04 PDT 2022


Linux next-20220421 riscv defconfig builds failed [1].

Regressions found on riscv:

   - riscv-clang-13-defconfig
   - riscv-clang-12-defconfig
   - riscv-gcc-10-defconfig
   - riscv-clang-nightly-defconfig
   - riscv-clang-11-defconfig
   - riscv-gcc-8-defconfig
   - riscv-clang-14-defconfig
   - riscv-gcc-9-defconfig
   - riscv-gcc-11-defconfig

arch/riscv/boot/dts/sifive/fu540-c000.dtsi:171.4-42: ERROR
(duplicate_property_names): /soc/dma at 3000000:compatible: Duplicate
property name
ERROR: Input tree has errors, aborting (use -f to force output)
make[3]: *** [scripts/Makefile.lib:376:
arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dtb] Error 2

drivers/pci/pci-driver.c:533:12: warning:
'pci_restore_standard_config' defined but not used [-Wunused-function]
  533 | static int pci_restore_standard_config(struct pci_dev *pci_dev)
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Target '__all' not remade because of errors.
make: *** [Makefile:226: __sub-make] Error 2


Reported-by: Linux Kernel Functional Testing <lkft at linaro.org>

The recent patch on this file.
I will run my bisect script and get back to you.
---
riscv: dts: Add dma-channels property and modify compatible


Add dma-channels property, then we can determine how many channels there
by device tree, in addition, we add the pdma versioning scheme for
compatible.

Signed-off-by: Zong Li <zong.li at sifive.com>
Reviewed-by: Palmer Dabbelt <palmer at rivosinc.com>
Acked-by: Palmer Dabbelt <palmer at rivosinc.com>
Acked-by: Conor Dooley <conor.dooley at microchip.com>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
Signed-off-by: Palmer Dabbelt <palmer at rivosinc.com>

Steps to reproduce:
------------------
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.
# Original tuxmake command with fragments listed below.

tuxmake --runtime podman --target-arch riscv --toolchain gcc-11
--kconfig defconfig


--
Linaro LKFT
https://lkft.linaro.org

[1] https://builds.tuxbuild.com/2868anlKwTP8aavo19LT6KRIq1T/



More information about the linux-riscv mailing list