1. 15 Feb, 2009 1 commit
    • Yinghai Lu's avatar
      x86: fix typo in filter_cpuid_features() · f6db44df
      Yinghai Lu authored
      Impact: fix wrong disabling of cpu features
      
      an amd system got this strange output:
      
       CPU: CPU feature monitor disabled due to lack of CPUID level 0x5
      
      but in /proc/cpuinfo I have:
      
       cpuid level	: 5
      
      on intel system:
      
       CPU: CPU feature monitor disabled due to lack of CPUID level 0x5
       CPU: CPU feature dca disabled due to lack of CPUID level 0x9
      
      but in /proc/cpuinfo i have:
      
       cpuid level     : 11
      
      Tt turns out there is a typo, and we should use level member in df.
      Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      f6db44df
  2. 24 Jan, 2009 3 commits
    • H. Peter Anvin's avatar
      x86: filter CPU features dependent on unavailable CPUID levels · b38b0665
      H. Peter Anvin authored
      Impact: Fixes potential crashes on misconfigured systems.
      
      Some CPU features require specific CPUID levels to be available in
      order to function, as they contain information about the operation of
      a specific feature.  However, some BIOSes and virtualization software
      provide the ability to mask CPUID levels in order to support legacy
      operating systems.  We try to enable such CPUID levels when we know
      how to do it, but for the remaining cases, filter out such CPU
      features when there is no way for us to support them.
      
      Do this in one place, in the CPUID code, with a table-driven approach.
      Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
      b38b0665
    • H. Peter Anvin's avatar
      x86: handle PAT more like other CPU features · 75a04811
      H. Peter Anvin authored
      Impact: Cleanup
      
      When PAT was originally introduced, it was handled specially for a few
      reasons:
      
      - PAT bugs are hard to track down, so we wanted to maintain a
        whitelist of CPUs.
      - The i386 and x86-64 CPUID code was not yet unified.
      
      Both of these are now obsolete, so handle PAT like any other features,
      including ordinary feature blacklisting due to known bugs.
      Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
      75a04811
    • H. Peter Anvin's avatar
      x86: clean up stray space in <asm/processor.h> · b1882e68
      H. Peter Anvin authored
      Impact: Whitespace cleanup only
      
      Clean up a stray space character in arch/x86/include/asm/processor.h.
      Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
      b1882e68
  3. 16 Jan, 2009 36 commits