]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.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)
committerTim Gardner <tim.gardner@canonical.com>
Tue, 21 Feb 2017 17:00:23 +0000 (10:00 -0700)
commit865e51e5e8a88a537264f087382e248c35cd893b
tree476c4cdc4fe7ee6ae0dce8dead1160e7bc0d4ec8
parentc2785df7b6963c8e3075344cc2edb4eae38e86a0
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>
(cherry picked from commit e5b5234a36ca283158721d3d2e0cddfa324abdf9)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/iommu/amd_iommu.c
drivers/iommu/iommu.c
include/linux/iommu.h