driver core: Add iommu_group tracking to struct device
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 30 May 2012 20:18:41 +0000 (14:18 -0600)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 25 Jun 2012 11:47:20 +0000 (13:47 +0200)
commit74416e1e07660798379ce10a210bf4fd35b84f9f
treec95498bc5c4de2d246ddf0f0a453ca930364c8ba
parent3ebb9566007083c6fd92674996d2a0be2ea79745
driver core: Add iommu_group tracking to struct device

IOMMU groups allow IOMMU drivers to represent DMA visibility
and isolation of devices.  Multiple devices may be grouped
together for the purposes of DMA.  Placing a pointer on
struct device enable easy access for things like streaming
DMA programming and drivers like VFIO.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
include/linux/device.h