From: Alex Williamson <alex.williamson@redhat.com>
To: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH] device-assignment, msi: PBA is long
Date: Wed, 16 Jun 2010 20:12:35 -0600 [thread overview]
Message-ID: <1276740755.12015.975.camel@x201> (raw)
In-Reply-To: <4C196D9C.5010903@jp.fujitsu.com>
On Thu, 2010-06-17 at 09:34 +0900, Hidetoshi Seto wrote:
> Accidentally a pci_read_long() was replaced with assigned_dev_pci_read_byte()
> by the commit:
> commit a81a1f0a7410976be7dbc9a81524a8640f446ab5
> Author: Alex Williamson <alex.williamson@redhat.com>
> device-assignment: Don't use libpci
>
> Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
> ---
> hw/device-assignment.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Oops.
Acked-by: Alex Williamson <alex.williamson@redhat.com>
> diff --git a/hw/device-assignment.c b/hw/device-assignment.c
> index e254203..e237bd3 100644
> --- a/hw/device-assignment.c
> +++ b/hw/device-assignment.c
> @@ -1263,7 +1263,7 @@ static int assigned_device_pci_cap_init(PCIDevice *pci_dev)
> pci_dev->cap.length + PCI_MSIX_TABLE) = msix_table_entry;
> *(uint32_t *)(pci_dev->config + pci_dev->cap.start +
> pci_dev->cap.length + PCI_MSIX_PBA) =
> - assigned_dev_pci_read_byte(pci_dev, pos + PCI_MSIX_PBA);
> + assigned_dev_pci_read_long(pci_dev, pos + PCI_MSIX_PBA);
> bar_nr = msix_table_entry & PCI_MSIX_BIR;
> msix_table_entry &= ~PCI_MSIX_BIR;
> dev->msix_table_addr = pci_region[bar_nr].base_addr + msix_table_entry;
next prev parent reply other threads:[~2010-06-17 2:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-17 0:34 [PATCH] device-assignment, msi: PBA is long Hidetoshi Seto
2010-06-17 2:12 ` Alex Williamson [this message]
2010-06-18 17:47 ` Marcelo Tosatti
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=1276740755.12015.975.camel@x201 \
--to=alex.williamson@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=seto.hidetoshi@jp.fujitsu.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.