[stable-rc queue/5/15 ]: rk3568-evb1-v10.dts:10:10: fatal error: rk3568.dtsi: No such file or directory

From: Naresh Kamboju
Date: Mon Nov 15 2021 - 01:56:16 EST


Following build warnings/ errors noticed on Linux stable-rc queue/5.15 branch.
with gcc-11 for arm64 architecture.

arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi:464.3-52: Warning
(pci_device_reg): /pcie@f8000000/pcie@0,0:reg: PCI reg address is not
configuration space
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi:464.3-52: Warning
(pci_device_reg): /pcie@f8000000/pcie@0,0:reg: PCI reg address is not
configuration space
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi:464.3-52: Warning
(pci_device_reg): /pcie@f8000000/pcie@0,0:reg: PCI reg address is not
configuration space
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi:464.3-52: Warning
(pci_device_reg): /pcie@f8000000/pcie@0,0:reg: PCI reg address is not
configuration space
arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts:10:10: fatal error:
rk3568.dtsi: No such file or directory
10 | #include rk3568.dtsi
| ^~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.lib:358:
arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dtb] Error 1

The first bad commit:
--------
arm64: dts: rockchip: move rk3568 dtsi to rk356x dtsi
[ Upstream commit 4e50d2173b67115a5574f4f4ce64ec9c5d9c136e ]

In preparation for separating the rk3568 and rk3566 device trees, move
the base rk3568 dtsi to rk356x dtsi.
This will allow us to strip out the rk3568 specific nodes.

Signed-off-by: Peter Geis <pgwipeout@xxxxxxxxx>
Link: https://lore.kernel.org/r/20210710151034.32857-2-pgwipeout@xxxxxxxxx
Signed-off-by: Heiko Stuebner <heiko@xxxxxxxxx>
Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx



Build config:
https://builds.tuxbuild.com/20wHY13986hVAE9j4Kwxq4C8JUX/config

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

meta data:
-----------
git_describe: v5.15.2-851-g750602323c68
git_ref:
git_repo: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc-queues
git_sha: 750602323c68ab51f3b65c59efc4289a7e7c60f9
git_short_log: 750602323c68 (\thermal: int340x: fix build on
32-bit targets\)
kernel_version: 5.15.2
target_arch: arm64
toolchain: gcc-11
kconfig: [
defconfig,
https://raw.githubusercontent.com/Linaro/meta-lkft/sumo/recipes-kernel/linux/files/lkft.config,
https://raw.githubusercontent.com/Linaro/meta-lkft/sumo/recipes-kernel/linux/files/lkft-crypto.config,
https://raw.githubusercontent.com/Linaro/meta-lkft/sumo/recipes-kernel/linux/files/distro-overrides.config,
https://raw.githubusercontent.com/Linaro/meta-lkft/sumo/recipes-kernel/linux/files/systemd.config,
https://raw.githubusercontent.com/Linaro/meta-lkft/sumo/recipes-kernel/linux/files/virtio.config,
CONFIG_ARM64_MODULE_PLTS=y,
CONFIG_SYN_COOKIES=y
],

steps to reproduce:
tuxmake --runtime podman --target-arch arm64 --toolchain gcc-11
--kconfig defconfig \
--kconfig-add https://builds.tuxbuild.com/20wHY13986hVAE9j4Kwxq4C8JUX/config

https://builds.tuxbuild.com/20wHY13986hVAE9j4Kwxq4C8JUX/tuxmake_reproducer.sh

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