[PATCH 0/4 v2] iommu/omap: Add support for iommu-groups and 'struct iommu_device'

From: Joerg Roedel
Date: Fri Apr 07 2017 - 10:41:46 EST


Hi,

here is a small patch-set for the omap-iommu driver to make
it use new features of the iommu-core. Please review.

Thanks,

Joerg

Changes since v1:

* Dropped patch 2 and moved device-link and
group-handling to attach/detach_dev call-backs for
now.

Joerg Roedel (4):
iommu/omap: Move data structures to omap-iommu.h
iommu/omap: Set dev->archdata.iommu = NULL in omap_iommu_remove_device
iommu/omap: Make use of 'struct iommu_device'
iommu/omap: Add iommu-group support

drivers/iommu/omap-iommu.c | 82 +++++++++++++++++++++++++-------
drivers/iommu/omap-iommu.h | 35 ++++++++++++++
include/linux/platform_data/iommu-omap.h | 17 -------
3 files changed, 101 insertions(+), 33 deletions(-)

--
1.9.1