Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Cc: kamil.konieczny@linux.intel.com, adam.miszczak@linux.intel.com,
	jakub1.kolakowski@intel.com, lukasz.laguna@intel.com,
	michal.wajdeczko@intel.com, michal.winiarski@intel.com,
	narasimha.c.v@intel.com, piotr.piorkowski@intel.com,
	satyanarayana.k.v.p@intel.com, tomasz.lis@intel.com,
	Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
Subject: [PATCH i-g-t 0/4] Subject: [PATCH i-g-t 0/4] lib/xe: Add SR-IOV debugfs and provisioning helpers
Date: Wed, 27 Nov 2024 21:02:58 +0100	[thread overview]
Message-ID: <20241127200302.1376594-1-marcin.bernatowicz@linux.intel.com> (raw)

This patch series introduces helper functions for managing SR-IOV debugfs
and provisioning attributes in the XE driver.

Summary of changes:

1. lib/xe/xe_sriov_debugfs:
   - Add generic helper functions to get and set debugfs attributes
     for u32, u64, and bool types.

2. lib/xe/xe_sriov_provisioning:
   - Introduce functions to get and set scheduling attributes such as
     execution quantum, preemption timeout, idle scheduling policy,
     priority, and engine reset behavior. Provide both returning and
     asserting variants for error handling flexibility.
   - Add a helper to ensure default scheduling attributes are set
     for PF and VF contexts. Skip tests when non-default configurations
     are detected.
   - Add accessors for shared resource quota and spare attributes
     (GGTT, LMEM, contexts, and doorbells).

Marcin Bernatowicz (4):
  lib/xe/xe_sriov_debugfs: Add debugfs get/set functions for u32, u64,
    bool
  lib/xe/xe_sriov_provisioning: Add scheduling attributes accessors
  lib/xe/xe_sriov_provisioning: Add helper to check default scheduling
    attributes
  lib/xe/xe_sriov_provisioning: Add accessors for quota/spare attributes

 lib/xe/xe_sriov_debugfs.c      | 194 ++++++++++++
 lib/xe/xe_sriov_debugfs.h      |  18 ++
 lib/xe/xe_sriov_provisioning.c | 534 +++++++++++++++++++++++++++++++++
 lib/xe/xe_sriov_provisioning.h |  68 +++++
 4 files changed, 814 insertions(+)

-- 
2.31.1


             reply	other threads:[~2024-11-27 20:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-27 20:02 Marcin Bernatowicz [this message]
2024-11-27 20:02 ` [PATCH i-g-t 1/4] lib/xe/xe_sriov_debugfs: Add debugfs get/set functions for u32, u64, bool Marcin Bernatowicz
2024-12-02 13:03   ` Laguna, Lukasz
2024-12-05 15:36     ` Bernatowicz, Marcin
2024-11-27 20:03 ` [PATCH i-g-t 2/4] lib/xe/xe_sriov_provisioning: Add scheduling attributes accessors Marcin Bernatowicz
2024-11-27 20:03 ` [PATCH i-g-t 3/4] lib/xe/xe_sriov_provisioning: Add helper to check default scheduling attributes Marcin Bernatowicz
2024-11-27 20:03 ` [PATCH i-g-t 4/4] lib/xe/xe_sriov_provisioning: Add accessors for quota/spare attributes Marcin Bernatowicz
2024-12-02 13:09   ` Laguna, Lukasz
2024-11-27 20:33 ` ✓ Xe.CI.BAT: success for Subject: [PATCH i-g-t 0/4] lib/xe: Add SR-IOV debugfs and provisioning helpers Patchwork
2024-11-27 20:45 ` ✗ i915.CI.BAT: failure " Patchwork
2024-11-27 21:28 ` ✗ 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=20241127200302.1376594-1-marcin.bernatowicz@linux.intel.com \
    --to=marcin.bernatowicz@linux.intel.com \
    --cc=adam.miszczak@linux.intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=jakub1.kolakowski@intel.com \
    --cc=kamil.konieczny@linux.intel.com \
    --cc=lukasz.laguna@intel.com \
    --cc=michal.wajdeczko@intel.com \
    --cc=michal.winiarski@intel.com \
    --cc=narasimha.c.v@intel.com \
    --cc=piotr.piorkowski@intel.com \
    --cc=satyanarayana.k.v.p@intel.com \
    --cc=tomasz.lis@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