Cleanup OA stream on PCI unbind/remove
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v10 Latest7 patches 2 repliesIn review
- v97 patches 2 repliesSuperseded
- v88 patches 14 repliesSuperseded
Earlier versions · 7
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v7 | 7 patches | 0 replies | Superseded | |
| v6 | 7 patches | 1 reply | Superseded | |
| v5 | 7 patches | 3 replies | Superseded | |
| v4 | 7 patches | 1 reply | Superseded | |
| v3 posting 2/2 | 5 patches | 0 replies | Superseded | |
| v3 posting 1/2 | 3 patches | 0 replies | Superseded | |
| v2 | 3 patches | 1 reply | Superseded |
Patches in v10 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | drm/xe/oa: Ignore a HW tail pointer outside the OA bufferdrivers/ | +9 | 0 replies | |
| 2/7 | drm/xe/oa: Use the drm device address_space for the OA stream fddrivers/ | +40 | 0 replies | |
| 3/7 | drm/xe: Reject vm_ops->access on BO mappings of an unplugged devicedrivers/ | +13 | 0 replies | |
| 4/7 | drm/xe/oa: Wait for in-flight OA batches before stream HW teardowndrivers/ | +38 | 0 replies | |
| 5/7 | drm/xe/oa: Fence OA ioctls and mmap against device unplug and wedgingdrivers/ drivers/ | +81 | 1 reply | |
| 6/7 | drm/xe/oa: Free the OA buffer and the stream after the stream destroydrivers/ | +6 | 0 replies | |
| 7/7 | drm/xe/oa: Quiesce OA streams on driver unbind and PCI resetdrivers/ drivers/ | +128 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Shekhar Chauhan | Matthew Brost |
|---|---|---|
| 1/7 | R-b | |
| 2/7 | R-b | |
| 3/7 | R-b | |
| 4/7 | R-b | |
| 5/7 | R-b | |
| 6/7 | R-b | |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v10 0/7] Cleanup OA stream on PCI unbind/remove
When an OA stream FD is open, removing the PCI device due to PCIe errors or doing an unbind causes a NPD and system reboots. While OA registers a fini handler with devm, the handler does not take into account active OA connections.
Add code to quiesce OA connection on PCI remove/unbind.
v2 - v8: Sashiko Comments and other refactor v9, v10: Incorporate comments from Sashiko and Shekhar
Umesh Nerlige Ramappa (7):
drm/xe/oa: Ignore a HW tail pointer outside the OA buffer drm/xe/oa: Use the drm device address_space for the OA stream fd drm/xe: Reject vm_ops->access on BO mappings of an unplugged device drm/xe/oa: Wait for in-flight OA batches before stream HW teardown drm/xe/oa: Fence OA ioctls and mmap against device unplug and wedging drm/xe/oa: Free the OA buffer and the stream after the stream destroy drm/xe/oa: Quiesce OA streams on driver unbind and PCI reset
drivers/gpu/drm/xe/xe_bo.c | 15 +- drivers/gpu/drm/xe/xe_oa.c | 309 ++++++++++++++++++++++++---- drivers/gpu/drm/xe/xe_oa_types.h | 3 + drivers/gpu/drm/xe/xe_observation.c | 20 +- 4 files changed, 308 insertions(+), 39 deletions(-)
Signature · 1 line
2.55.0