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/
Home Products Support Community News


Re: [Xen-devel] [PATCH][PVOPS] preserve chip_data when initializing irq

To: Ronny Hegewald <ronny.hegewald@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][PVOPS] preserve chip_data when initializing irq in xen_allocate_pirq
From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Date: Wed, 29 Sep 2010 22:08:11 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 29 Sep 2010 14:08:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201009291851.53333.ronny.hegewald@xxxxxxxxx>
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>
Organization: Citrix Systems, Inc.
References: <201009290149.18913.ronny.hegewald@xxxxxxxxx> <1285753285.16095.37910.camel@xxxxxxxxxxxxxxxxxxxxxx> <201009291851.53333.ronny.hegewald@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 2010-09-29 at 19:51 +0100, Ronny Hegewald wrote: 
> 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.

Sorry, didn't spot the 2.6.31 bit.


Xen-devel mailing list

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