[PATCH i-g-t 0/2] Ensure that SR-IOV and eudebug are exclusive for Xe
Christoph Manszewski
christoph.manszewski at intel.com
Fri Feb 14 12:46:41 UTC 2025
Ensure that VF provisioning and eudebug enabling is exclusive by
returning EPERM on attempt 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 upstream review phase, the related
kernel side change can be found here:
https://gitlab.freedesktop.org/miku/kernel/-/merge_requests/1
Christoph Manszewski (2):
lib/xe_eudebug: Export __xe_eudebug_enable_getset
tests/xe_eudebug.c: Add subtests for eudebug/SR-IOV exlusion
lib/xe/xe_eudebug.c | 4 +-
lib/xe/xe_eudebug.h | 1 +
tests/intel/xe_eudebug.c | 123 +++++++++++++++++++++++++++++++++++++++
3 files changed, 126 insertions(+), 2 deletions(-)
--
2.34.1
More information about the igt-dev
mailing list