1. 02 4月, 2007 1 次提交
    • A
      [PATCH] x86-64: Disable local APIC timer use on AMD systems with C1E · 3556ddfa
      Andi Kleen 提交于
      AMD dual core laptops with C1E do not run the APIC timer correctly
      when they go idle. Previously the code assumed this only happened
      on C2 or deeper.  But not all of these systems report support C2.
      
      Use a AMD supplied snippet to detect C1E being enabled and then disable
      local apic timer use.
      
      This supercedes an earlier workaround using DMI detection of specific systems.
      
      Thanks to Mark Langsdorf for the detection snippet.
      Signed-off-by: NAndi Kleen <ak@suse.de>
      3556ddfa
  2. 27 2月, 2007 2 次提交
    • L
      Revert "[CPUFREQ] constify cpufreq_driver where possible." · 221dee28
      Linus Torvalds 提交于
      This reverts commit aeeddc14, which was
      half-baked and broken.  It just resulted in compile errors, since
      cpufreq_register_driver() still changes the 'driver_data' by setting
      bits in the flags field.  So claiming it is 'const' _really_ doesn't
      work.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      221dee28
    • L
      Revert "[PATCH] i386: add idle notifier" · ea3d5226
      Linus Torvalds 提交于
      This reverts commit 2ff2d3d7.
      
      Uwe Bugla reports that he cannot mount a floppy drive any more, and Jiri
      Slaby bisected it down to this commit.
      
      Benjamin LaHaise also points out that this is a big hot-path, and that
      interrupt delivery while idle is very common and should not go through
      all these expensive gyrations.
      
      Fix up conflicts in arch/i386/kernel/apic.c and arch/i386/kernel/irq.c
      due to other unrelated irq changes.
      
      Cc: Stephane Eranian <eranian@hpl.hp.com>
      Cc: Andi Kleen <ak@suse.de>
      Cc: Andrew Morton <akpm@osdl.org>
      Cc: Uwe Bugla <uwe.bugla@gmx.de>
      Cc: Jiri Slaby <jirislaby@gmail.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ea3d5226
  3. 23 2月, 2007 2 次提交
  4. 21 2月, 2007 1 次提交
  5. 15 2月, 2007 1 次提交
    • R
      [CPUFREQ] Longhaul - Redo Longhaul ver. 2 · 2b8c0e13
      Rafa Bilski 提交于
      Start using v2 version of Longhaul when available. It provides
      voltage scaling and can use ACPI C3 state. That's curious. CPU
      will not change frequency on ACPI C3 when v1 is in use, but it will
      when v2 is used. Driver will return max frequency all the time if
      this isn't true for all processors. There is strange thing with
      mobile voltage. Looks like only Nehemiah (C3-M) supports it.
      Earlier processors have different mobile VRM (in docs), but I can't
      find any which is using it. Looks like all are using VRM 8.5. So
      fail for non Nehemiah with mobile VRM.
      Signed-off-by: NRafal Bilski <rafalbilski@interia.pl>
      Signed-off-by: NDave Jones <davej@redhat.com>
      2b8c0e13
  6. 14 2月, 2007 1 次提交
  7. 13 2月, 2007 13 次提交
  8. 11 2月, 2007 4 次提交
  9. 05 2月, 2007 2 次提交
    • R
      [CPUFREQ] Longhaul - Add VT8235 support · 786f46b2
      Rafa Bilski 提交于
      I don't know why it is working and how, but it is working. On my
      Epia transition time is by default set to 100us. I'm changing it to
      200us. After that I can change frequency from min (x4.0) to max (x7.5)
      without lockup. Many times.
      There is a paranoid check at a beginning of a patch. Probably dead
      code, but I don't have better ideas for CL10000 case at the moment.
      Only way to to detect broken chip seems to be looking in log for
      spurious interrupts.
      Signed-off-by: NRafal Bilski <rafalbilski@interia.pl>
      Signed-off-by: NDave Jones <davej@redhat.com>
      786f46b2
    • R
      [CPUFREQ] Longhaul - Fix guess_fsb function · 46ef955f
      Rafa Bilski 提交于
      This is bug reported by John-Marc Chandonia:
      > Detected 1002.292 MHz processor.
      > longhaul: VIA C3 'Nehemiah B' [C5N] CPU detected.  Powersaver supported.
      > longhaul: Using throttling support.
      > longhaul: Invalid (reserved) FSB!
      FSB is correcly guessed for 999.554 MHz CPU.
      To fix this error:
      - ROUNDING should be range, not mask - at it's current value it is +7 -8,
      - more precise calculations inside guess_fsb - 7.5x133MHz is 1000MHz now.
      Signed-off-by: NRafal Bilski <rafalbilski@interia.pl>
      Signed-off-by: NDave Jones <davej@redhat.com>
      46ef955f
  10. 04 2月, 2007 4 次提交
  11. 03 2月, 2007 2 次提交
  12. 29 1月, 2007 1 次提交
  13. 23 1月, 2007 1 次提交
    • J
      [PATCH] x86: fix PDA variables to work during boot · 9ee79a3d
      James Bottomley 提交于
      The current PDA code, which went in in post 2.6.19 has a flaw in that it
      doesn't correctly cycle the GDT and %GS segment through the boot PDA,
      the CPU PDA and finally the per-cpu PDA.
      
      The bug generally doesn't show up if the boot CPU id is zero, but
      everything falls apart for a non zero boot CPU id.  The basically kills
      voyager which is perfectly capable of doing non zero CPU id boots, so
      voyager currently won't boot without this.
      
      The fix is to be careful and actually do the GDT setups correctly.
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      Cc: Andi Kleen <ak@suse.de>
      Cc: Jeremy Fitzhardinge <jeremy@goop.org>
      Cc: Andrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9ee79a3d
  14. 12 1月, 2007 1 次提交
  15. 06 1月, 2007 1 次提交
  16. 03 1月, 2007 3 次提交