tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-4.4
head: 406ac1284a7e2ecc563c113dd80760ac34fe775e
commit: 48a95280236f1251065b24e29b417a63951bf224 [76/87] x86/PCI: VMD: Add quirk for AER
to ignore source ID
config: alpha-defconfig (attached as .config)
compiler: alpha-linux-gcc (GCC) 7.5.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 48a95280236f1251065b24e29b417a63951bf224
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross ARCH=alpha
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/pci/quirks.c:29:0:
drivers/pci/pci.h: In function 'pci_match_one_device':
drivers/pci/pci.h:202:18: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
if ((id->vendor == PCI_ANY_ID || id->vendor == dev->vendor) &&
^~
drivers/pci/pci.h:203:18: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
(id->device == PCI_ANY_ID || id->device == dev->device) &&
^~
drivers/pci/pci.h:204:21: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
(id->subvendor == PCI_ANY_ID || id->subvendor == dev->subsystem_vendor)
&&
^~
drivers/pci/pci.h:205:21: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
(id->subdevice == PCI_ANY_ID || id->subdevice == dev->subsystem_device)
&&
^~
drivers/pci/quirks.c: In function 'quirk_via_vlink':
drivers/pci/quirks.c:943:52: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
if (dev->bus->number != 0 || PCI_SLOT(dev->devfn) > via_vlink_dev_hi ||
^
drivers/pci/quirks.c:944:27: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
PCI_SLOT(dev->devfn) < via_vlink_dev_lo)
^
drivers/pci/quirks.c: In function 'pci_quirk_intel_pch_acs_match':
drivers/pci/quirks.c:3888:16: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
for (i = 0; i < ARRAY_SIZE(pci_quirk_intel_pch_acs_ids); i++)
^
drivers/pci/quirks.c: In function 'quirk_no_aersid':
> drivers/pci/quirks.c:4250:27: error:
'PCI_BUS_FLAGS_NO_AERSID' undeclared (first use in this function); did you mean
'PCI_BUS_FLAGS_NO_MSI'?
pdev->bus->bus_flags |=
PCI_BUS_FLAGS_NO_AERSID;
^~~~~~~~~~~~~~~~~~~~~~~
PCI_BUS_FLAGS_NO_MSI
drivers/pci/quirks.c:4250:27: note: each undeclared identifier is reported only once
for each function it appears in
drivers/pci/quirks.c: In function 'quirk_netmos':
drivers/pci/quirks.c:1904:6: warning: this statement may fall through
[-Wimplicit-fallthrough=]
if (dev->subsystem_vendor == PCI_VENDOR_ID_IBM &&
^
drivers/pci/quirks.c:1907:2: note: here
case PCI_DEVICE_ID_NETMOS_9735:
^~~~
vim +4250 drivers/pci/quirks.c
4239
4240 /*
4241 * VMD-enabled root ports will change the source ID for all messages
4242 * to the VMD device. Rather than doing device matching with the source
4243 * ID, the AER driver should traverse the child device tree, reading
4244 * AER registers to find the faulting device.
4245 */
4246 static void quirk_no_aersid(struct pci_dev *pdev)
4247 {
4248 /* VMD Domain */
4249 if (pdev->bus->sysdata && pci_domain_nr(pdev->bus) >=
0x10000)
4250 pdev->bus->bus_flags |= PCI_BUS_FLAGS_NO_AERSID;
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org