drm/xe: Add devcoredump locking and reason string
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest3 patches 0 repliesNew
- v53 patches 2 repliesSuperseded
- v42 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 2 patches | 1 reply | Superseded | |
| v2 | 2 patches | 5 replies | Superseded | |
| v1 | 2 patches | 8 replies | Superseded |
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drm/xe: Add a reason string to the devcoredumpdrivers/ drivers/ drivers/ +1 more | +35 | 0 replies | |
| 2/3 | drm/xe: Move the coredump registration to the worker threaddrivers/ | +39 | 0 replies | |
| 3/3 | drm/xe: Add mutex locking to devcoredumpdrivers/ drivers/ | +34 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Matthew Brost |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/3] drm/xe: Add devcoredump locking and reason string
From: John Harrison <[email protected]>
There are now many ways to trigger a devcoredump capture. So include a reason message to say why it happened.
Also, add locking to avoid a races with double captures and free vs read.
v2: Change to spin_lock to mutex and a few other tweaks (review feedback from Matthew Brost).
v3: Move mutex locks and add reclaim annotation (review feedback from Matthew Brost).
v4: Fix typo - when adding lockdep specific code it helps to actually have CONFIG_LOCKDEP enabled!
v5: New patch to move the call to dev_coredumpm_timeout to prevent an existing issue highlighted by the new lockdep checking.
v6: Rebase due to conflict with recent change to worker function.
John Harrison (3):
drm/xe: Add a reason string to the devcoredump drm/xe: Move the coredump registration to the worker thread drm/xe: Add mutex locking to devcoredump
drivers/gpu/drm/xe/xe_devcoredump.c | 125 +++++++++++++++------- drivers/gpu/drm/xe/xe_devcoredump.h | 5 +- drivers/gpu/drm/xe/xe_devcoredump_types.h | 8 +- drivers/gpu/drm/xe/xe_guc_submit.c | 14 ++- 4 files changed, 107 insertions(+), 45 deletions(-)
Signature · 1 line
2.47.0