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

From: Parag Warudkar
Date: Fri Apr 05 2013 - 19:46:23 EST




On Fri, 5 Apr 2013, Viresh Kumar wrote:

> On Thu, Apr 4, 2013 at 11:05 PM, <dirk.brandewie@xxxxxxxxx> wrote:
> > From: Dirk Brandewie <dirk.brandewie@xxxxxxxxx>
> >
> > 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.
> >
> >
> > https://bugzilla.redhat.com/show_bug.cgi?id=920289
> >
> > Reported-by: Adam Williamson <awilliam@xxxxxxxxxx>
> > Reported-by: Parag Warudkar <parag.lkml@xxxxxxxxx>
> >
> > Signed-off-by: Dirk Brandewie <dirk.brandewie@xxxxxxxxx>
> > ---
> > drivers/cpufreq/intel_pstate.c | 1 -
> > 1 files changed, 0 insertions(+), 1 deletions(-)
>
> Looks fine, but I would like to see a Tested-by from Adam/Parag
> as they haven't said anything about this patch (even in bugzilla).
>

I am running with the patch since yesterday - everything looks good.

The issue hasn't been reproducible on demand but some code reading and
Dirk's explanation says the patch should fix the issue.

So - Tested-by: Parag Warudkar <parag.lkml@xxxxxxxxx>

Parag
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/