diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2013-09-30 17:28:52 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-10-10 11:44:12 -0700 |
commit | 9e7827b5ea4ca93b4d864bc07c0fafb838d496b1 (patch) | |
tree | 6ceba20f6e2961e29dfdf42b02e1881cd629b94b /kernel/lglock.c | |
parent | d0e639c9e06d44e713170031fe05fb60ebe680af (diff) | |
download | op-kernel-dev-9e7827b5ea4ca93b4d864bc07c0fafb838d496b1.zip op-kernel-dev-9e7827b5ea4ca93b4d864bc07c0fafb838d496b1.tar.gz |
x86, hyperv: Get the local APIC timer frequency from the hypervisor
Hyper-V supports a mechanism for retrieving the local APIC frequency.
Use this and bypass the calibration code in the kernel . This would
allow us to boot the Linux kernel as a "modern VM" on Hyper-V where
many of the legacy devices (such as PIT) are not emulated.
I would like to thank Olaf Hering <olaf@aepfle.de>, Jan Beulich <JBeulich@suse.com> and
H. Peter Anvin <h.peter.anvin@intel.com> for their help in this effort.
In this version of the patch, I have addressed Jan's comments.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Link: http://lkml.kernel.org/r/1380554932-9888-1-git-send-email-olaf@aepfle.de
Tested-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'kernel/lglock.c')
0 files changed, 0 insertions, 0 deletions