✗ CI.checkpatch: warning for PCI: VF resizable BAR
Patchwork
patchwork at emeril.freedesktop.org
Thu Sep 19 22:47:33 UTC 2024
== Series Details ==
Series: PCI: VF resizable BAR
URL : https://patchwork.freedesktop.org/series/138887/
State : warning
== 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
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit eeea64c1161a4ead64491d9101d97754cb2a28d5
Author: Michał Winiarski <michal.winiarski at intel.com>
Date: Fri Sep 20 00:35:57 2024 +0200
drm/xe/pf: Extend the VF LMEM BAR
Opt into extending the VF BAR.
LMEM is partitioned between multiple VFs, and we expect that the more
VFs we have, the less LMEM is assigned to each VF.
This means that we can achieve full LMEM BAR access without the need to
attempt full VF LMEM BAR resize via pci_resize_resource().
Signed-off-by: Michał Winiarski <michal.winiarski at intel.com>
+ /mt/dim checkpatch d4340c1de6d417c7b3edac187c3af011b146701a drm-intel
88a4e10f9904 PCI: Add support for VF Resizable Bar extended cap
-:141: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#141: FILE: drivers/pci/pci.h:574:
}
+static inline bool pci_iov_memory_decoding_enabled(struct pci_dev *dev)
-:145: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#145: FILE: drivers/pci/pci.h:578:
+}
+static inline bool pci_resource_is_iov(struct pci_dev *dev, int resno)
-:149: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#149: FILE: drivers/pci/pci.h:582:
+}
+static inline void pci_iov_resource_set_size(struct pci_dev *dev, int resno,
total: 0 errors, 0 warnings, 3 checks, 202 lines checked
c646791a080e PCI: Allow extending VF BAR within original resource boundary
-:45: WARNING:ENOTSUPP: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP
#45: FILE: drivers/pci/iov.c:199:
+ ret = -ENOTSUPP;
-:86: CHECK:CAMELCASE: Avoid CamelCase: <total_VFs>
#86: FILE: drivers/pci/iov.c:240:
+ pci_iov_resource_do_extend(dev, resno, dev->sriov->total_VFs);
-:99: WARNING:ENOTSUPP: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP
#99: FILE: drivers/pci/iov.c:253:
+ return -ENOTSUPP;
total: 0 errors, 2 warnings, 1 checks, 140 lines checked
eeea64c1161a drm/xe/pf: Extend the VF LMEM BAR
More information about the Intel-xe
mailing list