[+cc Alex] On Thu, Jul 10, 2014 at 7:03 AM, David Vrabel <david.vrabel@xxxxxxxxxx> wrote: > When a PCI device is passed through to a different domain, it must be > reset to ensure it works correctly in the new domain. Usually the > toolstack will request a device reset via the "reset" sysfs file. But > this file is not present if a function reset is not available. > > A common use case is a GPU device and its associated audio function. > In the case where these two devices are simultaneously co-assigned to > the same domain, it is safe to reset them with an SBR. > > Patch #1 export pci_probe_reset_function() so pciback can know if an > alternate reset mechanism needs to be proved. > > Patch #2 adds a "reset" file to devices bound to pciback that performs > the SBR if it is safe to do so. I haven't looked at your patches yet, but I added Alex because he did a lot of similar work for vfio. Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html