1. 03 12月, 2009 27 次提交
  2. 25 11月, 2009 1 次提交
    • H
      [CPUFREQ] Enable ACPI PDC handshake for VIA/Centaur CPUs · d77b8197
      Harald Welte 提交于
      In commit 0de51088, we introduced the
      use of acpi-cpufreq on VIA/Centaur CPU's by removing a vendor check for
      VENDOR_INTEL.  However, as it turns out, at least the Nano CPU's also
      need the PDC (processor driver capabilities) handshake in order to
      activate the methods required for acpi-cpufreq.
      
      Since arch_acpi_processor_init_pdc() contains another vendor check for
      Intel, the PDC is not initialized on VIA CPU's.  The resulting behavior
      of a current mainline kernel on such systems is:  acpi-cpufreq
      loads and it indicates CPU frequency changes.  However, the CPU stays at
      a single frequency
      
      This trivial patch ensures that init_intel_pdc() is called on Intel and
      VIA/Centaur CPU's alike.
      Signed-off-by: NHarald Welte <HaraldWelte@viatech.com>
      Signed-off-by: NDave Jones <davej@redhat.com>
      d77b8197
  3. 18 11月, 2009 4 次提交
  4. 10 11月, 2009 1 次提交
  5. 08 11月, 2009 2 次提交
  6. 07 11月, 2009 1 次提交
  7. 06 11月, 2009 1 次提交
    • C
      x86: Make sure get_user_desc() doesn't sign extend. · 2c75910f
      Chris Lalancette 提交于
      The current implementation of get_user_desc() sign extends the return
      value because of integer promotion rules.  For the most part, this
      doesn't matter, because the top bit of base2 is usually 0.  If, however,
      that bit is 1, then the entire value will be 0xffff...  which is
      probably not what the caller intended.
      
      This patch casts the entire thing to unsigned before returning, which
      generates almost the same assembly as the current code but replaces the
      final "cltq" (sign extend) with a "mov %eax %eax" (zero-extend).  This
      fixes booting certain guests under KVM.
      Signed-off-by: NChris Lalancette <clalance@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      2c75910f
  8. 04 11月, 2009 3 次提交