Re: [PATCH] device-assignment, msi: PBA is long

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
>     device-assignment: Don't use libpci
> 
> Signed-off-by: Hidetoshi Seto <seto.hidetoshi@xxxxxxxxxxxxxx>
> ---
>  hw/device-assignment.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Oops.

Acked-by: Alex Williamson <alex.williamson@xxxxxxxxxx>

> 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;



--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux