From: Keir Fraser Subject: Re: [PATCH] IRQ: manually EOI migrating line interrupts Date: Tue, 30 Aug 2011 15:35:46 +0100 Message-ID: References: <4E5CF393.10903@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4E5CF393.10903@citrix.com> 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 , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 30/08/2011 15:28, "Andrew Cooper" wrote: > P.S. > > Because this fix actually works, it means that EOI'ing the IO-APIC is > keyed only on vector, and not the target CPU. As a result, having two > different interrupts in the IO-APIC with the same vector will result in > problems when trying to EOI one of them. > > I will address this problem as well in my IRQ cleanup, as I cant see any > checks for it currently. Isn't this a general issue with per-cpu vector allocations anyway? The usual irq-completion path of LAPIC EOI -> IO-APIC EOI broadcast will unavoidably have this issue. Every irq line on every IO-APIC currently programmed with that vector (regardless of target CPU) will get EOIed/unmasked. Not clear it's really a problem though! It might cause the odd spurious interrupt perhaps? -- Keir