linux/arch/x86/kernel/cpu
H. Peter Anvin b38b066590 x86: filter CPU features dependent on unavailable CPUID levels
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: H. Peter Anvin <hpa@linux.intel.com>
2009-01-23 18:08:05 -08:00
..
cpufreq Revert "cpumask: use work_on_cpu in acpi-cpufreq.c for drv_read and drv_write" 2009-01-12 19:24:23 +01:00
mcheck x86: fix section mismatch warnings in mcheck/mce_amd_64.c 2009-01-07 12:23:35 +01:00
mtrr Merge branch 'linus' into x86/cleanups 2009-01-02 22:41:36 +01:00
.gitignore
addon_cpuid_features.c x86: handle PAT more like other CPU features 2009-01-23 18:07:45 -08:00
amd.c x86: support always running TSC on Intel CPUs 2008-12-16 21:02:50 +01:00
bugs_64.c
bugs.c
centaur_64.c
centaur.c
cmpxchg.c
common.c x86: filter CPU features dependent on unavailable CPUID levels 2009-01-23 18:08:05 -08:00
cpu.h
cyrix.c
hypervisor.c x86: hypervisor - fix sparse warnings 2008-11-23 11:11:52 +01:00
intel_cacheinfo.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-cpumask into merge-rr-cpumask 2009-01-03 18:53:31 +01:00
intel.c x86: handle PAT more like other CPU features 2009-01-23 18:07:45 -08:00
Makefile Merge branch 'tracing-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-12-28 12:21:10 -08:00
mkcapflags.pl
perfctr-watchdog.c
powerflags.c
proc.c x86/proc: fix /proc/cpuinfo cpu offline bug 2008-10-22 14:29:37 +02:00
transmeta.c
umc.c
vmware.c x86: vmware - fix sparse warnings 2008-11-23 11:02:36 +01:00