]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe/pf: Allow bulk change all VFs EQ/PT using sysfs
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 30 Oct 2025 22:23:41 +0000 (23:23 +0100)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 31 Oct 2025 19:01:43 +0000 (20:01 +0100)
commit71f5933c4b0f65ea72f7342895a92574608c3295
treeb0bdafc9c8d8136a48fbb504d272520e9e1c601c
parentb7a73b5775d4a2524674ddf1b997c5e8f5cfe66c
drm/xe/pf: Allow bulk change all VFs EQ/PT using sysfs

It is expected to be a common practice to configure the same values
of execution quantum and preemption timeout parameters across all VFs.

Add write-only sysfs attributes that will apply required EQ/PT values
globally, without forcing admin to update PF and each VF separately.

  /sys/bus/pci/drivers/xe/BDF/
  ├── sriov_admin/
      ├── .bulk_profile
      │   ├── exec_quantum_ms [WO] unsigned integer
      │   └── preempt_timeout_us [WO] unsigned integer

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patch.msgid.link/20251030222348.186658-11-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c