Re: [PATCH] cpufreq/intel_pstate: Set timer timeout correctly

2013-04-05 Thread Parag Warudkar
On Fri, 5 Apr 2013, Viresh Kumar wrote: > On Thu, Apr 4, 2013 at 11:05 PM, wrote: > > From: Dirk Brandewie > > > > The current calculation of the delay time is wrong and a cut and paste > > error from a previous experimental driver. This can result in the > > timeout being set to jiffies + 1

Re: [PATCH] cpufreq/intel_pstate: Set timer timeout correctly

2013-04-04 Thread Adam Williamson
On 04/04/13 10:19 PM, Viresh Kumar wrote: On Thu, Apr 4, 2013 at 11:05 PM, wrote: From: Dirk Brandewie The current calculation of the delay time is wrong and a cut and paste error from a previous experimental driver. This can result in the timeout being set to jiffies + 1 which setup the dr

Re: [PATCH] cpufreq/intel_pstate: Set timer timeout correctly

2013-04-04 Thread Viresh Kumar
On Thu, Apr 4, 2013 at 11:05 PM, wrote: > From: Dirk Brandewie > > The current calculation of the delay time is wrong and a cut and paste > error from a previous experimental driver. This can result in the > timeout being set to jiffies + 1 which setup the driver to race with > it's self if the

[PATCH] cpufreq/intel_pstate: Set timer timeout correctly

2013-04-04 Thread dirk . brandewie
From: Dirk Brandewie The current calculation of the delay time is wrong and a cut and paste error from a previous experimental driver. This can result in the timeout being set to jiffies + 1 which setup the driver to race with it's self if the apic timer interrupt happen at just the right time.