kernel_optimize_test/arch/x86/kernel/cpu
H. Peter Anvin e08cae4181 x86: Clean up the hypervisor layer
Clean up the hypervisor layer and the hypervisor drivers, using an ops
structure instead of an enumeration with if statements.

The identity of the hypervisor, if needed, can be tested by testing
the pointer value in x86_hyper.

The MS-HyperV private state is moved into a normal global variable
(it's per-system state, not per-CPU state).  Being a normal bss
variable, it will be left at all zero on non-HyperV platforms, and so
can generally be tested for HyperV-specific features without
additional qualification.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Acked-by: Greg KH <greg@kroah.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Alok Kataria <akataria@vmware.com>
Cc: Ky Srinivasan <ksrinivasan@novell.com>
LKML-Reference: <4BE49778.6060800@zytor.com>
2010-05-07 17:13:04 -07:00
..
cpufreq powernow-k8: Fix frequency reporting 2010-04-09 14:07:47 -07:00
mcheck x86/mce: Fix build bug with CONFIG_PROVE_LOCKING=y && CONFIG_X86_MCE_INTEL=y 2010-03-14 08:57:03 +01:00
mtrr x86: fix mtrr missing kernel-doc 2010-03-05 11:46:03 -08:00
.gitignore
addon_cpuid_features.c x86, cpu: Make APERF/MPERF a normal table-driven flag 2010-05-03 15:49:31 -07:00
amd.c x86, amd: Get multi-node CPU info from NodeId MSR instead of PCI config space 2009-12-16 15:06:23 -08:00
bugs_64.c x86/cpu: Clean up various files a bit 2009-07-11 11:24:09 +02:00
bugs.c x86/cpu: Clean up various files a bit 2009-07-11 11:24:09 +02:00
centaur.c x86, cpu: mv display_cacheinfo -> cpu_detect_cache_sizes 2009-11-23 11:59:53 -08:00
cmpxchg.c
common.c Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-12-14 12:36:46 -08:00
cpu.h x86, cpu: mv display_cacheinfo -> cpu_detect_cache_sizes 2009-11-23 11:59:53 -08:00
cyrix.c x86, cpu: mv display_cacheinfo -> cpu_detect_cache_sizes 2009-11-23 11:59:53 -08:00
hypervisor.c x86: Clean up the hypervisor layer 2010-05-07 17:13:04 -07:00
intel_cacheinfo.c x86, cacheinfo: Disable index in all four subcaches 2010-04-22 17:17:27 -07:00
intel.c x86: Unify APERF/MPERF support 2010-04-09 14:05:50 -07:00
Makefile x86: Detect running on a Microsoft HyperV system 2010-05-06 18:24:15 -07:00
mkcapflags.pl
mshyperv.c x86: Clean up the hypervisor layer 2010-05-07 17:13:04 -07:00
perf_event_amd.c x86 / perf: Fix suspend to RAM on HP nx6325 2010-03-22 09:57:19 -07:00
perf_event_intel.c perf, x86: Avoid double disable on throttle vs ioctl(PERF_IOC_DISABLE) 2010-03-10 13:22:31 +01:00
perf_event_p6.c perf, x86: Change x86_pmu.{enable,disable} calling convention 2010-03-10 13:22:28 +01:00
perf_event.c perf: Fix unexported generic perf_arch_fetch_caller_regs 2010-03-17 12:26:49 +01:00
perfctr-watchdog.c perf, x86: rename macro in ARCH_PERFMON_EVENTSEL_ENABLE 2010-03-01 14:21:23 +01:00
powerflags.c
proc.c Merge branch 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-09-14 07:57:32 -07:00
sched.c sched: x86: Name old_perf in a unique way 2009-09-16 11:21:07 +02:00
transmeta.c x86, cpu: mv display_cacheinfo -> cpu_detect_cache_sizes 2009-11-23 11:59:53 -08:00
umc.c x86: move various CPU initialization objects into .cpuinit.rodata 2009-03-12 13:13:07 +01:00
vmware.c x86: Clean up the hypervisor layer 2010-05-07 17:13:04 -07:00