Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-10-09 Thread H. Peter Anvin
On 09/27/2013 08:35 AM, KY Srinivasan wrote: Thanks Olaf. Could you submit the patch. Haven't heard anything from Olaf... could you fold in the fix and resumbit? -hpa ___ devel mailing list de...@linuxdriverproject.org

RE: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-10-09 Thread KY Srinivasan
...@redhat.com; t...@linutronix.de; jbeul...@suse.com; b...@alien8.de Subject: Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor On 09/27/2013 08:35 AM, KY Srinivasan wrote: Thanks Olaf. Could you submit the patch. Haven't heard anything from Olaf... could

Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-27 Thread Olaf Hering
On Tue, Sep 03, K. Y. Srinivasan wrote: 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

Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-27 Thread Olaf Hering
On Fri, Sep 27, KY Srinivasan wrote: This leads to build errors on 32bit: linux-3.12-rc2/arch/x86/kernel/cpu/mshyperv.c:88: undefined reference to `__udivdi3' Up to now I have only tested on 64bit, sorry for that. Thanks Olaf. I am travelling currently; I will fix it when I get

RE: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-27 Thread KY Srinivasan
...@linutronix.de; h...@zytor.com; jbeul...@suse.com; b...@alien8.de Subject: Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor On Fri, Sep 27, KY Srinivasan wrote: This leads to build errors on 32bit: linux-3.12-rc2/arch/x86/kernel/cpu/mshyperv.c:88

RE: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-27 Thread KY Srinivasan
...@linutronix.de; h...@zytor.com; jbeul...@suse.com; b...@alien8.de Subject: Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor On Tue, Sep 03, K. Y. Srinivasan wrote: Hyper-V supports a mechanism for retrieving the local APIC frequency.Use this and bypass

RE: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-23 Thread KY Srinivasan
; a...@canonical.com; jasow...@redhat.com; t...@linutronix.de; jbeul...@suse.com; b...@alien8.de Subject: Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor On Tue, Sep 17, 2013 at 07:53:36PM +, KY Srinivasan wrote: Thanks Gleb. Here is the link for the latest Hyper

RE: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-23 Thread KY Srinivasan
; jasow...@redhat.com; t...@linutronix.de; jbeul...@suse.com; b...@alien8.de; dmitry.torok...@gmail.com Subject: Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor On 09/23/2013 06:02 AM, KY Srinivasan wrote: Peter, Please let me know

Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-17 Thread Gleb Natapov
...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; jasow...@redhat.com; t...@linutronix.de; jbeul...@suse.com; b...@alien8.de Subject: Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor On Fri, Sep 13, 2013 at 01:43:09AM +

Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-17 Thread Gleb Natapov
On Tue, Sep 17, 2013 at 07:53:36PM +, KY Srinivasan wrote: Thanks Gleb. Here is the link for the latest Hyper-V specification: http://www.microsoft.com/en-us/download/details.aspx?id=39289 This spec talks about how migration is handled with regards to TSC. All I can see is

RE: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-13 Thread Jan Beulich
...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; jasow...@redhat.com; t...@linutronix.de; jbeul...@suse.com; b...@alien8.de Subject: Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor On 09/12/2013 05:06 PM, KY Srinivasan wrote: Peter, Let me

Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-13 Thread Gleb Natapov
...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; jasow...@redhat.com; t...@linutronix.de; jbeul...@suse.com; b...@alien8.de Subject: Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor On 09/12/2013 05:06 PM, KY Srinivasan wrote

RE: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-13 Thread KY Srinivasan
; a...@canonical.com; jasow...@redhat.com; t...@linutronix.de; jbeul...@suse.com; b...@alien8.de Subject: Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor On Fri, Sep 13, 2013 at 01:43:09AM +, KY Srinivasan wrote: -Original Message- From: H. Peter

Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-12 Thread H. Peter Anvin
On 09/12/2013 05:06 PM, KY Srinivasan wrote: Peter, Let me know if you want me to address any additional issues in this patch. Please address Jan and Gleb's feedback. -hpa ___ devel mailing list de...@linuxdriverproject.org

Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-05 Thread Gleb Natapov
...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; jasow...@redhat.com; t...@linutronix.de; h...@zytor.com; jbeul...@suse.com; b...@alien8.de Subject: Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor On Tue, Sep 03, 2013 at 11:30:23AM

RE: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-04 Thread KY Srinivasan
...@redhat.com; t...@linutronix.de; h...@zytor.com; jbeul...@suse.com; b...@alien8.de Subject: Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor On Tue, Sep 03, 2013 at 11:30:23AM -0700, K. Y. Srinivasan wrote: Hyper-V supports a mechanism for retrieving

RE: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-04 Thread KY Srinivasan
; jasow...@redhat.com; linux-ker...@vger.kernel.org; h...@zytor.com Subject: Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor On 03.09.13 at 20:30, K. Y. Srinivasan k...@microsoft.com wrote: @@ -76,6 +80,26 @@ static void __init ms_hyperv_init_platform(void

[PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-03 Thread K. Y. Srinivasan
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