public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 0/4] tests/xe: Add xe_page_reclaim test suite
@ 2026-04-06 18:42 Brian Nguyen
  2026-04-06 18:42 ` [PATCH 1/4] tests/xe: Add page reclaim test Brian Nguyen
                   ` (8 more replies)
  0 siblings, 9 replies; 16+ messages in thread
From: Brian Nguyen @ 2026-04-06 18:42 UTC (permalink / raw)
  To: igt-dev; +Cc: x.wang, Brian Nguyen

Page Reclamation is a Xe3p feature that optimizes TLB invalidations
by targeting only the specific physical pages being unmapped, rather than
issuing a full PPC flush. With Page Reclamation, the driver maintains a
Page Reclaim List (PRL), on the backing pages of a VMA range, which is
passed into the hardware, limiting the flush to only the affected pages.

PRL supports up to 512 entries and beyond that results in a fallback to
full TLB invalidation, and invalidating the PRL. The page reclamation test
cases validate different combinations of the possible VMA ranges.

The primary source of validation of these cases is derived from the
gt_stats in debugfs to confirm the proper PRL generation.

Brian Nguyen (4):
  tests/xe: Add page reclaim test
  tests/xe: Add random page reclaim subtest
  tests/xe: Add transient display PRL skip
  tests/xe: Add large VMA range tests for better coverage

 tests/intel/xe_page_reclaim.c | 826 ++++++++++++++++++++++++++++++++++
 tests/meson.build             |   1 +
 2 files changed, 827 insertions(+)
 create mode 100644 tests/intel/xe_page_reclaim.c

-- 
2.43.0


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

end of thread, other threads:[~2026-04-13 22:16 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-06 18:42 [PATCH 0/4] tests/xe: Add xe_page_reclaim test suite Brian Nguyen
2026-04-06 18:42 ` [PATCH 1/4] tests/xe: Add page reclaim test Brian Nguyen
2026-04-13 22:14   ` Wang, X
2026-04-06 18:42 ` [PATCH 2/4] tests/xe: Add random page reclaim subtest Brian Nguyen
2026-04-13 22:14   ` Wang, X
2026-04-06 18:42 ` [PATCH 3/4] tests/xe: Add transient display PRL skip Brian Nguyen
2026-04-13 22:15   ` Wang, X
2026-04-06 18:42 ` [PATCH 4/4] tests/xe: Add large VMA range tests for better coverage Brian Nguyen
2026-04-13 22:16   ` Wang, X
2026-04-06 19:29 ` ✓ Xe.CI.BAT: success for tests/xe: Add xe_page_reclaim test suite Patchwork
2026-04-06 19:45 ` ✓ i915.CI.BAT: " Patchwork
2026-04-06 21:45 ` ✓ i915.CI.Full: " Patchwork
2026-04-07  0:23 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-04-07 19:15 ` [PATCH 0/4] " Summers, Stuart
2026-04-07 22:02   ` Nguyen, Brian3
2026-04-13 22:12   ` Wang, X

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