Re: [PATCH] x86, hyperv: bypass the timer_irq_works() check

2014-02-11 Thread Jason Wang
On 01/26/2014 12:42 PM, Jason Wang wrote: > On 01/25/2014 05:20 AM, H. Peter Anvin wrote: >> On 01/23/2014 10:02 PM, Jason Wang wrote: >>> This patch bypass the timer_irq_works() check for hyperv guest since: >>> >>> - It was guaranteed to work. >>> - timer_irq_works() may fail sometime due to the

Re: [PATCH] x86, hyperv: bypass the timer_irq_works() check

2014-01-25 Thread Jason Wang
On 01/25/2014 05:20 AM, H. Peter Anvin wrote: > On 01/23/2014 10:02 PM, Jason Wang wrote: >> This patch bypass the timer_irq_works() check for hyperv guest since: >> >> - It was guaranteed to work. >> - timer_irq_works() may fail sometime due to the lpj calibration were >> inaccurate >> in a hyp

Re: [PATCH] x86, hyperv: bypass the timer_irq_works() check

2014-01-24 Thread H. Peter Anvin
On 01/23/2014 10:02 PM, Jason Wang wrote: > This patch bypass the timer_irq_works() check for hyperv guest since: > > - It was guaranteed to work. > - timer_irq_works() may fail sometime due to the lpj calibration were > inaccurate > in a hyperv guest or a buggy host. > > In the future, we sho

RE: [PATCH] x86, hyperv: bypass the timer_irq_works() check

2014-01-24 Thread KY Srinivasan
er.kernel.org > Cc: Jason Wang > Subject: [PATCH] x86, hyperv: bypass the timer_irq_works() check > > This patch bypass the timer_irq_works() check for hyperv guest since: > > - It was guaranteed to work. > - timer_irq_works() may fail sometime due to the lpj calibration were

[PATCH] x86, hyperv: bypass the timer_irq_works() check

2014-01-23 Thread Jason Wang
This patch bypass the timer_irq_works() check for hyperv guest since: - It was guaranteed to work. - timer_irq_works() may fail sometime due to the lpj calibration were inaccurate in a hyperv guest or a buggy host. In the future, we should get the tsc frequency from hypervisor and use preset lp