All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Borntraeger <borntraeger@de.ibm.com>
To: Wei Yang <richard.weiyang@gmail.com>
Cc: qemu-trivial@nongnu.org, Cornelia Huck <cornelia.huck@de.ibm.com>,
	Yi Min Zhao <zyimin@linux.vnet.ibm.com>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-trivial] [PATCH 2/2] s390x/pci: use PCI_MSIX_FLAGS on retrieving the MSIX entries
Date: Mon, 22 Feb 2016 14:15:07 +0100	[thread overview]
Message-ID: <56CB09DB.7070604@de.ibm.com> (raw)
In-Reply-To: <1455895091-7589-3-git-send-email-richard.weiyang@gmail.com>

On 02/19/2016 04:18 PM, Wei Yang wrote:
> Even PCI_CAP_FLAGS has the same value as PCI_MSIX_FLAGS, the later one is
> the more proper on retrieving MSIX entries.
> 
> This patch uses PCI_MSIX_FLAGS to retrieve the MSIX entries.
> 
> Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
> CC: Cornelia Huck <cornelia.huck@de.ibm.com>
> CC: Christian Borntraeger <borntraeger@de.ibm.com>
> ---
>  hw/s390x/s390-pci-bus.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/s390x/s390-pci-bus.c b/hw/s390x/s390-pci-bus.c
> index 132588b..9d40039 100644
> --- a/hw/s390x/s390-pci-bus.c
> +++ b/hw/s390x/s390-pci-bus.c
> @@ -523,7 +523,7 @@ static int s390_pcihost_setup_msix(S390PCIBusDevice *pbdev)
>          return 0;
>      }
> 
> -    ctrl = pci_host_config_read_common(pbdev->pdev, pos + PCI_CAP_FLAGS,
> +    ctrl = pci_host_config_read_common(pbdev->pdev, pos + PCI_MSIX_FLAGS,
>               pci_config_size(pbdev->pdev), sizeof(ctrl));
>      table = pci_host_config_read_common(pbdev->pdev, pos + PCI_MSIX_TABLE,
>               pci_config_size(pbdev->pdev), sizeof(table));
> 

looks sane.
Yi Min, can you ack/nack?




WARNING: multiple messages have this Message-ID (diff)
From: Christian Borntraeger <borntraeger@de.ibm.com>
To: Wei Yang <richard.weiyang@gmail.com>
Cc: qemu-trivial@nongnu.org, Cornelia Huck <cornelia.huck@de.ibm.com>,
	Yi Min Zhao <zyimin@linux.vnet.ibm.com>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 2/2] s390x/pci: use PCI_MSIX_FLAGS on retrieving the MSIX entries
Date: Mon, 22 Feb 2016 14:15:07 +0100	[thread overview]
Message-ID: <56CB09DB.7070604@de.ibm.com> (raw)
In-Reply-To: <1455895091-7589-3-git-send-email-richard.weiyang@gmail.com>

On 02/19/2016 04:18 PM, Wei Yang wrote:
> Even PCI_CAP_FLAGS has the same value as PCI_MSIX_FLAGS, the later one is
> the more proper on retrieving MSIX entries.
> 
> This patch uses PCI_MSIX_FLAGS to retrieve the MSIX entries.
> 
> Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
> CC: Cornelia Huck <cornelia.huck@de.ibm.com>
> CC: Christian Borntraeger <borntraeger@de.ibm.com>
> ---
>  hw/s390x/s390-pci-bus.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/s390x/s390-pci-bus.c b/hw/s390x/s390-pci-bus.c
> index 132588b..9d40039 100644
> --- a/hw/s390x/s390-pci-bus.c
> +++ b/hw/s390x/s390-pci-bus.c
> @@ -523,7 +523,7 @@ static int s390_pcihost_setup_msix(S390PCIBusDevice *pbdev)
>          return 0;
>      }
> 
> -    ctrl = pci_host_config_read_common(pbdev->pdev, pos + PCI_CAP_FLAGS,
> +    ctrl = pci_host_config_read_common(pbdev->pdev, pos + PCI_MSIX_FLAGS,
>               pci_config_size(pbdev->pdev), sizeof(ctrl));
>      table = pci_host_config_read_common(pbdev->pdev, pos + PCI_MSIX_TABLE,
>               pci_config_size(pbdev->pdev), sizeof(table));
> 

looks sane.
Yi Min, can you ack/nack?

  reply	other threads:[~2016-02-22 13:15 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-19 15:18 [Qemu-trivial] [PATCH 0/2] use PCI_MSIX_FLAGS on retrieving the MSIX entries Wei Yang
2016-02-19 15:18 ` [Qemu-devel] " Wei Yang
2016-02-19 15:18 ` [Qemu-trivial] [PATCH 1/2] vfio/pci: " Wei Yang
2016-02-19 15:18   ` [Qemu-devel] " Wei Yang
2016-02-19 16:45   ` [Qemu-trivial] " Alex Williamson
2016-02-19 16:45     ` Alex Williamson
2016-02-19 23:38     ` [Qemu-trivial] " Wei Yang
2016-02-19 23:38       ` Wei Yang
2016-02-19 15:18 ` [Qemu-trivial] [PATCH 2/2] s390x/pci: " Wei Yang
2016-02-19 15:18   ` [Qemu-devel] " Wei Yang
2016-02-22 13:15   ` Christian Borntraeger [this message]
2016-02-22 13:15     ` Christian Borntraeger
2016-02-23  6:17     ` [Qemu-trivial] " Yi Min Zhao
2016-02-23  6:17       ` [Qemu-devel] " Yi Min Zhao
2016-02-23 22:24       ` [Qemu-trivial] " Wei Yang
2016-02-23 22:24         ` [Qemu-devel] " Wei Yang
2016-02-24  9:40   ` [Qemu-trivial] " Cornelia Huck
2016-02-24  9:40     ` [Qemu-devel] " Cornelia Huck
2016-02-24 14:29     ` [Qemu-trivial] " Wei Yang
2016-02-24 14:29       ` [Qemu-devel] " Wei Yang

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=56CB09DB.7070604@de.ibm.com \
    --to=borntraeger@de.ibm.com \
    --cc=cornelia.huck@de.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=richard.weiyang@gmail.com \
    --cc=zyimin@linux.vnet.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.