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][PVOPS] preserve chip_data when initializing irq

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][PVOPS] preserve chip_data when initializing irq in xen_allocate_pirq
From: Ronny Hegewald <ronny.hegewald@xxxxxxxxx>
Date: Wed, 29 Sep 2010 18:51:53 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 29 Sep 2010 10:54:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1285753285.16095.37910.camel@xxxxxxxxxxxxxxxxxxxxxx>
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: <201009290149.18913.ronny.hegewald@xxxxxxxxx> <1285753285.16095.37910.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.11.4 (Linux/2.6.31.9; KDE/4.2.4; i686; ; )
On Wednesday 29 September 2010, you wrote:
> On Wed, 2010-09-29 at 02:49 +0100, Ronny Hegewald wrote:
> > The root-problem is that in xen_allocate_pirq the chip_data is 
cleared
> > by the call to dynamic_irq_init. The attached patch fixes this by
> > reinserting chip_data after the call to dynamic_irq_init.
>
> dynamic_irq_init_keep_chip_data will do this for you.

Unfortunatly this function is available since 2.6.32. This why i have 
send separate patches for 2.6.31 and 2.6.32. The patch for 2.6.32 uses 
dynamic_irq_init_keep_chip_data.


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