Skip to content

Subject: [PATCH i-g-t 0/4] lib/xe: Add SR-IOV debugfs and provisioning helpers

Marcin Bernatowicz igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4lib/xe/xe_sriov_debugfs: Add debugfs get/set functions for u32, u64, boollib/xe/xe_sriov_debugfs.c lib/xe/xe_sriov_debugfs.h+212 -02 replies
2/4lib/xe/xe_sriov_provisioning: Add scheduling attributes accessorslib/xe/xe_sriov_provisioning.c lib/xe/xe_sriov_provisioning.h+422 -00 replies
3/4lib/xe/xe_sriov_provisioning: Add helper to check default scheduling attributeslib/xe/xe_sriov_provisioning.c lib/xe/xe_sriov_provisioning.h+43 -00 replies
4/4lib/xe/xe_sriov_provisioning: Add accessors for quota/spare attributeslib/xe/xe_sriov_provisioning.c lib/xe/xe_sriov_provisioning.h+137 -01 reply

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchLukasz Laguna
1/4
2/4
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH i-g-t 0/4] Subject: [PATCH i-g-t 0/4] lib/xe: Add SR-IOV debugfs and provisioning helpers

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(+)
Signature · 1 line
2.31.1