[PATCHv1 0/2] xen-pciback: allow device reset to work more often

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

David

--
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




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux