public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Bjorn Helgaas <bhelgaas@google.com>
Cc: Jan Beulich <JBeulich@suse.com>,
	xen-devel <xen-devel@lists.xen.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] xen-pciback: more uses of cached MSI-X capability offset
Date: Wed, 29 May 2013 17:03:46 -0400	[thread overview]
Message-ID: <20130529210346.GC2450@phenom.dumpdata.com> (raw)
In-Reply-To: <CAErSpo53UtV2bHVEMYWaHk-j5cVWxhYfX76qP=m1Q4gxsc8mUA@mail.gmail.com>

On Wed, May 29, 2013 at 02:51:11PM -0600, Bjorn Helgaas wrote:
> On Wed, May 29, 2013 at 6:31 AM, Jan Beulich <JBeulich@suse.com> wrote:
> > Signed-off-by: Jan Beulich <jbeulich@suse.com>
> >
> > ---
> >  drivers/xen/xen-pciback/pci_stub.c |    4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
> 
> I assume you'll take this, Konrad.  Let me know if you need me to do anything.

Yes, in my queue as we speak. Thanks.
> 
> > --- 3.10-rc3/drivers/xen/xen-pciback/pci_stub.c
> > +++ 3.10-rc3-xen-pciback-MSI-X-cap/drivers/xen/xen-pciback/pci_stub.c
> > @@ -106,7 +106,7 @@ static void pcistub_device_release(struc
> >         else
> >                 pci_restore_state(dev);
> >
> > -       if (pci_find_capability(dev, PCI_CAP_ID_MSIX)) {
> > +       if (dev->msix_cap) {
> >                 struct physdev_pci_device ppdev = {
> >                         .seg = pci_domain_nr(dev->bus),
> >                         .bus = dev->bus->number,
> > @@ -371,7 +371,7 @@ static int pcistub_init_device(struct pc
> >         if (err)
> >                 goto config_release;
> >
> > -       if (pci_find_capability(dev, PCI_CAP_ID_MSIX)) {
> > +       if (dev->msix_cap) {
> >                 struct physdev_pci_device ppdev = {
> >                         .seg = pci_domain_nr(dev->bus),
> >                         .bus = dev->bus->number,
> >
> >
> >

      reply	other threads:[~2013-05-29 21:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-29 12:31 [PATCH] xen-pciback: more uses of cached MSI-X capability offset Jan Beulich
2013-05-29 20:51 ` Bjorn Helgaas
2013-05-29 21:03   ` Konrad Rzeszutek Wilk [this message]

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=20130529210346.GC2450@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=JBeulich@suse.com \
    --cc=bhelgaas@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xen-devel@lists.xen.org \
    /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