Skip to content

Multi-tile support for xe_sriov_flr and related MMIO improvements

Marcin Bernatowicz igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

v2 from the cover letter

- Drop misleading GT-oriented helpers (Lukasz)
- Add missing colon in xe_tiles_count function doc (Lukasz)
- Use xe_mmio_tile_read32; update patch 4/6 title; fix extra space (Piotr)
- Switch num_vfs to unsigned int in struct g_mmio (Piotr)

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6lib/xe_mmio: Introduce tile-level XE MMIO access helperslib/xe/xe_mmio.c lib/xe/xe_mmio.h lib/xe/xe_sriov_provisioning.c +2 more+52 -591 reply
2/6lib/xe_mmio: Add init flag and helper to check initializationlib/xe/xe_mmio.c lib/xe/xe_mmio.h+16 -00 replies
3/6lib/xe/xe_query: Add tile helpers and iteration macrolib/xe/xe_query.c lib/xe/xe_query.h+51 -00 replies
4/6tests/intel/xe_sriov_flr: Make subchecks Tile awaretests/intel/xe_sriov_flr.c+135 -1411 reply
5/6tests/intel/xe_sriov_flr: Use global MMIO context initialized in verify_flrtests/intel/xe_sriov_flr.c+57 -330 replies
6/6tests/intel/xe_sriov_flr: Do not ignore failed prerequisitestests/intel/xe_sriov_flr.c+37 -220 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchJan SokolowskiLukasz LagunaPiotr Piórkowski
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH i-g-t 0/6] Multi-tile support for xe_sriov_flr and related MMIO improvements

This series builds on Piotr Piórkowski’s v2 of the tile-aware VF FLR test (see [1]) and reworks xe_sriov_flr test.

Main updates:
- Move shared helper logic to lib/xe_query (tile helpers)
- Refactor xe_sriov_flr test to use per-tile subchecks
- Use proper MMIO initialization helpers (xe_mmio)
- Keep verify_flr() template intact while isolating per-tile data
- Simplify MMIO initialization/cleanup
- Mark failed prerequisites to ensure CI detects them

Thanks to Piotr for the groundwork and earlier revisions.

[1] https://patchwork.freedesktop.org/series/156216/

v2:
- Drop misleading GT-oriented helpers (Lukasz)
- Add missing colon in xe_tiles_count function doc (Lukasz)
- Use xe_mmio_tile_read32; update patch 4/6 title; fix extra space (Piotr)
- Switch num_vfs to unsigned int in struct g_mmio (Piotr)

Marcin Bernatowicz (3):
tests/intel/xe_sriov_flr: Make subchecks Tile aware tests/intel/xe_sriov_flr: Use global MMIO context initialized in
verify_flr
tests/intel/xe_sriov_flr: Do not ignore failed prerequisites

Piotr Piórkowski (3):
lib/xe_mmio: Introduce tile-level XE MMIO access helpers lib/xe_mmio: Add init flag and helper to check initialization lib/xe/xe_query: Add tile helpers and iteration macro

 lib/xe/xe_mmio.c               |  92 +++++----
 lib/xe/xe_mmio.h               |  15 +-
 lib/xe/xe_query.c              |  45 ++++
 lib/xe/xe_query.h              |   6 +
 lib/xe/xe_sriov_provisioning.c |   6 +-
 lib/xe/xe_sriov_provisioning.h |   2 +-
 tests/intel/xe_sriov_flr.c     | 365 ++++++++++++++++++---------------
 7 files changed, 312 insertions(+), 219 deletions(-)
Signature · 1 line
2.43.0