1. 01 10月, 2013 1 次提交
  2. 10 8月, 2013 1 次提交
  3. 08 8月, 2013 1 次提交
  4. 24 6月, 2013 1 次提交
  5. 04 6月, 2013 1 次提交
  6. 02 4月, 2013 1 次提交
  7. 27 1月, 2012 1 次提交
    • A
      cpufreq: Add support for x86 cpuinfo auto loading v4 · fa8031ae
      Andi Kleen 提交于
      This marks all the x86 cpuinfo tables to the CPU specific device drivers,
      to allow auto loading by udev. This should simplify the distribution
      startup scripts for this greatly.
      
      I didn't add MODULE_DEVICE_IDs to the centrino and p4-clockmod drivers,
      because those probably shouldn't be auto loaded and the acpi driver
      be used instead (not fully sure on that, would appreciate feedback)
      
      The old nforce drivers autoload based on the PCI ID.
      
      ACPI cpufreq is autoloaded in another patch.
      
      v3: Autoload gx based on PCI IDs only. Remove cpu check (Dave Jones)
      v4: Use newly introduce HW_PSTATE feature for powernow-k8 loading
      
      Cc: Dave Jones <davej@redhat.com>
      Cc: Kay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Signed-off-by: NThomas Renninger <trenn@suse.de>
      Acked-by: NH. Peter Anvin <hpa@zytor.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      fa8031ae
  8. 27 10月, 2011 3 次提交
    • R
      [CPUFREQ] e_powersaver: Allow user to lower maximum voltage · 826e570b
      Rafał Bilski 提交于
      Add new module option "set_max_voltage".
      One of the lessons learned from Adaptive Powersaver is that voltage values
      returned by processor are for worst case scenario. But required voltage
      is changing with CPU temperature. And even processors produced in the same
      batch can have different minimum voltage necessary for stable work at
      specified frequency.
      On Elonex Webbook, once system starts, temperature never drops below
      48 deg. C. Loading module after systems start allows user to lower CPU
      voltage and still have stable system.
      Sadly C7 doesn't allow code to set frequency or voltage from outside limits.
      If you ask it to set voltage lower then minimum it will ignore you. Thats
      why it isn't possible to change minimum voltage for minimum frequency too.
      Changing maximum voltage on Elonex Webbook leads to very good results. Looks
      like VIA C7 1.6GHz 1084mV can safetly run at 892mV. This means 83% of
      orginal value. If same percentage applies to power generated it means 12.5W
      in the place of 15W. Not much, but it is better then nothing.
      Only C7-M makes it possible.
      If voltage is too low by 16mV or more you will experience kernel panic.
      If voltage is too low by 32mV or more you will experience system freeze.
      Signed-off-by: NRafał Bilski <rafalbilski@interia.pl>
      Signed-off-by: NDave Jones <davej@redhat.com>
      826e570b
    • R
      [CPUFREQ] e_powersaver: Check BIOS limit for CPU frequency · 27e954c2
      Rafał Bilski 提交于
      Call ACPI function to get BIOS limit for CPU frequency.
      Fail if processor would like to run at higher frequency.
      Allow user to ignore BIOS limit.
      
      eps: Detected VIA Model D C7-M
      eps: Current voltage = 1084mV
      eps: Current multiplier = 16
      eps: Highest voltage = 1084mV
      eps: Highest multiplier = 16
      eps: Lowest voltage = 844mV
      eps: Lowest multiplier = 4
      eps: ACPI limit 1.60GHz
      Signed-off-by: NRafał Bilski <rafalbilski@interia.pl>
      Signed-off-by: NDave Jones <davej@redhat.com>
      27e954c2
    • R
      [CPUFREQ] e_powersaver: Additional checks · ed361bf0
      Rafał Bilski 提交于
      Some systems are using 1,2Ghz@844mV processors running at 600MHz@796mV.
      Try to detect such systems and don't touch anything on it. If CPU doesn't have
      P-States in BIOS it should run at maximum frequency.
      Allow user to bypass checks by means of two new options.
      Don't set frequency to maximum on module unloading to avoid bada boom.
      It is also possible that some processors may have incorrect values in min/max
      registers caused by error in manufacturing process. Probably it would be BIOS
      job to set them to right frequency and P-States tables would have correct
      values inside.
      Two additional sanity checks for voltage.
      Signed-off-by: NRafał Bilski <rafalbilski@interia.pl>
      Signed-off-by: NDave Jones <davej@redhat.com>
      ed361bf0
  9. 20 5月, 2011 1 次提交
  10. 25 2月, 2009 1 次提交
  11. 20 2月, 2009 1 次提交
  12. 06 3月, 2008 1 次提交
  13. 07 2月, 2008 2 次提交
  14. 20 10月, 2007 1 次提交
    • M
      x86: convert cpuinfo_x86 array to a per_cpu array · 92cb7612
      Mike Travis 提交于
      cpu_data is currently an array defined using NR_CPUS.  This means that
      we overallocate since we will rarely really use maximum configured cpus.
      When NR_CPU count is raised to 4096 the size of cpu_data becomes
      3,145,728 bytes.
      
      These changes were adopted from the sparc64 (and ia64) code.  An
      additional field was added to cpuinfo_x86 to be a non-ambiguous cpu
      index.  This corresponds to the index into a cpumask_t as well as the
      per_cpu index.  It's used in various places like show_cpuinfo().
      
      cpu_data is defined to be the boot_cpu_data structure for the NON-SMP
      case.
      Signed-off-by: NMike Travis <travis@sgi.com>
      Acked-by: NChristoph Lameter <clameter@sgi.com>
      Cc: Andi Kleen <ak@suse.de>
      Cc: James Bottomley <James.Bottomley@steeleye.com>
      Cc: Dmitry Torokhov <dtor@mail.ru>
      Cc: "Antonino A. Daplas" <adaplas@pol.net>
      Cc: Mark M. Hoffman <mhoffman@lightlink.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      92cb7612
  15. 11 10月, 2007 1 次提交
  16. 05 10月, 2007 1 次提交
  17. 27 2月, 2007 1 次提交
  18. 23 2月, 2007 1 次提交
  19. 14 2月, 2007 1 次提交
  20. 11 2月, 2007 1 次提交
    • R
      [CPUFREQ] Enhanced PowerSaver driver · 86acd49a
      Rafa Bilski 提交于
      This is driver for Enhanced Powersaver which is present in VIA C7
      processors. Beta tested by Jorgen (jorgen (at) greven dot dk).
      Thanks! Based on documentation provided by Dave Jones (Thanks!)
      and C7 Eden datasheet available from www.via.com.tw. Looks like all
      these C7 Eden CPU's don't have P-states in BIOS. I know that 2
      p-states is low, but Jorgen finds it usefull anyway because board
      is passive cooled.
      There are 3 different types of C7 processors (called brands):
      0. C7-M - these processors can set any maultiplier between min and
      max, any voltage between min and max.
      1. C7 - only min and max states are supported. Voltage is different
      for min and max states.
      2. Eden - only min and max states are supported. Looks like this
      brand can only change multiplier. Voltage seems to be the same for
      min and max frequency.
      Signed-off-by: NRafal Bilski <rafalbilski@interia.pl>
      Signed-off-by: NDave Jones <davej@redhat.com>
      86acd49a