Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v2 0/2] Ensure that SR-IOV and eudebug are exclusive for Xe
@ 2025-02-20 14:59 Christoph Manszewski
  2025-02-20 14:59 ` [PATCH i-g-t v2 1/2] lib/xe_eudebug: Export __xe_eudebug_enable_getset Christoph Manszewski
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Christoph Manszewski @ 2025-02-20 14:59 UTC (permalink / raw)
  To: igt-dev
  Cc: Dominik Karol Piątkowski, Dominik Grzegorzek,
	Marcin Bernatowicz, Mika Kuoppala, Lukasz Laguna,
	Michal Wajdeczko, Kamil Konieczny, Christoph Manszewski

Ensure that VF provisioning and eudebug enabling is exclusive by
returning EPERM on an attempt to enable one of those features while
the other is already enabled. Check that enable_eudebug sysfs entry
is not present when the driver is loaded in VF mode.

Since eudebug KMD side is still in the upstream review phase, the related
kernel side change can be found here:
https://gitlab.freedesktop.org/cmanszew/kernel/-/commits/cmanszew/dev/sriov-eudebug-exclusivity

v2:
 - move subtests into dedicated 'xe_eudebug_sriov' test (Kamil)

Christoph Manszewski (2):
  lib/xe_eudebug: Export __xe_eudebug_enable_getset
  tests/intel/xe_eudebug: Add subtests for eudebug/SR-IOV exclusion

 lib/xe/xe_eudebug.c            |  15 +++-
 lib/xe/xe_eudebug.h            |   1 +
 tests/intel/xe_eudebug.c       |   2 +
 tests/intel/xe_eudebug_sriov.c | 153 +++++++++++++++++++++++++++++++++
 tests/meson.build              |   1 +
 5 files changed, 170 insertions(+), 2 deletions(-)
 create mode 100644 tests/intel/xe_eudebug_sriov.c

-- 
2.34.1


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

end of thread, other threads:[~2025-02-28 15:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-20 14:59 [PATCH i-g-t v2 0/2] Ensure that SR-IOV and eudebug are exclusive for Xe Christoph Manszewski
2025-02-20 14:59 ` [PATCH i-g-t v2 1/2] lib/xe_eudebug: Export __xe_eudebug_enable_getset Christoph Manszewski
2025-02-24 13:20   ` Piatkowski, Dominik Karol
2025-02-20 14:59 ` [PATCH i-g-t v2 2/2] tests/intel/xe_eudebug: Add subtests for eudebug/SR-IOV exclusion Christoph Manszewski
2025-02-24 13:31   ` Piatkowski, Dominik Karol
2025-02-26 10:05     ` Manszewski, Christoph
2025-02-27 16:39   ` Grzegorzek, Dominik
2025-02-28 15:23     ` Manszewski, Christoph
2025-02-20 19:12 ` ✓ Xe.CI.BAT: success for Ensure that SR-IOV and eudebug are exclusive for Xe (rev2) Patchwork
2025-02-20 19:23 ` ✗ i915.CI.BAT: failure " Patchwork
2025-02-21 13:15 ` ✓ Xe.CI.Full: success " Patchwork

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