drm/xe/sysctrl: Clean up error handling in
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v9 Latest10 patches 2 repliesIn review
- v810 patches 5 repliesSuperseded
- v79 patches 4 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 | 9 patches | 6 replies | Superseded | |
| v5 | 7 patches | 5 replies | Superseded | |
| v4 | 7 patches | 18 replies | Superseded |
Changes in v9 from the cover letter
- Update commit message. (Michal)
- Use fix tag. (Umesh)
- drop __packed.
- s/simplify/Fix/
Patches in v9 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | drm/xe/sysctrl: Return error codes from sysctrl_wait_bit_clear()drivers/ | +14 | 0 replies | |
| 2/10 | drm/xe/sysctrl: Return error codes from sysctrl_wait_bit_set()drivers/ | +8 | 0 replies | |
| 3/10 | drm/xe/sysctrl: Make sysctrl_write_frame() voiddrivers/ | +3 | 0 replies | |
| 4/10 | drm/xe/sysctrl: Make sysctrl_read_frame() voiddrivers/ | +3 | 0 replies | |
| 5/10 | drm/xe/sysctrl: Use xe_assert() for payload size validationdrivers/ | +1 | 0 replies | |
| 6/10 | drm/xe/sysctrl: Fix mailbox header handlingdrivers/ | +8 | 2 replies | |
| 7/10 | drm/xe/sysctrl: Replace FIELD_GET() with REG_FIELD_GET()drivers/ drivers/ | +13 | 0 replies | |
| 8/10 | drm/xe/sysctrl: Improve firmware response error loggingdrivers/ | +5 | 0 replies | |
| 9/10 | drm/xe/sysctrl: Log group and command ID on mailbox failuredrivers/ | +4 | 0 replies | |
| 10/10 | drm/xe/sysctrl: Report 'System Controller event' error using SIGIDdrivers/ | +9 | 0 replies |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Michal Wajdeczko | Anoop Vijay | Umesh Nerlige Ramappa | Rodrigo Vivi |
|---|---|---|---|---|
| 1/10 | R-b | |||
| 2/10 | R-b | |||
| 3/10 | R-b | |||
| 4/10 | R-b | |||
| 5/10 | R-b | |||
| 6/10 | T-b | R-b | R-b | |
| 7/10 | R-b | |||
| 8/10 | R-b | |||
| 9/10 | R-b | |||
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v9 00/10] drm/xe/sysctrl: Clean up error handling in
The patch series improves error handling in the System Controller mailbox driver by making error propagation more consistent and using xe_log_err() for structured error reporting.
It also removes a few redundant checks and simplifies helper interfaces where no error path exists.
v2:
- Use -EOVERFLOW.
- Drop sysctrl in xe_log_err. (Michal)
- Drop redundant %pe.
- Print response->count.
v3:
- Rebase.
v4:
- Replace xe_warn to xe_log_err_info for. (Michal)
- Use xe_assert().
- Change sysctrl_wait_bit_* to return errno.
- Make sysctrl_write_frame return type as void.
- Log mismatched header info.
v5:
- Fix align issue. (Michal)
- Use %#x after REG_FIELD_GET change.
- Use REG_FIELD_GET instead of FIELD_GET.
- Modify logging message.
- Change Error as EXFULL.
- Update logging message.
v6:
- Move REG_FIELD_GET to different patch. (Michal)
- Update response message.
- Move all REG_FIELD_GET to single patch.
- Update log message. (Michal)
- Change correct errno. (Michal)
v7:
- Update FIELD_PREP to REG_FIELD_PREP. (Michal/Sashiko)
- Update FIELD_GET to REG_FIELD_GET.
- Remove le32_to_cpu. (Michal)
v8:
- Rebase.
- Rephrase commit message. (Michal)
v9:
- Update commit message. (Michal)
- Use fix tag. (Umesh)
- drop __packed.
- s/simplify/Fix/
Mallesh Koujalagi (10):
drm/xe/sysctrl: Return error codes from sysctrl_wait_bit_clear() drm/xe/sysctrl: Return error codes from sysctrl_wait_bit_set() drm/xe/sysctrl: Make sysctrl_write_frame() void drm/xe/sysctrl: Make sysctrl_read_frame() void drm/xe/sysctrl: Use xe_assert() for payload size validation drm/xe/sysctrl: Fix mailbox header handling drm/xe/sysctrl: Replace FIELD_GET() with REG_FIELD_GET() drm/xe/sysctrl: Improve firmware response error logging drm/xe/sysctrl: Log group and command ID on mailbox failure drm/xe/sysctrl: Report 'System Controller event' error using SIGID
drivers/gpu/drm/xe/xe_sysctrl_event.c | 14 +-- drivers/gpu/drm/xe/xe_sysctrl_mailbox.c | 112 +++++++++++------------- drivers/gpu/drm/xe/xe_sysctrl_mailbox.h | 6 +- 3 files changed, 62 insertions(+), 70 deletions(-)
Signature · 1 line
2.48.1