From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: anthony.perard@citrix.com, konrad@kernel.org,
Zhenzhong Duan <zhenzhong.duan@oracle.com>,
xen-devel@lists.xenproject.org
Subject: Re: [PATCH] qemu-xen: free all the pirqs for msi/msix when driver unload
Date: Tue, 8 Apr 2014 13:29:45 -0400 [thread overview]
Message-ID: <20140408172945.GA768@phenom.dumpdata.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1404081820560.3595@kaball.uk.xensource.com>
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 <zhenzhong.duan@oracle.com>
> >
> > 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 <zhenzhong.duan@oracle.com>
> > Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
>
> 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!
next prev parent reply other threads:[~2014-04-08 17:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-08 16:37 [PATCH] Fix qemu-xen with PCI passthrough konrad
2014-04-08 16:37 ` [PATCH] qemu-xen: free all the pirqs for msi/msix when driver unload konrad
2014-04-08 17:22 ` Stefano Stabellini
2014-04-08 17:29 ` Konrad Rzeszutek Wilk [this message]
2014-04-08 17:38 ` Stefano Stabellini
2014-04-30 13:30 ` Konrad Rzeszutek Wilk
-- strict thread matches above, loose matches on Subject: below --
2013-07-01 5:46 Zhenzhong Duan
2013-07-01 11:54 ` Stefano Stabellini
2013-07-02 5:54 ` DuanZhenzhong
2013-07-02 10:25 ` Stefano Stabellini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140408172945.GA768@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=anthony.perard@citrix.com \
--cc=konrad@kernel.org \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xenproject.org \
--cc=zhenzhong.duan@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).