android_kernel_google_msm/drivers/xen/xen-pciback
Konrad Rzeszutek Wilk 658ba629ae xen/pciback: Save the number of MSI-X entries to be copied later.
commit d159457b84395927b5a52adb72f748dd089ad5e5 upstream.

Commit 8135cf8b092723dbfcc611fe6fdcb3a36c9951c5 (xen/pciback: Save
xen_pci_op commands before processing it) broke enabling MSI-X because
it would never copy the resulting vectors into the response.  The
number of vectors requested was being overwritten by the return value
(typically zero for success).

Save the number of vectors before processing the op, so the correct
number of vectors are copied afterwards.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Zefan Li <lizefan@huawei.com>
2016-10-26 23:15:45 +08:00
..
conf_space.c xen-pciback: Add name prefix to global 'permissive' variable 2015-06-19 11:40:35 +08:00
conf_space.h xen-pciback: Add name prefix to global 'permissive' variable 2015-06-19 11:40:35 +08:00
conf_space_capability.c
conf_space_header.c xen-pciback: Add name prefix to global 'permissive' variable 2015-06-19 11:40:35 +08:00
conf_space_quirks.c
conf_space_quirks.h
Makefile
passthrough.c
pci_stub.c xen/pciback: Fix proper FLR steps. 2012-09-14 10:00:33 -07:00
pciback.h xen/pciback: Save xen_pci_op commands before processing it 2016-10-26 23:15:40 +08:00
pciback_ops.c xen/pciback: Save the number of MSI-X entries to be copied later. 2016-10-26 23:15:45 +08:00
vpci.c
xenbus.c