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

Gustavo Sousa gustavo.sousa at intel.com
Thu Nov 16 21:39:58 UTC 2023


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(-)

-- 
2.42.0



More information about the Intel-xe mailing list