✓ CI.checkpatch: success for drm/xe/pf: Don't advertise support to enable VFs if not ready
Patchwork
patchwork at emeril.freedesktop.org
Tue May 7 19:39:52 UTC 2024
== Series Details ==
Series: drm/xe/pf: Don't advertise support to enable VFs if not ready
URL : https://patchwork.freedesktop.org/series/133289/
State : success
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
0daf0be5bb95eb0a0e42275e00a0e42d8d8fd543
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 2eb5b5e97ad8520379ca440d00c671051edcd23b
Author: Michal Wajdeczko <michal.wajdeczko at intel.com>
Date: Tue May 7 18:57:57 2024 +0200
drm/xe/pf: Don't advertise support to enable VFs if not ready
Even if we have not enabled SR-IOV support using the platform
specific has_sriov flag, the hardware may still report SR-IOV
capability and the PCI layer may wrongly advertise driver support
to enable VFs. Explicitly reset the number of supported VFs to
zero to avoid confusion.
Applications may read the /sys/bus/pci/devices/.../sriov_totalvfs
prior to enabling VFs using the sriov_numvfs to check if such an
operation is possible.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
+ /mt/dim checkpatch f58676e47c12a99409b71f7d3bab9f89e14522b4 drm-intel
2eb5b5e97ad8 drm/xe/pf: Don't advertise support to enable VFs if not ready
More information about the Intel-xe
mailing list