From: "Jan Beulich" Subject: Re: High CPU temp, suspend problem - xen 4.1.5-pre, linux 3.7.x Date: Wed, 27 Mar 2013 08:52:46 +0000 Message-ID: <5152C16E02000078000C8CB8@nat28.tlf.novell.com> References: <5140E69F.9090803@invisiblethingslab.com> <20130315130240.GA8582@phenom.dumpdata.com> <514C79F3.5050504@invisiblethingslab.com> <20130322165651.GA4827@phenom.dumpdata.com> <515036BF.10105@invisiblethingslab.com> <20130325141701.GI11546@phenom.dumpdata.com> <515191CC.6060609@invisiblethingslab.com> <5151AC8C02000078000C88B9@nat28.tlf.novell.com> <5151A788.809@invisiblethingslab.com> <5151D4CC02000078000C8A1C@nat28.tlf.novell.com> <5151D0A9.7070100@invisiblethingslab.com> <5151D49C.2000809@citrix.com> <5151DE1C.1020307@invisiblethingslab.com> <5151E0D5.3050707@citrix.com> <5151E72D.30205@invisiblethingslab.com> <5151EE0B.9030605@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5151EE0B.9030605@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 , Marek Marczykowski Cc: Konrad Rzeszutek Wilk , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org >>> On 26.03.13 at 19:50, Andrew Cooper wrote: > So vector e9 doesn't appear to be programmed in anywhere. Quite obviously, as it's the 8259A vector for IRQ 9. The question really is why an IRQ appears on that vector in the first place. The 8259A resume code _should_ leave all IRQs masked on a fully IO-APIC system (see my question raised yesterday). And that's also why I suggested, for an experiment, to fiddle with the loop exit condition to exclude legacy vectors (which wouldn't be a final solution, but would at least tell us whether the direction is the right one). In the end, besides understanding why an interrupt on vector E9 gets raised at all, we may also need to tweak the IRQ migration logic to not do anything on legacy IRQs, but that would need to happen earlier than in smp_irq_move_cleanup_interrupt(). Considering that 4.3 apparently doesn't have this problem, we may need to go hunt for a change that isn't directly connected to this, yet deals with the problem as a side effect (at least I don't recall any particular fix since 4.2). One aspect here is the double mapping of legacy IRQs (once to their IO-APIC vector, and once to their legacy vector, i.e. vector_irq[] having two entries pointing to the same IRQ). Jan