iommu: Add apply_dm_region call-back to iommu-ops
authorJoerg Roedel <jroedel@suse.de>
Tue, 5 Jul 2016 11:07:53 +0000 (13:07 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 13 Jul 2016 10:46:05 +0000 (12:46 +0200)
commit33b21a6b203f70e2012b02753134e59c3ab38779
treedee32522644e5dd8b3e2bc52169eae2ea6facf50
parentb548e786ce47017107765bbeb0f100202525ea83
iommu: Add apply_dm_region call-back to iommu-ops

This new call-back will be used by the iommu driver to do
reserve the given dm_region in its iova space before the
mapping is created.

The call-back is temporary until the dma-ops implementation
is part of the common iommu code.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c
include/linux/iommu.h