tests/xe: Add xe_page_reclaim test suite
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tests/xe: Add page reclaim testtests/ tests/ | +442 | 1 reply | |
| 2/4 | tests/xe: Add random page reclaim subtesttests/ | +151 | 1 reply | |
| 3/4 | tests/xe: Add transient display PRL skiptests/ | +87 | 1 reply | |
| 4/4 | tests/xe: Add large VMA range tests for better coveragetests/ | +147 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Xin Wang |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] tests/xe: Add xe_page_reclaim test suite
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
Signature · 1 line
2.43.0