xen/pciback: support driver_override
Status from this message: Applied to for-linus-4.9, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest posting 2/23 patches 16 repliesApplied
- v3 posting 1/20 of 3 patches 0 repliesSuperseded
- v2 posting 2/21 patch 10 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 1/2 | 1 patch | 0 replies | Superseded | |
| v1 | 1 patch | 0 replies | Superseded |
Changes in v3 from the cover letter
- Added new patches 1 and 2 to do some cleanup and preparatory work.
- patch 3: Add an assigned device to the slot list
- patch 3: Move override check up in order not to miss the PCI_HEADER_TYPE check.
Patches in v3 posting 2/2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | xen/pciback: simplify pcistub device handlingdrivers/ | +25 | 0 replies | |
| 1/3 | xen/pciback: simplify pcistub device handlingdrivers/ | +25 | 2 replies | |
| 2/3 | xen/pciback: avoid multiple entries in slot listdrivers/ | +31 | 0 replies | |
| 2/3 | xen/pciback: avoid multiple entries in slot listdrivers/ | +31 | 8 replies | |
| 3/3 | xen/pciback: support driver_overridedrivers/ | +29 | 0 replies | |
| 3/3 | xen/pciback: support driver_overridedrivers/ | +29 | 4 replies |
Reviews trailers per patch
2 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Boris Ostrovsky |
|---|---|
| 1/3 | R-b R-b |
| 1/3 | R-b R-b |
| 2/3 | |
| 2/3 | |
| 3/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/3] xen/pciback: support driver_override
Support the driver_override scheme introduced with commit 782a985d7af2 ("PCI: Introduce new device binding path using pci_dev.driver_override")
Today you'd need something like:
echo 0000:07:10.0 > /sys/bus/pci/devices/0000\:07\:10.0/driver/unbind echo 0000:07:10.0 > /sys/bus/pci/drivers/pciback/new_slot echo 0000:07:10.0 > /sys/bus/pci/drivers_probe
while with the patch you can use the same mechanism as for similar drivers like pci-stub and vfio-pci:
echo pciback > /sys/bus/pci/devices/0000\:07\:10.0/driver_override echo 0000:07:10.0 > /sys/bus/pci/devices/0000\:07\:10.0/driver/unbind echo 0000:07:10.0 > /sys/bus/pci/drivers_probe
Changes in V3:
- Added new patches 1 and 2 to do some cleanup and preparatory work.
- patch 3: Add an assigned device to the slot list
- patch 3: Move override check up in order not to miss the PCI_HEADER_TYPE check.
Changes in V2:
- Removed now unused label.
*** BLURB HERE ***
Juergen Gross (3):
xen/pciback: simplify pcistub device handling xen/pciback: avoid multiple entries in slot list xen/pciback: support driver_override
drivers/xen/xen-pciback/pci_stub.c | 125 +++++++++++++++++++++++++------------ 1 file changed, 85 insertions(+), 40 deletions(-)
Signature · 1 line
2.6.6