From: "Jan Beulich" Subject: Re: AMD Magny-Cours and HPET Date: Tue, 16 Aug 2011 13:55:09 +0100 Message-ID: <4E4A84CD02000078000517D2@nat28.tlf.novell.com> References: <4E4A3CA1.3050100@citrix.com> <4E4A5DE90200007800051741@nat28.tlf.novell.com> <4E4A6351.4030209@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4E4A6351.4030209@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andrew Cooper Cc: ChristophEgger , Wei Huang , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org >>> On 16.08.11 at 14:32, Andrew Cooper wrote: > On 16/08/11 11:09, Jan Beulich wrote: >>>>> On 16.08.11 at 11:47, Andrew Cooper = wrote: >>> The support engineer who raised the bug says that it doesn't occur = with >>> Xen-4.1. Is there anything architecturally new in the Magny-Cours >>> processors which might explain this behavior? >> Possibly more a question of the surrounding platform, namely whether >> there are HPETs in the system, and whether they get used for the >> C-state broadcasting. >=20 > Why would C-state broadcasting make a difference at this point? I have > narrowed the crash down a bit, and local_time_calibration() is dumping > its state after one_cpu_only() and before the shootdown actually > occurs. However, I cant see any code between these two points which > alters the state of the other CPU, which should still be running > normally at this point. That "num_hpets_used > 0" check in hpet_broadcast_is_available() could be false for all other AMD systems you had tried this on, and hence you might not be getting into hpet_disable_legacy_broadcast() there at all. (4.0.2 and 4.1.1 have, btw., an extra non-zero check against legacy_hpet_event.shift in hpet_disable_legacy_broadcast(); 4.0.1 and 4.1.0 don't.) Jan