RE: arch/arm64/boot/dts/renesas/r9a07g043u.dtsi:85.11-94.6: Warning (graph_child_address): /soc/video@10830000/ports/port@1: graph node has single child node 'endpoint@0', #address-cells/#size-cells are not necessary

From: Biju Das
Date: Sun Jun 09 2024 - 05:17:00 EST


Hi Philip Li,

Thanks for the feedback.

> -----Original Message-----
> From: Philip Li <philip.li@xxxxxxxxx>
> Sent: Sunday, June 9, 2024 6:20 AM
> Subject: Re: arch/arm64/boot/dts/renesas/r9a07g043u.dtsi:85.11-94.6: Warning (graph_child_address):
> /soc/video@10830000/ports/port@1: graph node has single child node 'endpoint@0', #address-
> cells/#size-cells are not necessary
>
> On Sat, Jun 08, 2024 at 08:42:56AM +0000, Biju Das wrote:
> > Hi All,
> >
> > > -----Original Message-----
> > > From: kernel test robot <lkp@xxxxxxxxx>
> > > Sent: Saturday, June 8, 2024 6:37 AM
> > > To: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> > > Cc: oe-kbuild-all@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
> > > Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> > > Subject: arch/arm64/boot/dts/renesas/r9a07g043u.dtsi:85.11-94.6: Warning (graph_child_address):
> > > /soc/video@10830000/ports/port@1: graph node has single child node
> > > 'endpoint@0', #address- cells/#size-cells are not necessary
> > >
> > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > > head: dc772f8237f9b0c9ea3f34d0dc4a57d1f6a5070d
> > > commit: 971c17f879352adc719ff215e0769f8e0a49d7c4 arm64: dts:
> > > renesas: r9a07g043u: Add CSI and CRU nodes
> > > date: 4 months ago
> > > compiler: aarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build):
> > > (https://download.01.org/0day-ci/archive/20240608/202406081329.snoMr
> > > ZsJ-lkp@xxxxxxxxx/reproduce)
> >
> > As per this,
> > dasb@ree-du1sdd5:~/lkp-tests$ mkdir build_dir && cp config
> > build_dir/.config
> > cp: cannot stat 'config': No such file or directory
>
> sorry, looks this is confusing to "cp config build_dir/.config" as there's no .config for this
> case. We will fix the reproduce step.

OK.

>
> >
> > So I have generated .config and copied as config
> >
> > Than I got the the below issue,
> > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-13.2.0
> > ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=arm64 olddefconfig
> > -bash: /data/dasb/lkp-tests/kbuild/make.cross: No such file or
> > directory
>
> Is it possible the lkp-tests is not up to date? the make.cross code was uploaded recently.

Yes, lkp-tests are not up to date with the master branch with respect to branch created using steps to reproduce
instruction.

So manually copied the below files from master branch.

cp ~/lkp-tests/kbuild/make.cross_bk ~/lkp-tests/kbuild/make.cross
cp /data/dasb/lkp-tests/kbuild/kbuild.sh_bk /data/dasb/lkp-tests/kbuild/kbuild.shs
cp -rf /data/dasb/lkp-tests/kbuild-bk/etc/ /data/dasb/lkp-tests/kbuild/

>
> >
> > Can you please provide the details how to get this tool chain?
> >
> > So that I can reproduce and fix the issue in same environment.
>
> You can try below steps (without the cp .config)
>
> $ mkdir build_dir
> $ COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-13.2.0 ~/lkp-tests/kbuild/make.cross W=1
> O=build_dir ARCH=arm64 olddefconfig $ COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-13.2.0 ~/lkp-
> tests/kbuild/make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash

I can reproduce the issue now with lkp-tests environment

../arch/arm64/boot/dts/renesas/r9a07g043u.dtsi:85.11-94.6: Warning (graph_child_address): /soc/video@10830000/ports/port@1: graph node has single child node 'endpoint@0', #address-cells/#size-cells are not necessary
../arch/arm64/boot/dts/renesas/r9a07g043u.dtsi:120.11-129.6: Warning (graph_child_address): /soc/csi2@10830400/ports/port@1: graph node has single child node 'endpoint@0', #address-cells/#size-cells are not necessary

Cheers,
Biju