Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/4] Handle sysctrl event for page offline full
@ 2026-12-01  9:45 Riana Tauro
  2026-12-01  9:45 ` [PATCH v5 1/4] drm/xe/ras: Fail probe if the device is wedged Riana Tauro
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Riana Tauro @ 2026-12-01  9:45 UTC (permalink / raw)
  To: intel-xe
  Cc: riana.tauro, anshuman.gupta, aravind.iddamsetty, raag.jadav,
	badal.nilawar, ravi.kishore.koppuravuri, mallesh.koujalagi,
	soham.purkait, tejas.upadhyay

The firmware raises a System Controller event when its page offline
queue is full and cannot track further pages until the queue is read.
Handle it by draining the queue and offlining the returned pages, so the
firmware can resume queueing new pages.

Also serialize the RAS workers using a ordered wq

Rev4: Wedge device for critical Bos for all callers
Rev5: Add serialization using ordered wq
      fail probe if device is already wedged

Riana Tauro (4):
  drm/xe/ras: Fail probe if the device is wedged
  drm/xe/ras: Wedge the device on page offline failure in all callers
  drm/xe/sysctrl: Drain page offline queue on queue-full event
  drm/xe/ras: Serialize RAS workers on an ordered workqueue

 drivers/gpu/drm/xe/xe_device.c              |   1 +
 drivers/gpu/drm/xe/xe_hw_error.c            |   7 +-
 drivers/gpu/drm/xe/xe_ras.c                 | 110 +++++++++++++-------
 drivers/gpu/drm/xe/xe_ras.h                 |   2 +
 drivers/gpu/drm/xe/xe_ras_types.h           |   2 +
 drivers/gpu/drm/xe/xe_sysctrl.c             |   2 +-
 drivers/gpu/drm/xe/xe_sysctrl_event.c       |  13 ++-
 drivers/gpu/drm/xe/xe_sysctrl_event_types.h |   4 +-
 8 files changed, 98 insertions(+), 43 deletions(-)

-- 
2.47.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-12-01 10:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01  9:45 [PATCH v5 0/4] Handle sysctrl event for page offline full Riana Tauro
2026-12-01  9:45 ` [PATCH v5 1/4] drm/xe/ras: Fail probe if the device is wedged Riana Tauro
2026-12-01 10:06   ` sashiko-bot
2026-12-01  9:45 ` [PATCH v5 2/4] drm/xe/ras: Wedge for Critical BO page offline failures Riana Tauro
2026-12-01  9:45 ` [PATCH v5 3/4] drm/xe/sysctrl: Drain page offline queue on queue-full event Riana Tauro
2026-12-01  9:45 ` [PATCH v5 4/4] drm/xe/ras: Serialize RAS workers on an ordered workqueue Riana Tauro
2026-12-01 10:01   ` sashiko-bot
2026-12-01 10:11 ` ✓ CI.KUnit: success for Handle sysctrl event for page offline full (rev2) Patchwork
2026-12-01 10:49 ` ✓ Xe.CI.BAT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox