1. 08 6月, 2018 1 次提交
  2. 06 6月, 2018 7 次提交
  3. 30 5月, 2018 3 次提交
  4. 23 5月, 2018 1 次提交
  5. 21 5月, 2018 11 次提交
  6. 15 5月, 2018 4 次提交
  7. 13 5月, 2018 1 次提交
    • V
      cpufreq: optimize cpufreq_notify_transition() · 20b5324d
      Viresh Kumar 提交于
      cpufreq_notify_transition() calls __cpufreq_notify_transition() for each
      CPU of a policy. There is a lot of code in __cpufreq_notify_transition()
      though which isn't required to be executed for each CPU, like checking
      about disabled cpufreq or irqs, adjusting jiffies, updating cpufreq
      stats and some debug print messages.
      
      This commit merges __cpufreq_notify_transition() into
      cpufreq_notify_transition() and modifies cpufreq_notify_transition() to
      execute minimum amount of code for each CPU.
      
      Also fix the kerneldoc for cpufreq_notify_transition() while at it.
      Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      20b5324d
  8. 10 5月, 2018 5 次提交
  9. 30 4月, 2018 1 次提交
    • P
      cpufreq / CPPC: Set platform specific transition_delay_us · d4f3388a
      Prashanth Prakash 提交于
      Add support to specify platform specific transition_delay_us instead
      of using the transition delay derived from PCC.
      
      With commit 3d41386d (cpufreq: CPPC: Use transition_delay_us
      depending transition_latency) we are setting transition_delay_us
      directly and not applying the LATENCY_MULTIPLIER. Because of that,
      on Qualcomm Centriq we can end up with a very high rate of frequency
      change requests when using the schedutil governor (default
      rate_limit_us=10 compared to an earlier value of 10000).
      
      The PCC subspace describes the rate at which the platform can accept
      commands on the CPPC's PCC channel. This includes read and write
      command on the PCC channel that can be used for reasons other than
      frequency transitions. Moreover the same PCC subspace can be used by
      multiple freq domains and deriving transition_delay_us from it as we
      do now can be sub-optimal.
      
      Moreover if a platform does not use PCC for desired_perf register then
      there is no way to compute the transition latency or the delay_us.
      
      CPPC does not have a standard defined mechanism to get the transition
      rate or the latency at the moment.
      
      Given the above limitations, it is simpler to have a platform specific
      transition_delay_us and rely on PCC derived value only if a platform
      specific value is not available.
      Signed-off-by: NPrashanth Prakash <pprakash@codeaurora.org>
      Cc: 4.14+ <stable@vger.kernel.org> # 4.14+
      Fixes: 3d41386d (cpufreq: CPPC: Use transition_delay_us depending transition_latency)
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      d4f3388a
  10. 27 4月, 2018 1 次提交
  11. 24 4月, 2018 1 次提交
  12. 10 4月, 2018 4 次提交