From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH][PVOPS] preserve chip_data when initializing irq in xen_allocate_pirq Date: Wed, 29 Sep 2010 22:08:11 +0100 Message-ID: <1285794491.9597.200.camel@localhost.localdomain> References: <201009290149.18913.ronny.hegewald@online.de> <1285753285.16095.37910.camel@zakaz.uk.xensource.com> <201009291851.53333.ronny.hegewald@online.de> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <201009291851.53333.ronny.hegewald@online.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ronny Hegewald Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org 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. Thanks, Ian.