iommu/core: Create central IOMMU group lookup/creation interface
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 3 Jul 2014 15:51:18 +0000 (09:51 -0600)
committerJoerg Roedel <jroedel@suse.de>
Fri, 4 Jul 2014 10:35:58 +0000 (12:35 +0200)
Currently each IOMMU driver that supports IOMMU groups has its own
code for discovering the base device used in grouping.  This code
is generally not specific to the IOMMU hardware, but to the bus of
the devices managed by the IOMMU.  We can therefore create a common
interface for supporting devices on different buses.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c
include/linux/iommu.h

Simple merge
Simple merge