linux-stable/drivers/xen/xen-pciback
Jan Beulich 0ee46eca04 xen/pciback: fix XEN_PCI_OP_enable_msix result
Prior to 2.6.19 and as of 2.6.31, pci_enable_msix() can return a
positive value to indicate the number of vectors (less than the amount
requested) that can be set up for a given device. Returning this as an
operation value (secondary result) is fine, but (primary) operation
results are expected to be negative (error) or zero (success) according
to the protocol. With the frontend fixed to match the XenoLinux
behavior, the backend can now validly return zero (success) here,
passing the upper limit on the number of vectors in op->value.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2012-04-06 12:13:55 -04:00
..
conf_space.c xen: Add module.h to modular drivers/xen users. 2011-10-31 19:32:11 -04:00
conf_space.h xen/pciback: Drop two backends, squash and cleanup some code. 2011-07-19 20:58:35 -04:00
conf_space_capability.c xen/pciback: Drop two backends, squash and cleanup some code. 2011-07-19 20:58:35 -04:00
conf_space_header.c xen/pciback: miscellaneous adjustments 2011-09-21 18:17:59 -04:00
conf_space_quirks.c xen/pciback: miscellaneous adjustments 2011-09-21 18:17:59 -04:00
conf_space_quirks.h xen/pciback: Drop two backends, squash and cleanup some code. 2011-07-19 20:58:35 -04:00
Makefile xen/pciback: Have 'passthrough' option instead of XEN_PCIDEV_BACKEND_PASS and XEN_PCIDEV_BACKEND_VPCI 2011-07-19 21:04:20 -04:00
passthrough.c xen/pciback: miscellaneous adjustments 2011-09-21 18:17:59 -04:00
pci_stub.c xen/pciback: Support pci_reset_function, aka FLR or D3 support. 2012-01-12 12:00:19 -05:00
pciback.h xen/pciback: Support pci_reset_function, aka FLR or D3 support. 2012-01-12 12:00:19 -05:00
pciback_ops.c xen/pciback: fix XEN_PCI_OP_enable_msix result 2012-04-06 12:13:55 -04:00
vpci.c xen/pciback: double lock typo 2011-09-29 10:50:26 -04:00
xenbus.c xen/pciback: Expand the warning message to include domain id. 2012-01-09 10:24:11 -05:00