Re: [PATCH 2/4] IOMMU: Force the VFs of an untrusted PF device to be in the PFs IOMMU group

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

[auto build test ERROR on vfio/next]
[also build test ERROR on v4.7-rc2 next-20160609]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Ilya-Lesokhin/VFIO-SR-IOV-support/20160609-202117
base:   https://github.com/awilliam/linux-vfio.git next
config: s390-default_defconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=s390 

All errors (new ones prefixed by >>):

   drivers/iommu/iommu.c: In function 'pci_device_group':
>> drivers/iommu/iommu.c:758:10: error: 'struct pci_dev' has no member named 'physfn'
        (pdev->physfn->dev_flags & PCI_DEV_FLAGS_UNTRUSTED))
             ^
   drivers/iommu/iommu.c:759:31: error: 'struct pci_dev' has no member named 'physfn'
      return iommu_group_get(&pdev->physfn->dev);
                                  ^

vim +758 drivers/iommu/iommu.c

   752		struct group_for_pci_data data;
   753		struct pci_bus *bus;
   754		struct iommu_group *group = NULL;
   755		u64 devfns[4] = { 0 };
   756		
   757		if (pdev->is_virtfn && 
 > 758		   (pdev->physfn->dev_flags & PCI_DEV_FLAGS_UNTRUSTED))
   759			return iommu_group_get(&pdev->physfn->dev);
   760	
   761		if (WARN_ON(!dev_is_pci(dev)))

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux