[PATCH v4] Fixes for PCI backend for 3.19

From: Konrad Rzeszutek Wilk
Date: Fri Nov 21 2014 - 17:18:27 EST



Hey,

The last time I posted these patches: https://lkml.org/lkml/2014/7/8/533
was so long ago that I don't even remember most comments. The only
one that stuck in mind was David's recommendation to add a new PCI API
call and use that. See patch #6 and #7.

The original posting (v3) had an extra patch that would do slot and
bus reset using do_flr SysFS attribute. I will revisit that once I am
done with this patchset.

I also seem to have had in my a bunch of 'SoB' from David - which
makes no sense - unless I pulled from his tree. Anyhow wherewere
I saw them I removed them.

Please take a look and comment. If I missed some comment from months
ago hopefully the new version has clarified them.


drivers/pci/pci.c | 5 +--
drivers/xen/xen-pciback/passthrough.c | 14 ++++++--
drivers/xen/xen-pciback/pci_stub.c | 60 ++++++++++++++++++++++-------------
drivers/xen/xen-pciback/pciback.h | 7 ++--
drivers/xen/xen-pciback/vpci.c | 14 ++++++--
drivers/xen/xen-pciback/xenbus.c | 4 +--
include/linux/device.h | 5 +++
include/linux/pci.h | 2 ++
8 files changed, 76 insertions(+), 35 deletions(-)

Konrad Rzeszutek Wilk (7):
xen/pciback: Don't deadlock when unbinding.
driver core: Provide an wrapper around the mutex to do lockdep warnings
xen/pciback: Include the domain id if removing the device whilst still in use
xen/pciback: Print out the domain owning the device.
xen/pciback: Remove tons of dereferences
PCI: Expose pci_load_saved_state for public consumption.
xen/pciback: Restore configuration space when detaching from a guest.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/