]> asedeno.scripts.mit.edu Git - linux.git/commit
iommu: iommu_alloc_resv_region
authorEric Auger <eric.auger@redhat.com>
Thu, 19 Jan 2017 20:57:49 +0000 (20:57 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 23 Jan 2017 11:48:16 +0000 (11:48 +0000)
commit2b20cbba3390a55c511acba2f0f517dd27a528b2
treef88d74a181db5f6d0b7c801c51ab18db26ab16ed
parentd30ddcaa7b028049cdfee3a40248002d07b2bbf3
iommu: iommu_alloc_resv_region

Introduce a new helper serving the purpose to allocate a reserved
region. This will be used in iommu driver implementing reserved
region callbacks.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Tomasz Nowicki <tomasz.nowicki@caviumnetworks.com>
Tested-by: Tomasz Nowicki <tomasz.nowicki@caviumnetworks.com>
Tested-by: Bharat Bhushan <bharat.bhushan@nxp.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/iommu.c
include/linux/iommu.h