1. 09 7月, 2014 1 次提交
  2. 07 5月, 2014 1 次提交
  3. 07 4月, 2014 1 次提交
    • V
      cpufreq: powernv: cpufreq driver for powernv platform · b3d627a5
      Vaidyanathan Srinivasan 提交于
      Backend driver to dynamically set voltage and frequency on
      IBM POWER non-virtualized platforms.  Power management SPRs
      are used to set the required PState.
      
      This driver works in conjunction with cpufreq governors
      like 'ondemand' to provide a demand based frequency and
      voltage setting on IBM POWER non-virtualized platforms.
      
      PState table is obtained from OPAL v3 firmware through device
      tree.
      
      powernv_cpufreq back-end driver would parse the relevant device-tree
      nodes and initialise the cpufreq subsystem on powernv platform.
      
      The code was originally written by svaidy@linux.vnet.ibm.com. Over
      time it was modified to accomodate bug-fixes as well as updates to the
      the cpu-freq core. Relevant portions of the change logs corresponding
      to those modifications are noted below:
      
       * The policy->cpus needs to be populated in a hotplug-invariant
         manner instead of using cpu_sibling_mask() which varies with
         cpu-hotplug. This is because the cpufreq core code copies this
         content into policy->related_cpus mask which should not vary on
         cpu-hotplug. [Authored by srivatsa.bhat@linux.vnet.ibm.com]
      
       * Create a helper routine that can return the cpu-frequency for the
         corresponding pstate_id. Also, cache the values of the pstate_max,
         pstate_min and pstate_nominal and nr_pstates in a static structure
         so that they can be reused in the future to perform any
         validations. [Authored by ego@linux.vnet.ibm.com]
      
       * Create a driver attribute named cpuinfo_nominal_freq which creates
         a sysfs read-only file named cpuinfo_nominal_freq. Export the
         frequency corresponding to the nominal_pstate through this
         interface.
      
           Nominal frequency is the highest non-turbo frequency for the
         platform.  This is generally used for setting governor policies
         from user space for optimal energy efficiency. [Authored by
         ego@linux.vnet.ibm.com]
      
       * Implement a powernv_cpufreq_get(unsigned int cpu) method which will
         return the current operating frequency. Export this via the sysfs
         interface cpuinfo_cur_freq by setting powernv_cpufreq_driver.get to
         powernv_cpufreq_get(). [Authored by ego@linux.vnet.ibm.com]
      
      [Change log updated by ego@linux.vnet.ibm.com]
      Reviewed-by: NPreeti U Murthy <preeti@linux.vnet.ibm.com>
      Signed-off-by: NVaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
      Signed-off-by: NSrivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
      Signed-off-by: NAnton Blanchard <anton@samba.org>
      Signed-off-by: NGautham R. Shenoy <ego@linux.vnet.ibm.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      b3d627a5
  4. 30 10月, 2013 1 次提交
  5. 16 10月, 2013 1 次提交
  6. 26 7月, 2013 1 次提交
  7. 18 6月, 2013 2 次提交
  8. 07 6月, 2013 1 次提交
  9. 05 6月, 2013 1 次提交
  10. 20 5月, 2013 1 次提交
  11. 10 4月, 2013 12 次提交
  12. 08 4月, 2013 6 次提交
  13. 02 4月, 2013 1 次提交
  14. 09 2月, 2013 3 次提交
  15. 02 2月, 2013 2 次提交
  16. 07 1月, 2013 1 次提交
  17. 03 1月, 2013 1 次提交
    • L
      cpufreq / governor: Fix problem with cpufreq_ondemand or cpufreq_conservative · 1e15f295
      Larry Finger 提交于
      Since commit 2aacdfff entitled "cpufreq: Move common part from governors
      to separate file", whenever the drivers that depend on this new file
      (cpufreq_ondemand or cpufreq_conservative) are built as modules, a new
      module named cpufreq_governor is created because the Makefile includes
      cpufreq_governor.o twice. As drivers/cpufreq/cpufreq_governor.c contains no
      MODULE directives, the resulting module has no license specified, which
      results in logging of a "module license 'unspecified' taints kernel". In
      addition, a number of globals are exported GPL only, and are therefore
      not available. This fix establishes a new boolean configuration variable
      that forces cpufreq_governor.o to be linked into the kernel whenever
      either cpufreq_ondemand or cpufreq_conservative is selected.
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Reviewed-by: NViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      1e15f295
  18. 27 11月, 2012 1 次提交
  19. 15 11月, 2012 1 次提交
  20. 10 9月, 2012 1 次提交