summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2009-01-24 02:20:50 +0100
committerH. Peter Anvin <hpa@linux.intel.com>2009-01-24 03:08:05 +0100
commitb38b0665905538e76e26f2a4c686179abb1f69f6 (patch)
tree849514b44863461c542872173221c3f365a0e6a7 /arch/x86/include
parentx86: handle PAT more like other CPU features (diff)
downloadlinux-b38b0665905538e76e26f2a4c686179abb1f69f6.tar.xz
linux-b38b0665905538e76e26f2a4c686179abb1f69f6.zip
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>
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions