iommu/intel: Implement iommu_device_group
authorAlex Williamson <alex.williamson@redhat.com>
Fri, 21 Oct 2011 19:56:11 +0000 (15:56 -0400)
committerHiroshi DOYU <hdoyu@nvidia.com>
Mon, 23 Jan 2012 09:11:37 +0000 (11:11 +0200)
commit999342f46cfaf0d5175f1db8c532276cddb70fa2
treeb98128be6cdef26e14dcb5ae644066316734b8f1
parentdce548fee8c930256b057313dd408a989326a519
iommu/intel: Implement iommu_device_group

We generally have BDF granularity for devices, so we just need
to make sure devices aren't hidden behind PCIe-to-PCI bridges.
We can then make up a group number that's simply the concatenated
seg|bus|dev|fn so we don't have to track them (not that users
should depend on that).

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Acked-By: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>

Conflicts:

drivers/iommu/intel-iommu.c

Change-Id: Ifc8108a42383f317c2db42003eb96713a98a6899
drivers/iommu/intel-iommu.c