From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH] qemu-xen: free all the pirqs for msi/msix when driver unload Date: Tue, 8 Apr 2014 13:29:45 -0400 Message-ID: <20140408172945.GA768@phenom.dumpdata.com> References: <1396975053-16435-1-git-send-email-konrad@kernel.org> <1396975053-16435-2-git-send-email-konrad@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WXZqP-0003Bg-Qa for xen-devel@lists.xenproject.org; Tue, 08 Apr 2014 17:29:58 +0000 Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: anthony.perard@citrix.com, konrad@kernel.org, Zhenzhong Duan , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Tue, Apr 08, 2014 at 06:22:09PM +0100, Stefano Stabellini wrote: > On Tue, 8 Apr 2014, konrad@kernel.org wrote: > > From: Zhenzhong Duan > > > > Pirqs are not freed when driver unload, then new pirqs are allocated when > > driver reload. This could exhaust pirqs if do it in a loop. > > > > This patch fixes the bug by freeing pirqs when ENABLE bit is cleared in > > msi/msix control reg. > > > > There is also other way of fixing it such as reuse pirqs between driver reload, > > but this way is better. > > Xen-devel: http://marc.info/?l=xen-devel&m=136800120304275&w=2 > > > > Signed-off-by: Zhenzhong Duan > > Signed-off-by: Konrad Rzeszutek Wilk > > I'll add it to my queue. Yeey! > At the moment they are busy with the QEMU 2.0 release, I would rather > wait for the next merge window. OK. When should I ping you so that in the unlikely event it gets lost I would ping you? Thanks!