From: Vasundhara Volam Date: Tue, 13 Jan 2015 06:22:23 +0000 (-0500) Subject: PCI: Add ACS quirk for Emulex NICs X-Git-Tag: fixes-v4.0-rc1~161^2~4^5~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a3763d1734bf133330dc8e246bf794b9e360e8a;p=pandora-kernel.git PCI: Add ACS quirk for Emulex NICs As Skyhawk and BE3-R (both multi-function devices) don't advertise the PCI-ACS capability, the vfio driver places all the functions of these devices in a single IOMMU group. Attaching (via PCI-passthru) two different Skyhawk/BE3-R partitions (nPAR, Flex, etc. PFs) using vfio, to different guests doesn't work as vfio only allows functions in *different* IOMMU groups to be assigned to different guests. As peer-to-peer access between PFs in Skyhawk/BE3-R is not possible, we can treat them as "fully isolated" even though the device doesn't advertise ACS. Add a PCI quirk for Skyhawk and BE3-R chips to fix this problem. Signed-off-by: Vasundhara Volam Signed-off-by: Sathya Perla Signed-off-by: Bjorn Helgaas Acked-by: Alex Williamson --- Reading git-diff-tree failed