1. 26 3月, 2014 1 次提交
  2. 16 10月, 2013 2 次提交
  3. 10 8月, 2013 1 次提交
  4. 02 4月, 2013 2 次提交
  5. 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
  6. 20 5月, 2011 1 次提交
  7. 04 5月, 2011 1 次提交
    • D
      [CPUFREQ] use dynamic debug instead of custom infrastructure · 2d06d8c4
      Dominik Brodowski 提交于
      With dynamic debug having gained the capability to report debug messages
      also during the boot process, it offers a far superior interface for
      debug messages than the custom cpufreq infrastructure. As a first step,
      remove the old cpufreq_debug_printk() function and replace it with a call
      to the generic pr_debug() function.
      
      How can dynamic debug be used on cpufreq? You need a kernel which has
      CONFIG_DYNAMIC_DEBUG enabled.
      
      To enabled debugging during runtime, mount debugfs and
      
      $ echo -n 'module cpufreq +p' > /sys/kernel/debug/dynamic_debug/control
      
      for debugging the complete "cpufreq" module. To achieve the same goal during
      boot, append
      
      	ddebug_query="module cpufreq +p"
      
      as a boot parameter to the kernel of your choice.
      
      For more detailled instructions, please see
      Documentation/dynamic-debug-howto.txt
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: NDave Jones <davej@redhat.com>
      2d06d8c4
  8. 22 10月, 2010 1 次提交
    • J
      [CPUFREQ] arch/x86/kernel/cpu/cpufreq: Fix unsigned return type · b2a33c17
      Julia Lawall 提交于
      In each case, the function has an unsigned return type, but returns a
      negative constant to indicate an error condition.  Each function is only
      called once.  For nforce2_detect_chipset, the result is only compared to 0,
      and for longrun_determine_freqs, the result is stored in a variable of type
      (signed) int.  Thus, for both functions, unsigned can be dropped from the
      return type.
      
      A sematic match that finds this problem is as follows:
      (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @exists@
      identifier f;
      constant C;
      @@
      
       unsigned f(...)
       { <+...
      *  return -C;
       ...+> }
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NDave Jones <davej@redhat.com>
      b2a33c17
  9. 25 2月, 2009 3 次提交
  10. 18 6月, 2008 1 次提交
    • P
      x86: coding style fixes to x86/kernel/cpu/cpufreq/cpufreq-nforce2.c · 219835f1
      Paolo Ciarrocchi 提交于
      Before:
      total: 22 errors, 8 warnings, 440 lines checked
      
      After:
      total: 0 errors, 8 warnings, 442 lines checked
      
      paolo@paolo-desktop:~/linux.trees.git$ md5sum /tmp/cpufreq-nforce2.o.*
      3d4330a5d188fe904446e5948a618b48  /tmp/cpufreq-nforce2.o.after
      1477e6b0dcd6f59b1fb6b4490042eca6  /tmp/cpufreq-nforce2.o.before
      ^^^ I guess this is because I fixed a few "do not initialise statics to 0 or NULL"
      
      paolo@paolo-desktop:~/linux.trees.git$ size /tmp/cpufreq-nforce2.o.*
         text    data     bss     dec     hex filename
         1923      72      16    2011     7db /tmp/cpufreq-nforce2.o.after
         1923      72      16    2011     7db /tmp/cpufreq-nforce2.o.before
      Signed-off-by: NPaolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      219835f1
  11. 20 10月, 2007 1 次提交
  12. 11 10月, 2007 1 次提交
  13. 05 10月, 2007 1 次提交
  14. 12 7月, 2007 1 次提交
    • A
      PCI: Change all drivers to use pci_device->revision · 44c10138
      Auke Kok 提交于
      Instead of all drivers reading pci config space to get the revision
      ID, they can now use the pci_device->revision member.
      
      This exposes some issues where drivers where reading a word or a dword
      for the revision number, and adding useless error-handling around the
      read. Some drivers even just read it for no purpose of all.
      
      In devices where the revision ID is being copied over and used in what
      appears to be the equivalent of hotpath, I have left the copy code
      and the cached copy as not to influence the driver's performance.
      
      Compile tested with make all{yes,mod}config on x86_64 and i386.
      Signed-off-by: NAuke Kok <auke-jan.h.kok@intel.com>
      Acked-by: NDave Jones <davej@redhat.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      44c10138
  15. 27 2月, 2007 1 次提交
  16. 23 2月, 2007 1 次提交
  17. 06 6月, 2006 1 次提交
  18. 05 6月, 2006 1 次提交
  19. 31 5月, 2006 1 次提交
  20. 28 2月, 2006 1 次提交
  21. 01 12月, 2005 1 次提交
  22. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4