tests/intel/xe_madvise: Add atomic madvise subtests
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 0 repliesNew
- v24 patches 4 repliesSuperseded
- v14 patches 7 repliesSuperseded
Changes in v3 from the cover letter
- Print pagefault count only when count changed (Nishit)
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tests/intel/xe_madvise: Generalize metadata and group purgeable subteststests/ | +49 | 0 replies | |
| 2/4 | tests/intel/xe_madvise: Add atomic-device subtesttests/ | +122 | 0 replies | |
| 3/4 | tests/intel/xe_madvise: Add atomic-global subtesttests/ | +87 | 0 replies | |
| 4/4 | tests/intel/xe_madvise: Add atomic-cpu subtesttests/ | +83 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Nishit Sharma |
|---|---|
| 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 i-g-t v3 0/4] tests/intel/xe_madvise: Add atomic madvise subtests
Add three subtests to validate DRM_XE_MEM_RANGE_ATTR_ATOMIC madvise on fault-mode SVM VMAs:
atomic-device — GPU MI_ATOMIC_INC succeeds via fault handler atomic-global — CPU atomic increments + GPU MI_ATOMIC_INC with
fault-driven SMEM-to-VRAM migration
atomic-cpu — GPU MI_ATOMIC_INC rejected (-EACCES), engine reset
Patch 1 generalizes the test metadata and groups existing purgeable subtests so the atomic subtests can coexist without being gated on purgeable support.
v2:
- Add UNMAP of CPU_ADDR_MIRROR binding before xe_vm_destroy in all three atomic tests (Nishit)
- Add pagefault count print before/after exec in atomic-device and atomic-global (Nishit)
- Add comment explaining single-engine rationale in atomic-cpu (Nishit)
v3:
- Print pagefault count only when count changed (Nishit)
Varun Gupta (4):
tests/intel/xe_madvise: Generalize metadata and group purgeable
subtests
tests/intel/xe_madvise: Add atomic-device subtest tests/intel/xe_madvise: Add atomic-global subtest tests/intel/xe_madvise: Add atomic-cpu subtest
tests/intel/xe_madvise.c | 381 ++++++++++++++++++++++++++++++++++----- 1 file changed, 338 insertions(+), 43 deletions(-)
Signature · 1 line
2.43.0