Re: [Patch] Fix the possibility of insane return value ofhpet_calibrate() against SMI. (take 2)

From: Vojtech Pavlik
Date: Wed Mar 18 2009 - 04:27:32 EST


On Wed, Mar 18, 2009 at 08:44:30AM +0100, Clemens Ladisch wrote:
> Yasunori Goto wrote:
> > hpet_calibrate() has a possibility of miss-calibration due to SMI.
> > If SMI interrupts in the while loop of calibration, then return value
> > will be big. This change calibrates until stabilizing by the return
> > value with a small value.
> >
> > Signed-off-by: Yasunori Goto <y-goto@xxxxxxxxxxxxxx>
>
> Acked-by: Clemens Ladisch <clemens@xxxxxxxxxx>

Acked-by: Vojtech Pavlik <vojtech@xxxxxxx>

--
Vojtech Pavlik
Director SuSE Labs
--
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/