Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/4] Subject: [PATCH i-g-t 0/4] lib/xe: Add SR-IOV debugfs and provisioning helpers
@ 2024-11-27 20:02 Marcin Bernatowicz
  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
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Marcin Bernatowicz @ 2024-11-27 20:02 UTC (permalink / raw)
  To: igt-dev
  Cc: kamil.konieczny, adam.miszczak, jakub1.kolakowski, lukasz.laguna,
	michal.wajdeczko, michal.winiarski, narasimha.c.v,
	piotr.piorkowski, satyanarayana.k.v.p, tomasz.lis,
	Marcin Bernatowicz

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


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

end of thread, other threads:[~2024-12-05 15:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-27 20:02 [PATCH i-g-t 0/4] Subject: [PATCH i-g-t 0/4] lib/xe: Add SR-IOV debugfs and provisioning helpers Marcin Bernatowicz
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

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