Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1410186
| From | Viresh Kumar <viresh.kumar@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 2/3] cpufreq: acpi-cpufreq: add resolve_freq callback |
| Date | 2016-05-31 13:40 +0200 |
| Message-ID | <rEQbE-27e-11@gated-at.bofh.it> (permalink) |
| References | <rCTGF-Bd-1@gated-at.bofh.it> <rCTGF-Bd-5@gated-at.bofh.it> <rCXhf-2WS-5@gated-at.bofh.it> <rEyeJ-6B4-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 30-05-16, 09:20, Steve Muckle wrote: > A couple concerns... One is that if we do the lookup in > cpufreq_driver_resolve_freq() for drivers which implement target_index() > then it means using cpufreq_frequency_table_target() there. This is a > heavier weight function that can't take advantage of driver-specific > knowledge that the freq table is sorted a particular way. I completely agree. > So for > acpi-cpufreq we'd now be having to walk the whole table for every > fast_switch. I have just tried to address that with following set: [PATCH 0/2] cpufreq: Use sorted frequency tables Lets see what Rafael has to say about that. > Another is that it'll be a a bit odd that the logic used to lookup the > driver frequency will be different in the cached and uncached > fast_switch cases. In the cached case it will have been determined by > code in cpufreq_driver_resolve_freq() whereas in the uncached case it > will be logic in the driver, in its fast_switch routine. We can make both of them refer the above code then. Lets see. -- viresh
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 0/3] cpufreq: avoid redundant driver calls in schedutil Steve Muckle <steve.muckle@linaro.org> - 2016-05-26 05:00 +0200
[PATCH v2 1/3] cpufreq: add resolve_freq driver callback Steve Muckle <steve.muckle@linaro.org> - 2016-05-26 05:00 +0200
Re: [PATCH v2 1/3] cpufreq: add resolve_freq driver callback Viresh Kumar <viresh.kumar@linaro.org> - 2016-05-26 08:30 +0200
Re: [PATCH v2 1/3] cpufreq: add resolve_freq driver callback Steve Muckle <steve.muckle@linaro.org> - 2016-05-30 17:40 +0200
Re: [PATCH v2 1/3] cpufreq: add resolve_freq driver callback Viresh Kumar <viresh.kumar@linaro.org> - 2016-05-31 07:40 +0200
Re: [PATCH v2 1/3] cpufreq: add resolve_freq driver callback Steve Muckle <steve.muckle@linaro.org> - 2016-05-31 20:50 +0200
Re: [PATCH v2 1/3] cpufreq: add resolve_freq driver callback Viresh Kumar <viresh.kumar@linaro.org> - 2016-05-31 13:20 +0200
Re: [PATCH v2 1/3] cpufreq: add resolve_freq driver callback Steve Muckle <steve.muckle@linaro.org> - 2016-05-31 20:20 +0200
[PATCH v2 2/3] cpufreq: acpi-cpufreq: add resolve_freq callback Steve Muckle <steve.muckle@linaro.org> - 2016-05-26 05:00 +0200
Re: [PATCH v2 2/3] cpufreq: acpi-cpufreq: add resolve_freq callback Viresh Kumar <viresh.kumar@linaro.org> - 2016-05-26 08:50 +0200
Re: [PATCH v2 2/3] cpufreq: acpi-cpufreq: add resolve_freq callback Steve Muckle <steve.muckle@linaro.org> - 2016-05-30 18:30 +0200
Re: [PATCH v2 2/3] cpufreq: acpi-cpufreq: add resolve_freq callback Viresh Kumar <viresh.kumar@linaro.org> - 2016-05-31 13:40 +0200
[PATCH v2 3/3] cpufreq: schedutil: map raw required frequency to driver frequency Steve Muckle <steve.muckle@linaro.org> - 2016-05-26 05:00 +0200
Re: [PATCH v2 3/3] cpufreq: schedutil: map raw required frequency to driver frequency Viresh Kumar <viresh.kumar@linaro.org> - 2016-05-26 09:20 +0200
Re: [PATCH v2 3/3] cpufreq: schedutil: map raw required frequency to driver frequency "Rafael J. Wysocki" <rafael@kernel.org> - 2016-05-29 02:50 +0200
Re: [PATCH v2 3/3] cpufreq: schedutil: map raw required frequency to driver frequency Viresh Kumar <viresh.kumar@linaro.org> - 2016-05-30 12:20 +0200
Re: [PATCH v2 3/3] cpufreq: schedutil: map raw required frequency to driver frequency "Rafael J. Wysocki" <rafael@kernel.org> - 2016-05-30 16:30 +0200
Re: [PATCH v2 3/3] cpufreq: schedutil: map raw required frequency to driver frequency Viresh Kumar <viresh.kumar@linaro.org> - 2016-05-30 17:40 +0200
Re: [PATCH v2 3/3] cpufreq: schedutil: map raw required frequency to driver frequency "Rafael J. Wysocki" <rafael@kernel.org> - 2016-05-30 21:10 +0200
Re: [PATCH v2 3/3] cpufreq: schedutil: map raw required frequency to driver frequency Peter Zijlstra <peterz@infradead.org> - 2016-05-31 11:10 +0200
Re: [PATCH v2 3/3] cpufreq: schedutil: map raw required frequency to driver frequency Wanpeng Li <kernellwp@gmail.com> - 2016-05-31 03:50 +0200
Re: [PATCH v2 3/3] cpufreq: schedutil: map raw required frequency to driver frequency Steve Muckle <steve.muckle@linaro.org> - 2016-05-30 18:40 +0200
Re: [PATCH v2 3/3] cpufreq: schedutil: map raw required frequency to driver frequency Viresh Kumar <viresh.kumar@linaro.org> - 2016-06-01 13:00 +0200
Re: [PATCH v2 3/3] cpufreq: schedutil: map raw required frequency to driver frequency Wanpeng Li <kernellwp@gmail.com> - 2016-05-27 07:50 +0200
Re: [PATCH v2 3/3] cpufreq: schedutil: map raw required frequency to driver frequency Steve Muckle <steve.muckle@linaro.org> - 2016-05-30 18:50 +0200
csiph-web