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

Gustavo Sousa gustavo.sousa at intel.com
Thu Nov 16 15:39:00 UTC 2023


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

This is v2 of [1].

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

[1] https://lore.kernel.org/r/20231114220922.88268-1-gustavo.sousa@intel.com

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 | 59 ++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_mmio.h | 39 ++----------------------
 2 files changed, 61 insertions(+), 37 deletions(-)

-- 
2.42.0



More information about the Intel-xe mailing list