* Re: dtc warnings [not found] ` <CAJKOXPdDyVbfSyshu4j21Ax2J-VwPpMZgAGEeO8VtgFYh4hTmw@mail.gmail.com> @ 2016-04-01 13:57 ` Nishanth Menon 2016-04-03 6:59 ` Viresh Kumar 0 siblings, 1 reply; 7+ messages in thread From: Nishanth Menon @ 2016-04-01 13:57 UTC (permalink / raw) To: Krzysztof Kozlowski, Tomi Valkeinen, Viresh Kumar Cc: devicetree@vger.kernel.org, Krzysztof Kozlowski, linux-arm-kernel@lists.infradead.org, arm-platform-maintainers, linux-pm@vger.kernel.org On 04/01/2016 02:53 AM, Krzysztof Kozlowski wrote: > On Fri, Apr 1, 2016 at 4:49 PM, Tomi Valkeinen <tomi.valkeinen@gmail.com> wrote: >> >> Hi Rob, >> >> On 01/04/16 04:40, Rob Herring wrote: >>> You may have noticed that linux-next had gotten noisy with dtc >>> warnings lately. I dropped the change for a bit, but added it back >>> today except now it is disabled unless building with "W=1". >>> >>> There's ~25K (2500 unique) warnings generated from the ARM dts files. >>> Here's the ranking of warnings by dtb. OMAP is the clear winner (based >>> on the similar counts, probably lots of duplicates). Please help >>> remind contributors to test with W=1 and start to fix these. >>> >>> At least for memory nodes, I plan to whitelist allowing no >>> unit-address. There could be others, but none that I've seen so far. >> >> What's the correct way to fix nodes for display platform devices? For >> example, omap4-panda-common.dtsi has two connector nodes: >> >> dvi0: connector@0 { >> compatible = "dvi-connector"; >> label = "dvi"; >> ... >> }; >> >> >> hdmi0: connector@1 { >> compatible = "hdmi-connector"; >> label = "hdmi"; >> ... >> }; > > I have the same doubts. The ePAPR says in that case "the node-name > alone differentiates the node from other nodes at the same level in > the tree.". But which is preferred? Differentiating by number or by > type? > > Similarly, what to do with the opp modes (a lot of warnings) in > Documentation/devicetree/bindings/opp/opp.txt? > + linux-pm and Viresh for opp.txt -- Regards, Nishanth Menon ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: dtc warnings 2016-04-01 13:57 ` dtc warnings Nishanth Menon @ 2016-04-03 6:59 ` Viresh Kumar 2016-04-03 8:08 ` Krzysztof Kozlowski 0 siblings, 1 reply; 7+ messages in thread From: Viresh Kumar @ 2016-04-03 6:59 UTC (permalink / raw) To: Nishanth Menon Cc: Krzysztof Kozlowski, Tomi Valkeinen, devicetree@vger.kernel.org, Krzysztof Kozlowski, linux-arm-kernel@lists.infradead.org, arm-platform-maintainers, linux-pm@vger.kernel.org On 01-04-16, 08:57, Nishanth Menon wrote: > On 04/01/2016 02:53 AM, Krzysztof Kozlowski wrote: > > On Fri, Apr 1, 2016 at 4:49 PM, Tomi Valkeinen <tomi.valkeinen@gmail.com> wrote: > >> > >> Hi Rob, > >> > >> On 01/04/16 04:40, Rob Herring wrote: > >>> You may have noticed that linux-next had gotten noisy with dtc > >>> warnings lately. I dropped the change for a bit, but added it back > >>> today except now it is disabled unless building with "W=1". > >>> > >>> There's ~25K (2500 unique) warnings generated from the ARM dts files. > >>> Here's the ranking of warnings by dtb. OMAP is the clear winner (based > >>> on the similar counts, probably lots of duplicates). Please help > >>> remind contributors to test with W=1 and start to fix these. > >>> > >>> At least for memory nodes, I plan to whitelist allowing no > >>> unit-address. There could be others, but none that I've seen so far. > >> > >> What's the correct way to fix nodes for display platform devices? For > >> example, omap4-panda-common.dtsi has two connector nodes: > >> > >> dvi0: connector@0 { > >> compatible = "dvi-connector"; > >> label = "dvi"; > >> ... > >> }; > >> > >> > >> hdmi0: connector@1 { > >> compatible = "hdmi-connector"; > >> label = "hdmi"; > >> ... > >> }; > > > > I have the same doubts. The ePAPR says in that case "the node-name > > alone differentiates the node from other nodes at the same level in > > the tree.". But which is preferred? Differentiating by number or by > > type? > > > > Similarly, what to do with the opp modes (a lot of warnings) in > > Documentation/devicetree/bindings/opp/opp.txt? What warnings are you talking about ? -- viresh ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: dtc warnings 2016-04-03 6:59 ` Viresh Kumar @ 2016-04-03 8:08 ` Krzysztof Kozlowski 2016-04-03 12:27 ` Viresh Kumar 0 siblings, 1 reply; 7+ messages in thread From: Krzysztof Kozlowski @ 2016-04-03 8:08 UTC (permalink / raw) To: Viresh Kumar Cc: Nishanth Menon, Krzysztof Kozlowski, Tomi Valkeinen, devicetree@vger.kernel.org, Krzysztof Kozlowski, linux-arm-kernel@lists.infradead.org, arm-platform-maintainers, linux-pm@vger.kernel.org On Sun, Apr 03, 2016 at 12:29:09PM +0530, Viresh Kumar wrote: > On 01-04-16, 08:57, Nishanth Menon wrote: > > On 04/01/2016 02:53 AM, Krzysztof Kozlowski wrote: > > > On Fri, Apr 1, 2016 at 4:49 PM, Tomi Valkeinen <tomi.valkeinen@gmail.com> wrote: > > >> > > >> Hi Rob, > > >> > > >> On 01/04/16 04:40, Rob Herring wrote: > > >>> You may have noticed that linux-next had gotten noisy with dtc > > >>> warnings lately. I dropped the change for a bit, but added it back > > >>> today except now it is disabled unless building with "W=1". > > >>> > > >>> There's ~25K (2500 unique) warnings generated from the ARM dts files. > > >>> Here's the ranking of warnings by dtb. OMAP is the clear winner (based > > >>> on the similar counts, probably lots of duplicates). Please help > > >>> remind contributors to test with W=1 and start to fix these. > > >>> > > >>> At least for memory nodes, I plan to whitelist allowing no > > >>> unit-address. There could be others, but none that I've seen so far. > > >> > > >> What's the correct way to fix nodes for display platform devices? For > > >> example, omap4-panda-common.dtsi has two connector nodes: > > >> > > >> dvi0: connector@0 { > > >> compatible = "dvi-connector"; > > >> label = "dvi"; > > >> ... > > >> }; > > >> > > >> > > >> hdmi0: connector@1 { > > >> compatible = "hdmi-connector"; > > >> label = "hdmi"; > > >> ... > > >> }; > > > > > > I have the same doubts. The ePAPR says in that case "the node-name > > > alone differentiates the node from other nodes at the same level in > > > the tree.". But which is preferred? Differentiating by number or by > > > type? > > > > > > Similarly, what to do with the opp modes (a lot of warnings) in > > > Documentation/devicetree/bindings/opp/opp.txt? > > What warnings are you talking about ? Warnings coming from recent linux-next: DTC arch/arm/boot/dts/exynos5800-peach-pi.dtb Warning (unit_address_vs_reg): Node /opp_table0/opp@1800000000 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /opp_table0/opp@1700000000 has a unit name, but no reg property ... Best regards, Krzysztof ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: dtc warnings 2016-04-03 8:08 ` Krzysztof Kozlowski @ 2016-04-03 12:27 ` Viresh Kumar 2016-04-04 5:16 ` Rob Herring 0 siblings, 1 reply; 7+ messages in thread From: Viresh Kumar @ 2016-04-03 12:27 UTC (permalink / raw) To: Krzysztof Kozlowski, Rob Herring Cc: Nishanth Menon, Tomi Valkeinen, devicetree@vger.kernel.org, Krzysztof Kozlowski, linux-arm-kernel@lists.infradead.org, arm-platform-maintainers, linux-pm@vger.kernel.org On 3 April 2016 at 13:38, Krzysztof Kozlowski <k.kozlowski@samsung.com> wrote: > Warnings coming from recent linux-next: > > DTC arch/arm/boot/dts/exynos5800-peach-pi.dtb > Warning (unit_address_vs_reg): Node /opp_table0/opp@1800000000 has a unit name, but no reg property > Warning (unit_address_vs_reg): Node /opp_table0/opp@1700000000 has a unit name, but no reg property @Rob: What should we be doing about these warnings? OPP-entries don't have a reg property obviously and we discussed earlier if naming them based on freq is fine or not. -- viresh ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: dtc warnings 2016-04-03 12:27 ` Viresh Kumar @ 2016-04-04 5:16 ` Rob Herring 2016-04-04 5:50 ` Viresh Kumar 0 siblings, 1 reply; 7+ messages in thread From: Rob Herring @ 2016-04-04 5:16 UTC (permalink / raw) To: Viresh Kumar Cc: Krzysztof Kozlowski, Rob Herring, Nishanth Menon, Tomi Valkeinen, devicetree@vger.kernel.org, Krzysztof Kozlowski, linux-arm-kernel@lists.infradead.org, arm-platform-maintainers, linux-pm@vger.kernel.org On Sun, Apr 03, 2016 at 05:57:00PM +0530, Viresh Kumar wrote: > On 3 April 2016 at 13:38, Krzysztof Kozlowski <k.kozlowski@samsung.com> wrote: > > Warnings coming from recent linux-next: > > > > DTC arch/arm/boot/dts/exynos5800-peach-pi.dtb > > Warning (unit_address_vs_reg): Node /opp_table0/opp@1800000000 has a unit name, but no reg property > > Warning (unit_address_vs_reg): Node /opp_table0/opp@1700000000 has a unit name, but no reg property > > @Rob: What should we be doing about these warnings? > OPP-entries don't have a reg property obviously and we > discussed earlier if naming them based on freq is fine or > not. We can whitelist opp nodes in dtc, use oppN instead, or ignore the warnings for now. Rob ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: dtc warnings 2016-04-04 5:16 ` Rob Herring @ 2016-04-04 5:50 ` Viresh Kumar 2016-04-04 5:56 ` Krzysztof Kozlowski 0 siblings, 1 reply; 7+ messages in thread From: Viresh Kumar @ 2016-04-04 5:50 UTC (permalink / raw) To: Rob Herring Cc: Krzysztof Kozlowski, Rob Herring, Nishanth Menon, Tomi Valkeinen, devicetree@vger.kernel.org, Krzysztof Kozlowski, linux-arm-kernel@lists.infradead.org, arm-platform-maintainers, linux-pm@vger.kernel.org On 04-04-16, 00:16, Rob Herring wrote: > On Sun, Apr 03, 2016 at 05:57:00PM +0530, Viresh Kumar wrote: > > On 3 April 2016 at 13:38, Krzysztof Kozlowski <k.kozlowski@samsung.com> wrote: > > > Warnings coming from recent linux-next: > > > > > > DTC arch/arm/boot/dts/exynos5800-peach-pi.dtb > > > Warning (unit_address_vs_reg): Node /opp_table0/opp@1800000000 has a unit name, but no reg property > > > Warning (unit_address_vs_reg): Node /opp_table0/opp@1700000000 has a unit name, but no reg property Something isn't right in my setup, as I am not hitting these: $ make CROSS_COMPILE="arm-linux-gnueabihf-" ARCH=arm O=../bexynos dtbs make[1]: Entering directory '/mnt/ssd/all/work/repos/devel/bexynos' CHK include/config/kernel.release Using /mnt/ssd/all/work/repos/devel/linux as source for kernel GEN ./Makefile CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h make[2]: 'include/generated/mach-types.h' is up to date. CHK include/generated/bounds.h CHK include/generated/timeconst.h CHK include/generated/asm-offsets.h CALL /mnt/ssd/all/work/repos/devel/linux/scripts/checksyscalls.sh <stdin>:1310:2: warning: #warning syscall preadv2 not implemented [-Wcpp] <stdin>:1313:2: warning: #warning syscall pwritev2 not implemented [-Wcpp] DTC arch/arm/boot/dts/exynos3250-artik5-eval.dtb DTC arch/arm/boot/dts/exynos3250-monk.dtb DTC arch/arm/boot/dts/exynos3250-rinato.dtb DTC arch/arm/boot/dts/exynos4210-origen.dtb DTC arch/arm/boot/dts/exynos4210-smdkv310.dtb DTC arch/arm/boot/dts/exynos4210-trats.dtb DTC arch/arm/boot/dts/exynos4210-universal_c210.dtb DTC arch/arm/boot/dts/exynos4412-odroidu3.dtb DTC arch/arm/boot/dts/exynos4412-odroidx.dtb DTC arch/arm/boot/dts/exynos4412-odroidx2.dtb DTC arch/arm/boot/dts/exynos4412-origen.dtb DTC arch/arm/boot/dts/exynos4412-smdk4412.dtb DTC arch/arm/boot/dts/exynos4412-tiny4412.dtb DTC arch/arm/boot/dts/exynos4412-trats2.dtb DTC arch/arm/boot/dts/exynos5250-arndale.dtb DTC arch/arm/boot/dts/exynos5250-smdk5250.dtb DTC arch/arm/boot/dts/exynos5250-snow.dtb DTC arch/arm/boot/dts/exynos5250-snow-rev5.dtb DTC arch/arm/boot/dts/exynos5250-spring.dtb DTC arch/arm/boot/dts/exynos5260-xyref5260.dtb DTC arch/arm/boot/dts/exynos5410-smdk5410.dtb DTC arch/arm/boot/dts/exynos5420-arndale-octa.dtb DTC arch/arm/boot/dts/exynos5420-peach-pit.dtb DTC arch/arm/boot/dts/exynos5420-smdk5420.dtb DTC arch/arm/boot/dts/exynos5422-odroidxu3.dtb DTC arch/arm/boot/dts/exynos5422-odroidxu3-lite.dtb DTC arch/arm/boot/dts/exynos5422-odroidxu4.dtb DTC arch/arm/boot/dts/exynos5440-sd5v1.dtb DTC arch/arm/boot/dts/exynos5440-ssdk5440.dtb DTC arch/arm/boot/dts/exynos5800-peach-pi.dtb make[1]: Leaving directory '/mnt/ssd/all/work/repos/devel/bexynos' > > > > @Rob: What should we be doing about these warnings? > > OPP-entries don't have a reg property obviously and we > > discussed earlier if naming them based on freq is fine or > > not. > > We can whitelist opp nodes in dtc, use oppN instead, or ignore the > warnings for now. I will be required to update check_unit_address_vs_reg() for that, right ? Or is there a easier way for doing this ? :) -- viresh ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: dtc warnings 2016-04-04 5:50 ` Viresh Kumar @ 2016-04-04 5:56 ` Krzysztof Kozlowski 0 siblings, 0 replies; 7+ messages in thread From: Krzysztof Kozlowski @ 2016-04-04 5:56 UTC (permalink / raw) To: Viresh Kumar, Rob Herring Cc: Rob Herring, Nishanth Menon, Tomi Valkeinen, devicetree@vger.kernel.org, Krzysztof Kozlowski, linux-arm-kernel@lists.infradead.org, arm-platform-maintainers, linux-pm@vger.kernel.org On 04.04.2016 14:50, Viresh Kumar wrote: > On 04-04-16, 00:16, Rob Herring wrote: >> On Sun, Apr 03, 2016 at 05:57:00PM +0530, Viresh Kumar wrote: >>> On 3 April 2016 at 13:38, Krzysztof Kozlowski <k.kozlowski@samsung.com> wrote: >>>> Warnings coming from recent linux-next: >>>> >>>> DTC arch/arm/boot/dts/exynos5800-peach-pi.dtb >>>> Warning (unit_address_vs_reg): Node /opp_table0/opp@1800000000 has a unit name, but no reg property >>>> Warning (unit_address_vs_reg): Node /opp_table0/opp@1700000000 has a unit name, but no reg property > > Something isn't right in my setup, as I am not hitting these: > > $ make CROSS_COMPILE="arm-linux-gnueabihf-" ARCH=arm O=../bexynos dtbs You need W=1 (that was recent change by Rob to not pollute everyone's builds). Best regards, Krzysztof ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-04-04 5:56 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAL_Jsq+=OjY8y_8x7OSm-MWYKbrHN5cbv4TLwULxhNq+gfiMtw@mail.gmail.com>
[not found] ` <56FE27F9.2070100@gmail.com>
[not found] ` <CAJKOXPdDyVbfSyshu4j21Ax2J-VwPpMZgAGEeO8VtgFYh4hTmw@mail.gmail.com>
2016-04-01 13:57 ` dtc warnings Nishanth Menon
2016-04-03 6:59 ` Viresh Kumar
2016-04-03 8:08 ` Krzysztof Kozlowski
2016-04-03 12:27 ` Viresh Kumar
2016-04-04 5:16 ` Rob Herring
2016-04-04 5:50 ` Viresh Kumar
2016-04-04 5:56 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox