xen-pciback: allow device reset to work more often
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | pci: export pci_probe_reset_function()drivers/ drivers/ include/ | +2 | 0 replies | |
| 1/2 | pci: export pci_probe_reset_function()drivers/ drivers/ include/ | +2 | 0 replies | |
| 2/2 | xen-pciback: provide a "reset" sysfs file to try harder at an SBRdrivers/ drivers/ | +105 | 8 replies | |
| 2/2 | xen-pciback: provide a "reset" sysfs file to try harder at an SBRdrivers/ drivers/ | +105 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCHv1 0/2] xen-pciback: allow device reset to work more often
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