]> asedeno.scripts.mit.edu Git - linux.git/commit
iommu: Rename iommu_dm_regions into iommu_resv_regions
authorEric Auger <eric.auger@redhat.com>
Thu, 19 Jan 2017 20:57:47 +0000 (20:57 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 23 Jan 2017 11:48:16 +0000 (11:48 +0000)
commite5b5234a36ca283158721d3d2e0cddfa324abdf9
treeea96d338820402dc371f2a60b526b973a543f9a3
parentfdbe574eb69312a7fbe09674d69c01b80e4ed9dc
iommu: Rename iommu_dm_regions into iommu_resv_regions

We want to extend the callbacks used for dm regions and
use them for reserved regions. Reserved regions can be
- directly mapped regions
- regions that cannot be iommu mapped (PCI host bridge windows, ...)
- MSI regions (because they belong to another address space or because
  they are not translated by the IOMMU and need special handling)

So let's rename the struct and also the callbacks.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Acked-by: Robin Murphy <robin.murphy@arm.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/amd_iommu.c
drivers/iommu/iommu.c
include/linux/iommu.h