x86, hyperv: Get the local APIC timer frequency from the hypervisor
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 30 Sep 2013 15:28:52 +0000 (17:28 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 10 Oct 2013 18:44:12 +0000 (11:44 -0700)
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>

No differences found