Skip to contentSkip to conversation

linux-next: build warnings after merge of the ti tree

DISCUSSION Stephen Rothwell 5 participants 7 messages Oct 5, 2023 – Oct 6, 2023 Linux-next tree

lore
Share & tools
lore
#2 lore raw
In reply to Raghavendra, Vignesh

Hi,

Quoted 20 lines · Vignesh

+ Rob and DT list

Hi Stephen

Quoted 7 lines · Stephen Rothwell

Hi all,

[I may have missed this yesterday, sorry]

After merging the ti tree, today's linux-next build (arm64 defconfig) produced these warnings:

Quoted 7 lines

arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso:65.8-140.3: Warning (avoid_default_addr_size): /fragment@3/__overlay__: Relying on default #address-cells value arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso:65.8-140.3: Warning (avoid_default_addr_size): /fragment@3/__overlay__: Relying on default #size-cells value

Introduced by commit

45a0c06571e1 ("arm64: dts: ti: am642-evm: Add overlay for NAND expansion card")

Quoted 6 lines

Thanks for the report. I will drop the offending comment.

Roger,

Sorry, this would need to be fixed in dtc or need exception from DT maintainers to ignore the warnings.

Please don't drop this patch as the issue is not with the patch but with the dtc tool itself.

As this is a DT overlay there is no way to specify address-cells/size-cells of parent here. This will be resolved only after merge with base tree.

This will be fixed in next dtc sync.
https://www.spinics.net/lists/devicetree-compiler/msg04036.html

See further discussion here
https://lore.kernel.org/all/CAL_JsqLmv904+_2EOmsQ__y1yLDvsT+_02i85phuh0cpe7X8NQ@mail.gmail.com/

Signature · 2 lines
cheers,
-roger
#0 lore raw

Hi all,

[I may have missed this yesterday, sorry]

After merging the ti tree, today's linux-next build (arm64 defconfig) produced these warnings:

arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso:65.8-140.3: Warning (avoid_default_addr_size): /fragment@3/__overlay__: Relying on default #address-cells value arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso:65.8-140.3: Warning (avoid_default_addr_size): /fragment@3/__overlay__: Relying on default #size-cells value

Introduced by commit

45a0c06571e1 ("arm64: dts: ti: am642-evm: Add overlay for NAND expansion card")

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw
In reply to Roger Quadros
Quoted 33 lines · Roger Quadros

Hi,

Quoted 20 lines · Vignesh

+ Rob and DT list

Hi Stephen

Quoted 7 lines · Stephen Rothwell

Hi all,

[I may have missed this yesterday, sorry]

After merging the ti tree, today's linux-next build (arm64 defconfig) produced these warnings:

Quoted 7 lines

arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso:65.8-140.3: Warning (avoid_default_addr_size): /fragment@3/__overlay__: Relying on default #address-cells value arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso:65.8-140.3: Warning (avoid_default_addr_size): /fragment@3/__overlay__: Relying on default #size-cells value

Introduced by commit

45a0c06571e1 ("arm64: dts: ti: am642-evm: Add overlay for NAND expansion card")

Quoted 6 lines

Thanks for the report. I will drop the offending comment.

Roger,

Sorry, this would need to be fixed in dtc or need exception from DT maintainers to ignore the warnings.

Please don't drop this patch as the issue is not with the patch but with the dtc tool itself.

Quoted 9 lines

As this is a DT overlay there is no way to specify address-cells/size-cells of parent here. This will be resolved only after merge with base tree.

This will be fixed in next dtc sync.
https://www.spinics.net/lists/devicetree-compiler/msg04036.html

See further discussion here
https://lore.kernel.org/all/CAL_JsqLmv904+_2EOmsQ__y1yLDvsT+_02i85phuh0cpe7X8NQ@mail.gmail.com/

Roger, build warnings are a strict NO,NO for kernel. Lets bring in the series *after* the dtc sync is complete.

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
#4 lore raw
In reply to Nishanth Menon
Quoted 40 lines · Nishanth Menon
Quoted 39 lines · Roger Quadros

Hi,

Quoted 20 lines · Vignesh

+ Rob and DT list

Hi Stephen

Quoted 7 lines · Stephen Rothwell

Hi all,

[I may have missed this yesterday, sorry]

After merging the ti tree, today's linux-next build (arm64 defconfig) produced these warnings:

Quoted 7 lines

arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso:65.8-140.3: Warning (avoid_default_addr_size): /fragment@3/__overlay__: Relying on default #address-cells value arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso:65.8-140.3: Warning (avoid_default_addr_size): /fragment@3/__overlay__: Relying on default #size-cells value

Introduced by commit

45a0c06571e1 ("arm64: dts: ti: am642-evm: Add overlay for NAND expansion card")

Quoted 6 lines

Thanks for the report. I will drop the offending comment.

Roger,

Sorry, this would need to be fixed in dtc or need exception from DT maintainers to ignore the warnings.

Please don't drop this patch as the issue is not with the patch but with the dtc tool itself.

As this is a DT overlay there is no way to specify address-cells/size-cells of parent here. This will be resolved only after merge with base tree.

This will be fixed in next dtc sync.
https://www.spinics.net/lists/devicetree-compiler/msg04036.html

Quoted 7 lines
Quoted 3 lines

See further discussion here
https://lore.kernel.org/all/CAL_JsqLmv904+_2EOmsQ__y1yLDvsT+_02i85phuh0cpe7X8NQ@mail.gmail.com/

Roger, build warnings are a strict NO,NO for kernel. Lets bring in the series *after* the dtc sync is complete.

Hi Rob,

Following commit from dtc is required to resolve this issue.

afbddcd418fb ("Suppress warnings on overlay fragments")

FYI. Another patch of similar nature is on its way and will also require the above commit to DTC.
https://lore.kernel.org/all/[email protected]/

Signature · 2 lines
cheers,
-roger
#5 lore raw
Quoted 52 lines · Roger Quadros
Quoted 40 lines · Nishanth Menon
Quoted 39 lines · Roger Quadros

Hi,

Quoted 20 lines · Vignesh

+ Rob and DT list

Hi Stephen

Quoted 7 lines · Stephen Rothwell

Hi all,

[I may have missed this yesterday, sorry]

After merging the ti tree, today's linux-next build (arm64 defconfig) produced these warnings:

Quoted 7 lines

arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso:65.8-140.3: Warning (avoid_default_addr_size): /fragment@3/__overlay__: Relying on default #address-cells value arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso:65.8-140.3: Warning (avoid_default_addr_size): /fragment@3/__overlay__: Relying on default #size-cells value

Introduced by commit

45a0c06571e1 ("arm64: dts: ti: am642-evm: Add overlay for NAND expansion card")

Quoted 6 lines

Thanks for the report. I will drop the offending comment.

Roger,

Sorry, this would need to be fixed in dtc or need exception from DT maintainers to ignore the warnings.

Please don't drop this patch as the issue is not with the patch but with the dtc tool itself.

As this is a DT overlay there is no way to specify address-cells/size-cells of parent here. This will be resolved only after merge with base tree.

This will be fixed in next dtc sync.
https://www.spinics.net/lists/devicetree-compiler/msg04036.html

Quoted 7 lines
Quoted 3 lines

See further discussion here
https://lore.kernel.org/all/CAL_JsqLmv904+_2EOmsQ__y1yLDvsT+_02i85phuh0cpe7X8NQ@mail.gmail.com/

Roger, build warnings are a strict NO,NO for kernel. Lets bring in the series *after* the dtc sync is complete.

Quoted 5 lines

Hi Rob,

Following commit from dtc is required to resolve this issue.

afbddcd418fb ("Suppress warnings on overlay fragments")

That is from 2018, so it's been in the kernel's dtc for a long time.

I believe what you need is the patch I referenced which hasn't been applied upstream.

Quoted 3 lines

FYI. Another patch of similar nature is on its way and will also require the above commit to DTC.
https://lore.kernel.org/all/[email protected]/

You'll need to fix dtc first.

Rob

#6 lore raw
Quoted 53 lines · Rob Herring
Quoted 52 lines · Roger Quadros
Quoted 47 lines · Nishanth Menon
Quoted 33 lines · Roger Quadros

Hi,

Quoted 20 lines · Vignesh

+ Rob and DT list

Hi Stephen

Quoted 7 lines · Stephen Rothwell

Hi all,

[I may have missed this yesterday, sorry]

After merging the ti tree, today's linux-next build (arm64 defconfig) produced these warnings:

Quoted 7 lines

arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso:65.8-140.3: Warning (avoid_default_addr_size): /fragment@3/__overlay__: Relying on default #address-cells value arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso:65.8-140.3: Warning (avoid_default_addr_size): /fragment@3/__overlay__: Relying on default #size-cells value

Introduced by commit

45a0c06571e1 ("arm64: dts: ti: am642-evm: Add overlay for NAND expansion card")

Quoted 6 lines

Thanks for the report. I will drop the offending comment.

Roger,

Sorry, this would need to be fixed in dtc or need exception from DT maintainers to ignore the warnings.

Please don't drop this patch as the issue is not with the patch but with the dtc tool itself.

Quoted 9 lines

As this is a DT overlay there is no way to specify address-cells/size-cells of parent here. This will be resolved only after merge with base tree.

This will be fixed in next dtc sync.
https://www.spinics.net/lists/devicetree-compiler/msg04036.html

See further discussion here
https://lore.kernel.org/all/CAL_JsqLmv904+_2EOmsQ__y1yLDvsT+_02i85phuh0cpe7X8NQ@mail.gmail.com/

Roger, build warnings are a strict NO,NO for kernel. Lets bring in the series *after* the dtc sync is complete.

Quoted 7 lines
Quoted 5 lines

Hi Rob,

Following commit from dtc is required to resolve this issue.

afbddcd418fb ("Suppress warnings on overlay fragments")

That is from 2018, so it's been in the kernel's dtc for a long time.

Oh, my bad. I saw your Reviewed-by tag and assumed the patch was already upstream.

Quoted 9 lines

I believe what you need is the patch I referenced which hasn't been applied upstream.

Quoted 3 lines

FYI. Another patch of similar nature is on its way and will also require the above commit to DTC.
https://lore.kernel.org/all/[email protected]/

You'll need to fix dtc first.

Signature · 2 lines
cheers,
-roger