Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Manszewski <christoph.manszewski@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: "Dominik Karol Piątkowski" <dominik.karol.piatkowski@intel.com>,
	"Dominik Grzegorzek" <dominik.grzegorzek@intel.com>,
	"Marcin Bernatowicz" <marcin.bernatowicz@linux.intel.com>,
	Laguna@freedesktop.org, Lukasz <lukasz.laguna@intel.com>,
	Wajdeczko@freedesktop.org, Michal <Michal.Wajdeczko@intel.com>,
	"Mika Kuoppala" <mika.kuoppala@linux.intel.com>,
	"Christoph Manszewski" <christoph.manszewski@intel.com>
Subject: [PATCH i-g-t 0/2] Ensure that SR-IOV and eudebug are exclusive for Xe
Date: Fri, 14 Feb 2025 13:46:41 +0100	[thread overview]
Message-ID: <20250214124643.20908-1-christoph.manszewski@intel.com> (raw)

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


             reply	other threads:[~2025-02-14 12:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-14 12:46 Christoph Manszewski [this message]
2025-02-14 12:46 ` [PATCH i-g-t 1/2] lib/xe_eudebug: Export __xe_eudebug_enable_getset Christoph Manszewski
2025-02-14 12:46 ` [PATCH i-g-t 2/2] tests/xe_eudebug.c: Add subtests for eudebug/SR-IOV exlusion Christoph Manszewski
2025-02-17 14:36   ` Kamil Konieczny
2025-02-17 15:13     ` Manszewski, Christoph
2025-02-18 14:05       ` Kamil Konieczny
2025-02-14 13:35 ` ✓ i915.CI.BAT: success for Ensure that SR-IOV and eudebug are exclusive for Xe Patchwork
2025-02-14 13:36 ` ✓ Xe.CI.BAT: " Patchwork
2025-02-14 16:17 ` ✗ i915.CI.Full: failure " Patchwork
2025-02-15 12:03 ` ✗ Xe.CI.Full: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250214124643.20908-1-christoph.manszewski@intel.com \
    --to=christoph.manszewski@intel.com \
    --cc=Laguna@freedesktop.org \
    --cc=Michal.Wajdeczko@intel.com \
    --cc=Wajdeczko@freedesktop.org \
    --cc=dominik.grzegorzek@intel.com \
    --cc=dominik.karol.piatkowski@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=lukasz.laguna@intel.com \
    --cc=marcin.bernatowicz@linux.intel.com \
    --cc=mika.kuoppala@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox