1. 08 Sep, 2008 20 commits
  2. 07 Sep, 2008 5 commits
  3. 06 Sep, 2008 12 commits
  4. 05 Sep, 2008 3 commits
    • H. Peter Anvin's avatar
      x86: use X86_FEATURE_NOPL in alternatives · f31d731e
      H. Peter Anvin authored
      Use X86_FEATURE_NOPL to determine if it is safe to use P6 NOPs in
      alternatives.  Also, replace table and loop with simple if statement.
      Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
      f31d731e
    • H. Peter Anvin's avatar
      x86: add NOPL as a synthetic CPU feature bit · b6734c35
      H. Peter Anvin authored
      The long noops ("NOPL") are supposed to be detected by family >= 6.
      Unfortunately, several non-Intel x86 implementations, both hardware
      and software, don't obey this dictum.  Instead, probe for NOPL
      directly by executing a NOPL instruction and see if we get #UD.
      Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
      b6734c35
    • H. Peter Anvin's avatar
      x86: boot: stub out unimplemented CPU feature words · b74b06c5
      H. Peter Anvin authored
      The CPU feature detection code in the boot code is somewhat minimal,
      and doesn't include all possible CPUID words.  In particular, it
      doesn't contain the code for CPU feature words 2 (Transmeta),
      3 (Linux-specific), 5 (VIA), or 7 (scattered).  Zero them out, so we
      can still set those bits as known at compile time; in particular, this
      allows creating a Linux-specific NOPL flag and have it required (and
      therefore resolvable at compile time) in 64-bit mode.
      Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
      b74b06c5