x86: handle PAT more like other CPU features
commit75a048119e76540d73132cfc8e0fa0c0a8bb6c83
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 23 Jan 2009 00:17:05 +0000 (22 16:17 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Sat, 24 Jan 2009 02:07:45 +0000 (23 18:07 -0800)
tree2a4d88809efae435e6fe8e33e630f92d76742c9d
parentb1882e68d17a93b523dce09c3a181319aace2f0e
x86: handle PAT more like other CPU features

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: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/pat.h
arch/x86/kernel/cpu/addon_cpuid_features.c
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/intel.c
arch/x86/mm/pat.c