✓ CI.checkpatch: success for drm/xe/pf: Don't advertise support to enable VFs if not ready (rev2)

Patchwork patchwork at emeril.freedesktop.org
Tue May 14 17:00:46 UTC 2024


== Series Details ==

Series: drm/xe/pf: Don't advertise support to enable VFs if not ready (rev2)
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
57b97a66dd129aea93991dc66cd10477f7a05cf8
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 5a01c20a0f5a2c573a5e305f69f74e3e5006b193
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>
    Reviewed-by: Piotr Piórkowski <piotr.piorkowski at intel.com>
+ /mt/dim checkpatch a0c161037de0a89c0a9ea744f60099a4f94cc123 drm-intel
5a01c20a0f5a drm/xe/pf: Don't advertise support to enable VFs if not ready




More information about the Intel-xe mailing list