[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 11/14] s390x/pci: use PCI_MSIX_FLAGS on retrieving th
From: |
Cornelia Huck |
Subject: |
[Qemu-devel] [PULL 11/14] s390x/pci: use PCI_MSIX_FLAGS on retrieving the MSIX entries |
Date: |
Tue, 1 Mar 2016 12:53:00 +0100 |
From: Wei Yang <address@hidden>
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 <address@hidden>
CC: Cornelia Huck <address@hidden>
CC: Christian Borntraeger <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>
---
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 5d6cebb..dba0202 100644
--- a/hw/s390x/s390-pci-bus.c
+++ b/hw/s390x/s390-pci-bus.c
@@ -524,7 +524,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));
--
2.7.2
- [Qemu-devel] [PULL 00/14] s390x patches, Cornelia Huck, 2016/03/01
- [Qemu-devel] [PULL 02/14] s390x/kvm: sync fprs via kvm_run, Cornelia Huck, 2016/03/01
- [Qemu-devel] [PULL 03/14] s390x: fix debug statement in trigger_page_fault(), Cornelia Huck, 2016/03/01
- [Qemu-devel] [PULL 05/14] watchdog/diag288: avoid race condition on expired watchdog, Cornelia Huck, 2016/03/01
- [Qemu-devel] [PULL 08/14] s390x/pci: fix reg/dereg irq functions, Cornelia Huck, 2016/03/01
- [Qemu-devel] [PULL 09/14] s390x/css: Allocate channel_subsys statically, Cornelia Huck, 2016/03/01
- [Qemu-devel] [PULL 11/14] s390x/pci: use PCI_MSIX_FLAGS on retrieving the MSIX entries,
Cornelia Huck <=
- [Qemu-devel] [PULL 13/14] MAINTAINERS: Remove entry for hw/s390x/s390-virtio-bus.[ch], Cornelia Huck, 2016/03/01
- [Qemu-devel] [PULL 04/14] s390x: remove {kvm_}s390_virtio_irq(), Cornelia Huck, 2016/03/01
- [Qemu-devel] [PULL 14/14] s390x/css: only suspend when enabled by orb, Cornelia Huck, 2016/03/01
- [Qemu-devel] [PULL 06/14] s390x/virtio: old machine leftovers, Cornelia Huck, 2016/03/01
- [Qemu-devel] [PULL 01/14] linux-headers: update against kvm/next, Cornelia Huck, 2016/03/01
- [Qemu-devel] [PULL 12/14] MAINTAINERS: Remove the old s390-virtio machine, Cornelia Huck, 2016/03/01
- [Qemu-devel] [PULL 07/14] s390x/css: introduce indicator refcounting interfaces, Cornelia Huck, 2016/03/01
- [Qemu-devel] [PULL 10/14] s390x/css: Use static initialization for channel_subsys fields, Cornelia Huck, 2016/03/01
- Re: [Qemu-devel] [PULL 00/14] s390x patches, Peter Maydell, 2016/03/01