✗ CI.checkpatch: warning for PCI: VF resizable BAR (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Thu Oct 10 10:37:58 UTC 2024
== Series Details ==
Series: PCI: VF resizable BAR (rev2)
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 a060e15879afd5db953e593f4359ab721ce53db1
Author: Michał Winiarski <michal.winiarski at intel.com>
Date: Thu Oct 10 12:32:03 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 40eee4a1af7598f2992f9b69bfea567074d23ea6 drm-intel
04376ecd61ee PCI/IOV: Restore VF resizable BAR state after reset
02be94796c32 PCI: Add a helper to identify IOV resources
-:45: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#45: FILE: drivers/pci/pci.h:606:
}
+static inline bool pci_resource_is_iov(int resno)
total: 0 errors, 0 warnings, 1 checks, 73 lines checked
362c618c3683 PCI: Allow IOV resources to be resized in pci_resize_resource
-:77: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#77: FILE: drivers/pci/pci.h:587:
}
+void pci_iov_resource_set_size(struct pci_dev *dev, int resno, resource_size_t size);
-:86: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#86: FILE: drivers/pci/pci.h:612:
}
+static inline void pci_iov_resource_set_size(struct pci_dev *dev, int resno,
total: 0 errors, 0 warnings, 2 checks, 127 lines checked
73212d5690d8 PCI/IOV: Allow extending VF BAR within original resource boundary
-:46: WARNING:ENOTSUPP: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP
#46: FILE: drivers/pci/iov.c:192:
+ ret = -ENOTSUPP;
-:87: CHECK:CAMELCASE: Avoid CamelCase: <total_VFs>
#87: FILE: drivers/pci/iov.c:233:
+ pci_iov_resource_do_extend(dev, resno, dev->sriov->total_VFs);
-:100: WARNING:ENOTSUPP: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP
#100: FILE: drivers/pci/iov.c:246:
+ return -ENOTSUPP;
total: 0 errors, 2 warnings, 1 checks, 140 lines checked
a060e15879af drm/xe/pf: Extend the VF LMEM BAR
More information about the Intel-xe
mailing list