WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups
From: Espen Skoglund <espen.skoglund@xxxxxxxxxxxxx>
Date: Fri, 6 Feb 2009 11:24:52 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Espen Skoglund <espen.skoglund@xxxxxxxxxxxxx>
Delivery-date: Fri, 06 Feb 2009 03:26:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C5B10B1A.C97%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <18827.18994.337250.550799@xxxxxxxxxxxxxxxxxx> <C5B10B1A.C97%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[Keir Fraser]
> On 05/02/2009 20:21, "Espen Skoglund" <espen.skoglund@xxxxxxxxxxxxx> wrote:
>> Make setup_irq/request_irq/free_irq take vector param instead of
>> irq param

> Do you really think that's an improvement?

Yes.  Some interrupts, e.g., for handling IOMMU faults, do not need to
be associated with a pirq.  They just need to have a vector allocated
to them.  The way this used to work, the caller would have to invent a
IRQ to go with the vector (typically irq := vector) befor calling the
function.

        eSk


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>