All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] drm/xe/mmio_gem: fix fault handler and destroy path
@ 2026-05-26 12:51 Ilia Levi
  2026-05-26 12:51 ` [PATCH v2 1/5] drm/xe/mmio_gem: use write-back mapping for dummy page Ilia Levi
                   ` (8 more replies)
  0 siblings, 9 replies; 20+ messages in thread
From: Ilia Levi @ 2026-05-26 12:51 UTC (permalink / raw)
  To: intel-xe; +Cc: ilia.levi, koby.elbaz, shuicheng.lin, thomas.hellstrom

This series fixes several issues in xe_mmio_gem, introduced by
1ffcf8b8ae8a ("drm/xe: Support for mmap-ing mmio regions"):
split VMA fault handling, a rb-tree leak on destroy, dummy page
accumulation, and use-after-free / MMIO access after destroy.

v2:
- New patch 1/5: fix dummy page WB/UC aliasing (Sashiko)
- Patch 2/5: no longer modifies xe_mmio_gem_vm_fault_dummy_page() (handled by 1/5)
- Patch 3/5: unchanged
- Patch 4/5: compute pfn inside scoped_guard
- Patch 5/5: adapt to xe_mmio_gem_vm_fault_dummy_page() signature change, fix "objecthas" typo

Ilia Levi (4):
  drm/xe/mmio_gem: use write-back mapping for dummy page
  drm/xe/mmio_gem: fix fault handling for split VMA
  drm/xe/mmio_gem: cache the dummy page per object
  drm/xe/mmio_gem: fix destroy flow

Shuicheng Lin (1):
  drm/xe/mmio_gem: Revoke drm_vma_node on xe_mmio_gem destroy

 drivers/gpu/drm/xe/xe_mmio_gem.c | 97 +++++++++++++++++++-------------
 drivers/gpu/drm/xe/xe_mmio_gem.h |  2 +-
 2 files changed, 60 insertions(+), 39 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-07-21 18:45 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-26 12:51 [PATCH v2 0/5] drm/xe/mmio_gem: fix fault handler and destroy path Ilia Levi
2026-05-26 12:51 ` [PATCH v2 1/5] drm/xe/mmio_gem: use write-back mapping for dummy page Ilia Levi
2026-05-26 12:51 ` [PATCH v2 2/5] drm/xe/mmio_gem: fix fault handling for split VMA Ilia Levi
2026-07-15 13:05   ` Matthew Auld
2026-07-21  3:20     ` Matthew Brost
2026-07-21  8:44       ` Matthew Auld
2026-07-21 11:49         ` Levi, Ilia
2026-07-21 13:19           ` Matthew Auld
2026-07-21 17:35             ` Matthew Brost
2026-07-21 18:45               ` Levi, Ilia
2026-05-26 12:51 ` [PATCH v2 3/5] drm/xe/mmio_gem: Revoke drm_vma_node on xe_mmio_gem destroy Ilia Levi
2026-05-26 12:51 ` [PATCH v2 4/5] drm/xe/mmio_gem: cache the dummy page per object Ilia Levi
2026-05-26 12:51 ` [PATCH v2 5/5] drm/xe/mmio_gem: fix destroy flow Ilia Levi
2026-07-16 15:22   ` Matthew Auld
2026-07-21  9:15     ` Matthew Auld
2026-07-21 15:00       ` Levi, Ilia
2026-05-26 12:58 ` ✓ CI.KUnit: success for drm/xe/mmio_gem: fix fault handler and destroy path (rev2) Patchwork
2026-05-26 13:42 ` ✓ Xe.CI.BAT: " Patchwork
2026-05-26 15:20 ` ✓ Xe.CI.FULL: " Patchwork
2026-07-16 15:55 ` [PATCH v2 0/5] drm/xe/mmio_gem: fix fault handler and destroy path Matthew Auld

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.