diff options
author | Varun Sethi <Varun.Sethi@freescale.com> | 2013-03-06 12:53:01 (GMT) |
---|---|---|
committer | Emil Medve <Emilian.Medve@Freescale.com> | 2013-03-21 18:42:15 (GMT) |
commit | 7fb1191b9692884fc3a67257290569296e20be49 (patch) | |
tree | 445716d5e24e175828e827c29b85e8cd85fdb168 /drivers/iommu/amd_iommu.c | |
parent | e9068463dcc39de430f217835df802122dcdaf03 (diff) | |
download | linux-fsl-qoriq-7fb1191b9692884fc3a67257290569296e20be49.tar.xz |
iommu/fsl: Make iova u64 in the iommu_iova_to_phys API.
This is required as in case of PAMU iova can be > u32, as it can support
a window size of up to 64G (even on 32bit).
Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com>
Diffstat (limited to 'drivers/iommu/amd_iommu.c')
-rw-r--r-- | drivers/iommu/amd_iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index c1c74e0..44683dd 100644 --- a/drivers/iommu/amd_iommu.c +++ b/drivers/iommu/amd_iommu.c @@ -3413,7 +3413,7 @@ static size_t amd_iommu_unmap(struct iommu_domain *dom, unsigned long iova, } static phys_addr_t amd_iommu_iova_to_phys(struct iommu_domain *dom, - unsigned long iova) + u64 iova) { struct protection_domain *domain = dom->priv; unsigned long offset_mask; |