From: Keir Fraser Subject: Re: [PATCH] [RFC] MSI and interrupt mapping Date: Wed, 04 Feb 2009 18:02:27 +0000 Message-ID: References: <18825.54424.7532.479107@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <18825.54424.7532.479107@gargle.gargle.HOWL> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Espen Skoglund , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 04/02/2009 17:47, "Espen Skoglund" wrote: > More generally speaking, the current state of affairs with regards to > interrupt management in Xen can be a bit confusing from the source > code point of view. Essentially, all irqs except some legacy > interrupts are assumed to be IOAPIC irqs. This assumption breaks down > with the introduction of MSIs and per-domain pirq tables. It might > therefore be worthwile to rename a few things and slightly restructure > the Xen code to make the distinction between IOAPIC irqs and other > interrupts clearer. I could volunteer to have a stab at such a > cleanup if this is something people want. > > Comments? Sketch out what you mean in a bit more detail and I'll think about it. The stuff in arch/x86/irq.c at least makes reasonable sense to me right now (of course ;-). -- Keir