From: Ronny Hegewald Subject: Re: [PATCH][PVOPS] preserve chip_data when initializing irq in xen_allocate_pirq Date: Wed, 29 Sep 2010 18:51:53 +0000 Message-ID: <201009291851.53333.ronny.hegewald@online.de> References: <201009290149.18913.ronny.hegewald@online.de> <1285753285.16095.37910.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1285753285.16095.37910.camel@zakaz.uk.xensource.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org 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.