Skip to content

Add proper detection of the SR-IOV PF mode

Michal Wajdeczko intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/xe: Add max_vfs module parameterdrivers/gpu/drm/xe/xe_module.c drivers/gpu/drm/xe/xe_module.h+10 -01 reply
2/3drm/xe: Add proper detection of the SR-IOV PF modedrivers/gpu/drm/xe/Makefile drivers/gpu/drm/xe/xe_device_types.h drivers/gpu/drm/xe/xe_sriov.c +3 more+137 -13 replies
3/3drm/xe: Add SR-IOV info attribute to debugfsdrivers/gpu/drm/xe/xe_debugfs.c drivers/gpu/drm/xe/xe_sriov.c drivers/gpu/drm/xe/xe_sriov.h+28 -01 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchRodrigo Vivi
1/3R-b
2/3R-b
3/3R-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 0/3] Add proper detection of the SR-IOV PF mode

SR-IOV PF mode detection is based on PCI capability as reported by the PCI dev_is_pf() function and additionally on 'max_vfs' module parameter which could be also used to disable PF capability even if SR-IOV PF capability is reported by the hardware.

Cc Lucas De Marchi <[email protected]>
Cc Rodrigo Vivi <[email protected]>

Michal Wajdeczko (3):
drm/xe: Add max_vfs module parameter drm/xe: Add proper detection of the SR-IOV PF mode drm/xe: Add SR-IOV info attribute to debugfs

 drivers/gpu/drm/xe/Makefile          |  3 +-
 drivers/gpu/drm/xe/xe_debugfs.c      | 11 ++++
 drivers/gpu/drm/xe/xe_device_types.h |  4 ++
 drivers/gpu/drm/xe/xe_module.c       |  7 +++
 drivers/gpu/drm/xe/xe_module.h       |  3 +
 drivers/gpu/drm/xe/xe_sriov.c        | 17 ++++++
 drivers/gpu/drm/xe/xe_sriov.h        |  3 +
 drivers/gpu/drm/xe/xe_sriov_pf.c     | 89 ++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_sriov_pf.h     | 24 ++++++++
 drivers/gpu/drm/xe/xe_sriov_types.h  | 15 +++++
 10 files changed, 175 insertions(+), 1 deletion(-)
 create mode 100644 drivers/gpu/drm/xe/xe_sriov_pf.c
 create mode 100644 drivers/gpu/drm/xe/xe_sriov_pf.h
Signature · 1 line
2.43.0