Skip to content

drm/xe/mmio: Make xe_mmio_wait32() aware of interrupts

Gustavo Sousa intel-xe 3 versions – Applied

Status from this message: Pushed to drm-xe-next. Thanks Lucas and Rodrigo for the review!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyApplied
  2. v22 patches 5 repliesSuperseded
  3. v11 patch 6 repliesSuperseded

Changes in v3 from the cover letter

- Tweak documentation for @timeout_us.
- Add note in the commit message to better justify the move of xe_mmio_wait32() to xe_mmio.c.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2drm/xe/mmio: Move xe_mmio_wait32() to xe_mmio.cdrivers/gpu/drm/xe/xe_mmio.c drivers/gpu/drm/xe/xe_mmio.h+56 -370 replies
2/2drm/xe/mmio: Make xe_mmio_wait32() aware of interruptsdrivers/gpu/drm/xe/xe_mmio.c+6 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLucas De Marchi
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Intel-xe] [PATCH v3 0/2] drm/xe/mmio: Make xe_mmio_wait32() aware of interrupts

The current implementation of xe_mmio_wait32() is susceptible to preemption/interrupts causing false timeouts. This series proposes a fix for that.

Changes in v2:
- Add a patch moving xe_mmio_wait32() to xe_mmio.c
- Use a barrier()-free implementation.

Changes in v3:
- Tweak documentation for @timeout_us.
- Add note in the commit message to better justify the move of xe_mmio_wait32() to xe_mmio.c.

Gustavo Sousa (2):
drm/xe/mmio: Move xe_mmio_wait32() to xe_mmio.c drm/xe/mmio: Make xe_mmio_wait32() aware of interrupts

 drivers/gpu/drm/xe/xe_mmio.c | 60 ++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_mmio.h | 39 ++---------------------
 2 files changed, 62 insertions(+), 37 deletions(-)
Signature · 1 line
2.42.0