drm/xe/guc: Add LFD format output for guc log
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest6 patches 3 repliesIn review
- v76 patches 11 repliesSuperseded
- v66 patches 19 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 | 6 patches | 0 replies | Superseded | |
| v4 | 6 patches | 9 replies | Superseded | |
| v3 | 4 patches | 13 replies | Superseded | |
| v2 | 2 patches | 7 replies | Superseded | |
| v1 | 1 patch | 2 replies | Superseded |
Changes in v8 from the cover letter
Kernel-doc fix (Michal)
Update chunk end and size check (Julia)
Rebase with baseline changes
Patches in v8 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | drm/xe/guc: Add log init config abi definitionsdrivers/ | +77 | 0 replies | |
| 2/6 | drm/xe/guc: Add LFD related abi definitionsdrivers/ | +171 | 0 replies | |
| 3/6 | drm/xe/guc: Add GuC log init config in LFD formatdrivers/ | +266 | 0 replies | |
| 4/6 | drm/xe/guc: Add GuC log event buffer output in LFD formatdrivers/ | +76 | 1 reply | |
| 5/6 | drm/xe/guc: Only add GuC crash dump if availabledrivers/ | +45 | 1 reply | |
| 6/6 | drm/xe/guc: Add new debugfs entry for lfd format outputdrivers/ drivers/ drivers/ | +23 | 0 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Julia Filipchuk |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v8 0/6] drm/xe/guc: Add LFD format output for guc log
Add new debugfs entry "guc_log_lfd", which supports output guc log in LFD(Log Format Descriptors) format.
Add GuC crash dump data empty check. LFD will only include crash dump section when data is not empty.
---
Cc: Michal Wajdeczko <[email protected]>
Cc: Jonathan Cavitt <[email protected]>
Cc: Matthew Brost <[email protected]>
Cc: Julia Filipchuk <[email protected]>
Changes in v8:
Kernel-doc fix (Michal)
Update chunk end and size check (Julia)
Rebase with baseline changes
Changes in v7:
Process log buffer layout by marker detect, not by index
Move debugfs support to end of series
Drop version structures, replaced as an single u32
Switch to use local structure from local buffer
Output lfd in binary format
Use wrap_offset for log event buffer for wraparound handling
As crash dump is very small, remove cross chunk handling
Changes in v6:
Replace log_init_config to lic
Changes in v5:
Cleanup inconsistent macro, type and symbol names (Michal) Switch to use 1K local stack for buffer usage (Michal)
Changes in v4:
Rebase with debugfs changes (Michal)
Drop "_t" suffix in structures name (Matthew, Michal)
Split log abi header as seperate patch (Michal)
Fix static vaiable multiple instance access issue (Michal) Switched to fixed size(2M) of lfd buffer, removed buffer size check for KLVs Removed log event buffer content copy, read from log buffer chunks directly Changes in v3:
Split ABI header, debugfs and GuC code out as seperate patch Remove bit fields in structure define, changed to GENMASK
Remove crash_dumped flag, changed to dump data empty check Changes in v2:
Split GuC init config abi defines out from LFD abi header file Split crash dump detect as seperate patch
Add size check for LFD functions
Make abi header comments kernel-doc style
Zhanjun Dong (6):
drm/xe/guc: Add log init config abi definitions drm/xe/guc: Add LFD related abi definitions drm/xe/guc: Add GuC log init config in LFD format drm/xe/guc: Add GuC log event buffer output in LFD format drm/xe/guc: Only add GuC crash dump if available drm/xe/guc: Add new debugfs entry for lfd format output
drivers/gpu/drm/xe/abi/guc_lfd_abi.h | 171 ++++++++++++ drivers/gpu/drm/xe/abi/guc_lic_abi.h | 77 ++++++ drivers/gpu/drm/xe/xe_guc_debugfs.c | 7 + drivers/gpu/drm/xe/xe_guc_log.c | 399 ++++++++++++++++++++++++++- drivers/gpu/drm/xe/xe_guc_log.h | 1 + 5 files changed, 654 insertions(+), 1 deletion(-) create mode 100644 drivers/gpu/drm/xe/abi/guc_lfd_abi.h create mode 100644 drivers/gpu/drm/xe/abi/guc_lic_abi.h
Signature · 1 line
2.34.1