Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755448AbZCRHoq (ORCPT ); Wed, 18 Mar 2009 03:44:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753703AbZCRHof (ORCPT ); Wed, 18 Mar 2009 03:44:35 -0400 Received: from smtprelay03.ispgateway.de ([80.67.18.15]:34419 "EHLO smtprelay03.ispgateway.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753702AbZCRHof (ORCPT ); Wed, 18 Mar 2009 03:44:35 -0400 Message-ID: <49C0A65E.2000101@ladisch.de> Date: Wed, 18 Mar 2009 08:44:30 +0100 From: Clemens Ladisch User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Yasunori Goto CC: Paul Gortmaker , Linux Kernel ML , robert.picco@hp.com, venkatesh.pallipadi@intel.com, vojtech@suse.cz, mingo@redhat.com, Andrew Morton Subject: Re: [Patch] Fix the possibility of insane return value of hpet_calibrate() against SMI. (take 2) References: <49BFA1D7.8020302@windriver.com> <20090318094346.7BA9.E1E9C6FF@jp.fujitsu.com> <20090318113948.7BAD.E1E9C6FF@jp.fujitsu.com> In-Reply-To: <20090318113948.7BAD.E1E9C6FF@jp.fujitsu.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Df-Sender: linux-kernel@cl.domainfactory-kunde.de Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 612 Lines: 15 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 Acked-by: Clemens Ladisch -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/