From: "Jan Beulich" Subject: Re: [RFC Patch] x86/hpet: Disable interrupts while running hpet interrupt handler. Date: Tue, 06 Aug 2013 14:57:55 +0100 Message-ID: <52011D0302000078000E9AA8@nat28.tlf.novell.com> References: <1375735116-31466-1-git-send-email-andrew.cooper3@citrix.com> <5200C95F02000078000E9893@nat28.tlf.novell.com> <5200D0B8.4060706@citrix.com> <5200FDA002000078000E999E@nat28.tlf.novell.com> <5200F8CD.6070504@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1V6hlv-0003AU-Pe for xen-devel@lists.xenproject.org; Tue, 06 Aug 2013 13:57:59 +0000 In-Reply-To: <5200F8CD.6070504@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: xen-devel , Keir Fraser , Tim Deegan List-Id: xen-devel@lists.xenproject.org >>> On 06.08.13 at 15:23, Andrew Cooper wrote: > On 06/08/13 12:44, Jan Beulich wrote: >>>>> On 06.08.13 at 12:32, Andrew Cooper wrote: >>> The machine we found this crash on is a Dell R310. 4 CPUs, 16G Ram. >> Not all that big. >> >>> The full boot xl dmesg is attached, but it appears that the are 8 >>> broadcast hpets. This is futher backed up by the 'i' debugkey (also >>> attached) >> Right. And with fewer CPUs than HPET channels, you could get >> the system into a mode where each CPU uses a dedicated channel >> ("maxcpus=4", suppressing registration of all the disabled ones). > > Does this setup actually mean that there are 8 hpets which are all > broadcasting to every pcpu? The affinities listed in debug-keys 'i' > seem to be towards single pcpus, but the order looks peculiar to say the > least. No, each channel will be used for just one CPU when there are at least as many channels as CPUs. The difference between not using said command line option and using it is that in the former case a new channel would get assigned to a CPU each time it needs one, while in the latter case a static (pre-)assignment is used, i.e. each CPU will use always the same single channel. Jan