Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1362051
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4 2/8] Documentation: arm: define DT cpu capacity bindings |
| Date | 2016-03-21 19:00 +0100 |
| Message-ID | <rfcht-Dm-11@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <rf5J1-4pj-17@gated-at.bofh.it> <rf62n-4MK-31@gated-at.bofh.it> <rf6vo-4Zw-15@gated-at.bofh.it> <rf6Yq-5tY-11@gated-at.bofh.it> <rfbOr-qS-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Mon, Mar 21, 2016 at 05:24:52PM +0000, Juri Lelli wrote: > I think this should work, but we have to understand how do we obtain the > max frequency of each cluster while parsing DT. OPP bindings are > helpful, but AFAIK there are platforms for which firmware is responsible > for setting up and advertise available OPPs. I'm not sure if this > happens later on during the boot process. We might still be able to use > the clock-frequency property in this case, but that might need changing > again if the top OPP gets removed/changed. > OTH, we might simply want to say that capacity values are to be obtained > once the platform is "stable" (no additional changes to configuration, > OPPs, etc.). But this is maybe not acceptable? How about we just punt and let the cpufreq driver tell us - it can parse DT, use built in tables or whatever? We could even remember the raw values and recalculate if it ever decides to change for some reason. Until cpufreq comes up we'll be stuck at whatever OPP that we're at on startup which may not match whatever we define the numbers relative to anyway. > Also, I fear that for variants of a particular implementation we will > still have to redo the profiling anyway (like we alreaady did for Juno > and Juno-r2 for example). This sometimes happens either through binning or through board design decisions rather than through new silicon so we might be able to reuse.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4 0/8] CPUs capacity information for heterogeneous systems Juri Lelli <juri.lelli@arm.com> - 2016-03-18 15:30 +0100
[PATCH v4 1/8] ARM: initialize cpu_scale to its default Juri Lelli <juri.lelli@arm.com> - 2016-03-18 15:30 +0100
[PATCH v4 7/8] arm: add sysfs cpu_capacity attribute Juri Lelli <juri.lelli@arm.com> - 2016-03-18 15:30 +0100
[PATCH v4 2/8] Documentation: arm: define DT cpu capacity bindings Juri Lelli <juri.lelli@arm.com> - 2016-03-18 15:40 +0100
Re: [PATCH v4 2/8] Documentation: arm: define DT cpu capacity bindings Sai Gurrappadi <sgurrappadi@nvidia.com> - 2016-03-18 19:00 +0100
Re: [PATCH v4 2/8] Documentation: arm: define DT cpu capacity bindings Juri Lelli <juri.lelli@arm.com> - 2016-03-21 12:00 +0100
Re: [PATCH v4 2/8] Documentation: arm: define DT cpu capacity bindings Vincent Guittot <vincent.guittot@linaro.org> - 2016-03-21 12:20 +0100
Re: [PATCH v4 2/8] Documentation: arm: define DT cpu capacity bindings Juri Lelli <juri.lelli@arm.com> - 2016-03-21 12:50 +0100
Re: [PATCH v4 2/8] Documentation: arm: define DT cpu capacity bindings Mark Brown <broonie@kernel.org> - 2016-03-21 13:20 +0100
Re: [PATCH v4 2/8] Documentation: arm: define DT cpu capacity bindings Juri Lelli <juri.lelli@arm.com> - 2016-03-21 18:30 +0100
Re: [PATCH v4 2/8] Documentation: arm: define DT cpu capacity bindings Mark Brown <broonie@kernel.org> - 2016-03-21 19:00 +0100
Re: [PATCH v4 2/8] Documentation: arm: define DT cpu capacity bindings Juri Lelli <juri.lelli@arm.com> - 2016-03-22 10:50 +0100
Re: [PATCH v4 2/8] Documentation: arm: define DT cpu capacity bindings Sai Gurrappadi <sgurrappadi@nvidia.com> - 2016-03-21 20:30 +0100
Re: [PATCH v4 2/8] Documentation: arm: define DT cpu capacity bindings Rob Herring <robh@kernel.org> - 2016-03-20 02:20 +0100
Re: [PATCH v4 2/8] Documentation: arm: define DT cpu capacity bindings Juri Lelli <juri.lelli@arm.com> - 2016-03-21 12:40 +0100
[PATCH v4 5/8] arm64: parse cpu capacity from DT Juri Lelli <juri.lelli@arm.com> - 2016-03-18 15:40 +0100
csiph-web