1. 04 2月, 2007 2 次提交
  2. 03 1月, 2007 2 次提交
    • D
      [CPUFREQ] longhaul: Kill off warnings introduced by recent changes. · 43c8f12f
      Dave Jones 提交于
      Bunch of unused vars + one case where gcc isn't smart enough.
      Signed-off-by: NDave Jones <davej@redhat.com>
      43c8f12f
    • R
      [CPUFREQ] Longhaul - Always guess FSB · 24ebead8
      Rafa Bilski 提交于
      This is patch that solves Ebox mini PC issue and make
      FSB code more specification compilant. At start guess_fsb
      function is guessing 200MHz FSB too. It is better to
      make it in this way because, thanks to this function, driver
      will fail for bogus FSB values caused by bogus multiplier
      value. For PowerSaver processors we can't depend on Max /
      MinMHzFSB because these values are only used for
      PowerSaver 2.0 and 3.0. Most processors on which Longhaul
      is used are PowerSaver 1.0 only. I'm changing code for older
      CPU's too, but not so much as previously, and this code was
      already used for Ezra. Using MinMHzBR for Ezra-T is outside
      spec. It is for voltage scaling purpose and don't have to
      be equal to minmult (but it is). Same for Nehemiah (it
      isn't for sure). Added mult - current multiplier value.
      Signed-off-by: NRafa³ Bilski <rafalbilski@interia.pl>
      Signed-off-by: NDave Jones <davej@redhat.com>
      24ebead8
  3. 30 12月, 2006 1 次提交
    • R
      [CPUFREQ] Longhaul - Fix up powersaver assumptions. · 264166e6
      Rafa Bilski 提交于
      ACPI PM2 register was fallback for "Longhaul ver. 1" CPU's.
      My assumption that this register isn't present at
      "PowerSaver" motherboards is so far true, but current code
      will not work correctly in other case. There are three possible
      supports: ACPI C3, PM2 and northbridge. That was my assumption
      that ACPI C3 and northbridge is for PS and northbridge and PM2
      is for V1. In current code we can only check if it is ACPI
      support or not by port22_en. So remove port22_en and add
      longhaul_flags. If USE_ACPI_C3 and USE_NORTHBRIDGE are both
      clear then it means ACPI PM2 support. Also change order of
      support probe from ACPI C3, PM2, northbridge to ACPI C3,
      northbridge, ACPI PM2. Paranoid protection against port 0x22
      cast as ACPI PM2 register. Bit 1 clear in such case - lockup
      on AGP DMA. And obvious (now) fixup for do_powersaver. Use
      cx->address only for ACPI C3 ("PowerSaver" processor using
      PM2 support).
      Signed-off-by: NRafa Bilski <rafalbilski@interia.pl>
      Signed-off-by: NDave Jones <davej@redhat.com>
      264166e6
  4. 29 12月, 2006 1 次提交
  5. 18 12月, 2006 2 次提交
  6. 13 12月, 2006 2 次提交
  7. 28 9月, 2006 1 次提交
  8. 27 9月, 2006 1 次提交
  9. 06 9月, 2006 1 次提交
    • R
      [CPUFREQ] Longhaul - Add voltage scaling to driver · db44aaf3
      Rafa Bilski 提交于
      Rename option "dont_scale_voltage" to "scale_voltage" because
      don't will be default.
      Use "pos" for calculating voltage. In this way driver don't need
      to know mV value or low level value. Simply min U is one pos and
      max U is second pos. All pos between these two are used.
      Assume that min U is for min f and max U for max f. For frequency
      between min and max calculate pos based on difference between
      current frequency and min f.
      Values in mobile VRM table changed to values from
      C3-M datasheet.
      Signed-off-by: NRafa³ Bilski <rafalbilski@interia.pl>
      Signed-off-by: NDave Jones <davej@redhat.com>
      db44aaf3
  10. 14 8月, 2006 1 次提交
  11. 12 8月, 2006 1 次提交
    • R
      [CPUFREQ] Longhaul - Disable arbiter · 179da8e6
      Rafa Bilski 提交于
      ACPI C3 works for "Powersaver" processors, so use it only for them.
      
      Older CPU will change frequency on "halt" only. But we can protect transition
      in two ways:
      - by ACPI PM2 register, there is "bus master arbiter disable" bit.
        This isn't tested because VIA mainboards don't have PM2 register,
      - by PLE133 PCI/AGP arbiter disable register.
        There are two bits in this register. First is "PCI arbiter disable",
        second "AGP arbiter disable". This is working on VIA Epia 800 mainboards.
      
      Test on bm_control is more proper because this is true
      when PM2 register exist.
      Signed-off-by: NRafa³ Bilski <rafalbilski@interia.pl>
      Signed-off-by: NDave Jones <davej@redhat.com>
      179da8e6
  12. 01 8月, 2006 7 次提交
  13. 31 5月, 2006 2 次提交
  14. 05 9月, 2005 1 次提交
    • Z
      [PATCH] i386: inline asm cleanup · 4bb0d3ec
      Zachary Amsden 提交于
      i386 Inline asm cleanup.  Use cr/dr accessor functions.
      
      Also, a potential bugfix.  Also, some CR accessors really should be volatile.
      Reads from CR0 (numeric state may change in an exception handler), writes to
      CR4 (flipping CR4.TSD) and reads from CR2 (page fault) prevent instruction
      re-ordering.  I did not add memory clobber to CR3 / CR4 / CR0 updates, as it
      was not there to begin with, and in no case should kernel memory be clobbered,
      except when doing a TLB flush, which already has memory clobber.
      
      I noticed that page invalidation does not have a memory clobber.  I can't find
      a bug as a result, but there is definitely a potential for a bug here:
      
      #define __flush_tlb_single(addr) \
      	__asm__ __volatile__("invlpg %0": :"m" (*(char *) addr))
      Signed-off-by: NZachary Amsden <zach@vmware.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4bb0d3ec
  15. 02 9月, 2005 1 次提交
  16. 01 6月, 2005 3 次提交
  17. 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