Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/6] Multi-tile support for xe_sriov_flr and related MMIO improvements
@ 2025-11-06 15:28 Marcin Bernatowicz
  2025-11-06 15:28 ` [PATCH i-g-t 1/6] lib/xe_mmio: Introduce tile-level XE MMIO access helpers Marcin Bernatowicz
                   ` (9 more replies)
  0 siblings, 10 replies; 14+ messages in thread
From: Marcin Bernatowicz @ 2025-11-06 15:28 UTC (permalink / raw)
  To: igt-dev
  Cc: piotr.piorkowski, lukasz.laguna, jakub1.kolakowski,
	Marcin Bernatowicz

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(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH i-g-t 0/6] Multi-tile support for xe_sriov_flr and related MMIO improvements
@ 2025-10-31 12:56 Marcin Bernatowicz
  2025-10-31 12:56 ` [PATCH i-g-t 2/6] lib/xe_mmio: Add init flag and helper to check initialization Marcin Bernatowicz
  0 siblings, 1 reply; 14+ messages in thread
From: Marcin Bernatowicz @ 2025-10-31 12:56 UTC (permalink / raw)
  To: igt-dev
  Cc: piotr.piorkowski, lukasz.laguna, jakub1.kolakowski,
	Marcin Bernatowicz

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/ 

Marcin Bernatowicz (3):
  tests/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               | 108 ++++++++--
 lib/xe/xe_mmio.h               |  18 +-
 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, 354 insertions(+), 196 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2025-11-07 21:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-06 15:28 [PATCH i-g-t 0/6] Multi-tile support for xe_sriov_flr and related MMIO improvements Marcin Bernatowicz
2025-11-06 15:28 ` [PATCH i-g-t 1/6] lib/xe_mmio: Introduce tile-level XE MMIO access helpers Marcin Bernatowicz
2025-11-07  8:53   ` Laguna, Lukasz
2025-11-06 15:28 ` [PATCH i-g-t 2/6] lib/xe_mmio: Add init flag and helper to check initialization Marcin Bernatowicz
2025-11-06 15:28 ` [PATCH i-g-t 3/6] lib/xe/xe_query: Add tile helpers and iteration macro Marcin Bernatowicz
2025-11-06 15:28 ` [PATCH i-g-t 4/6] tests/intel/xe_sriov_flr: Make subchecks Tile aware Marcin Bernatowicz
2025-11-07  9:17   ` Piotr Piórkowski
2025-11-06 15:28 ` [PATCH i-g-t 5/6] tests/intel/xe_sriov_flr: Use global MMIO context initialized in verify_flr Marcin Bernatowicz
2025-11-06 15:28 ` [PATCH i-g-t 6/6] tests/intel/xe_sriov_flr: Do not ignore failed prerequisites Marcin Bernatowicz
2025-11-06 22:49 ` ✓ Xe.CI.BAT: success for Multi-tile support for xe_sriov_flr and related MMIO improvements (rev2) Patchwork
2025-11-06 23:13 ` ✓ i915.CI.BAT: " Patchwork
2025-11-07 17:02 ` ✗ i915.CI.Full: failure " Patchwork
2025-11-07 21:47 ` ✗ Xe.CI.Full: " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2025-10-31 12:56 [PATCH i-g-t 0/6] Multi-tile support for xe_sriov_flr and related MMIO improvements Marcin Bernatowicz
2025-10-31 12:56 ` [PATCH i-g-t 2/6] lib/xe_mmio: Add init flag and helper to check initialization Marcin Bernatowicz

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