Displaying 7 results from an estimated 7 matches for "pci_msix_tabsize".
2009 May 20
0
[PATCHv2-RFC 2/2] qemu-kvm: use common code for assigned msix
...d *va = adev->msix_table_page;
-
- if (adev->cap.available & ASSIGNED_DEVICE_CAP_MSI)
- pos = pci_dev->cap.start + PCI_CAPABILITY_CONFIG_MSI_LENGTH;
- else
- pos = pci_dev->cap.start;
-
- entries_max_nr = pci_dev->config[pos + 2];
- entries_max_nr &= PCI_MSIX_TABSIZE;
- entries_max_nr += 1;
-
- /* Get the usable entry number for allocating */
- for (i = 0; i < entries_max_nr; i++) {
- memcpy(&msg_ctrl, va + i * 16 + 12, 4);
- memcpy(&msg_data, va + i * 16 + 8, 4);
- /* Ignore unused entry even it's unmasked */
-...
2009 May 20
0
[PATCHv2-RFC 2/2] qemu-kvm: use common code for assigned msix
...d *va = adev->msix_table_page;
-
- if (adev->cap.available & ASSIGNED_DEVICE_CAP_MSI)
- pos = pci_dev->cap.start + PCI_CAPABILITY_CONFIG_MSI_LENGTH;
- else
- pos = pci_dev->cap.start;
-
- entries_max_nr = pci_dev->config[pos + 2];
- entries_max_nr &= PCI_MSIX_TABSIZE;
- entries_max_nr += 1;
-
- /* Get the usable entry number for allocating */
- for (i = 0; i < entries_max_nr; i++) {
- memcpy(&msg_ctrl, va + i * 16 + 12, 4);
- memcpy(&msg_data, va + i * 16 + 8, 4);
- /* Ignore unused entry even it's unmasked */
-...
2009 May 11
0
[PATCH 2/2] qemu-kvm: use common code for assigned msix
...d *va = adev->msix_table_page;
-
- if (adev->cap.available & ASSIGNED_DEVICE_CAP_MSI)
- pos = pci_dev->cap.start + PCI_CAPABILITY_CONFIG_MSI_LENGTH;
- else
- pos = pci_dev->cap.start;
-
- entries_max_nr = pci_dev->config[pos + 2];
- entries_max_nr &= PCI_MSIX_TABSIZE;
- entries_max_nr += 1;
-
- /* Get the usable entry number for allocating */
- for (i = 0; i < entries_max_nr; i++) {
- memcpy(&msg_ctrl, va + i * 16 + 12, 4);
- memcpy(&msg_data, va + i * 16 + 8, 4);
- /* Ignore unused entry even it's unmasked */
-...
2009 May 11
0
[PATCH 2/2] qemu-kvm: use common code for assigned msix
...d *va = adev->msix_table_page;
-
- if (adev->cap.available & ASSIGNED_DEVICE_CAP_MSI)
- pos = pci_dev->cap.start + PCI_CAPABILITY_CONFIG_MSI_LENGTH;
- else
- pos = pci_dev->cap.start;
-
- entries_max_nr = pci_dev->config[pos + 2];
- entries_max_nr &= PCI_MSIX_TABSIZE;
- entries_max_nr += 1;
-
- /* Get the usable entry number for allocating */
- for (i = 0; i < entries_max_nr; i++) {
- memcpy(&msg_ctrl, va + i * 16 + 12, 4);
- memcpy(&msg_data, va + i * 16 + 8, 4);
- /* Ignore unused entry even it's unmasked */
-...
2011 Nov 22
3
[PATCH] qemu-xen: Don't redefine libpci (3.1.7) defines.
These values are already defined by the libpci heders in the version
3.1.7.
PCI_STATUS_66MHZ
PCI_STATUS_RESERVED2
PCI_STATUS_FAST_BACK
PCI_MSIX_TABSIZE
Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
---
hw/pci.h | 6 ++++++
hw/pt-msi.h | 2 ++
2 files changed, 8 insertions(+), 0 deletions(-)
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/...
2010 Apr 19
0
Fedora 12 and Xen build problem..
...from /xen-4.0-testing.hg/tools/ioemu-dir/hw/pt-msi.c:22:
/usr/include/pci/header.h:33:1: warning: this is the location of the
previous definition
In file included from /xen-4.0-testing.hg/tools/ioemu-dir/hw/pt-msi.c:22:
/xen-4.0-testing.hg/tools/ioemu-dir/hw/pt-msi.h:29:1: warning:
"PCI_MSIX_TABSIZE" redefined
In file included from
/xen-4.0-testing.hg/tools/ioemu-dir/hw/pass-through.h:23,
from /xen-4.0-testing.hg/tools/ioemu-dir/hw/pt-msi.h:5,
from /xen-4.0-testing.hg/tools/ioemu-dir/hw/pt-msi.c:22:
/usr/include/pci/header.h:871:1: warning: this is the lo...
2011 Dec 09
1
[xen-4.1-testing test] 10458: trouble: broken/fail/pass
...an.guyader@eu.citrix.com>
Date: Tue Nov 22 18:49:15 2011 +0000
qemu-xen: Don''t redefine libpci (3.1.7) defines.
These values are already defined by the libpci heders in the version
3.1.7.
PCI_STATUS_66MHZ
PCI_STATUS_RESERVED2
PCI_STATUS_FAST_BACK
PCI_MSIX_TABSIZE
Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
(cherry picked from commit 174d92a73a5d5e67c49501383a519021b72a2468)