OSDN Git Service

iommu/exynos: Add devices attached to the System MMU to an IOMMU group
authorAntonios Motakis <a.motakis@virtualopensystems.com>
Mon, 12 May 2014 06:14:59 +0000 (11:44 +0530)
committerJoerg Roedel <jroedel@suse.de>
Tue, 13 May 2014 17:12:58 +0000 (19:12 +0200)
commitbf4a1c920286076609779c2c70c5a2bf69169fc7
tree63c13531824d2e32739cd9c87ce4ec6691a0eddd
parentd09d78fc986be8355928256d1b86b713588999d7
iommu/exynos: Add devices attached to the System MMU to an IOMMU group

Patch written by Antonios Motakis <a.motakis@virtualopensystems.com>:

IOMMU groups are expected by certain users of the IOMMU API,
e.g. VFIO. Since each device is behind its own System MMU, we
can allocate a new IOMMU group for each device.

Reviewed-by: Cho KyongHo <pullip.cho@samsung.com>
Signed-off-by: Antonios Motakis <a.motakis@virtualopensystems.com>
Signed-off-by: Shaik Ameeer Basha <shaik.ameer@samsung.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/exynos-iommu.c