Message ID | 20180905193738.19325-1-robh@kernel.org (mailing list archive) |
---|---|
Headers | show |
Series | DT cpu node iterator | expand |
Hi Rob, 2018-09-05 21:37 GMT+02:00 Rob Herring <robh@kernel.org>: > This series adds an iterator for cpu nodes and converts users over to use > it or of_get_cpu_node in some cases. This allows us to remove the > dependency on device_type property for cpu nodes though removing that > from DTS files will have to wait for some time. In some cases, this makes > the DT search more strict by only looking in /cpus child nodes rather > than any node with the device_type == cpu. The iterator also honors the > status property which is often forgotten. > > I've only tested on ARM under QEMU and compiled powerpc. > Do you have this somewhere in your tree not to apply 21 patches by hand? Thanks, Michal <div dir="ltr">Hi Rob,<br><div><div class="gmail_extra"><br><div class="gmail_quote">2018-09-05 21:37 GMT+02:00 Rob Herring <span dir="ltr"><<a href="mailto:robh@kernel.org" target="_blank">robh@kernel.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This series adds an iterator for cpu nodes and converts users over to use<br> it or of_get_cpu_node in some cases. This allows us to remove the<br> dependency on device_type property for cpu nodes though removing that<br> from DTS files will have to wait for some time. In some cases, this makes<br> the DT search more strict by only looking in /cpus child nodes rather<br> than any node with the device_type == cpu. The iterator also honors the<br> status property which is often forgotten.<br> <br> I've only tested on ARM under QEMU and compiled powerpc.<br></blockquote><div><br></div><div><br></div><div>Do you have this somewhere in your tree not to apply 21 patches by hand?</div><div><br></div><div>Thanks,</div><div>Michal<br></div><div> </div></div><br></div></div></div>
On Fri, Sep 7, 2018 at 7:54 AM Michal Simek <monstr@monstr.eu> wrote: > > Hi Rob, > > 2018-09-05 21:37 GMT+02:00 Rob Herring <robh@kernel.org>: >> >> This series adds an iterator for cpu nodes and converts users over to use >> it or of_get_cpu_node in some cases. This allows us to remove the >> dependency on device_type property for cpu nodes though removing that >> from DTS files will have to wait for some time. In some cases, this makes >> the DT search more strict by only looking in /cpus child nodes rather >> than any node with the device_type == cpu. The iterator also honors the >> status property which is often forgotten. >> >> I've only tested on ARM under QEMU and compiled powerpc. > > > > Do you have this somewhere in your tree not to apply 21 patches by hand? Yes, dt/cpu-type branch on my kernel.org tree. Rob