SDM660: ADSPRPC: Align the size of IOVA to 128MB

Align the size of the IOVA that is being passed
in the arm_iommu_create_mapping() to 128MB.

Change-Id: Ia554c2157d6c46b2f3848f993a7e61ff7f029547
Acked-by: Chenna Kesava Raju <chennak@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
This commit is contained in:
Tharun Kumar Merugu 2017-04-27 17:43:27 +05:30 committed by Gerrit - the friendly Code Review server
parent f1a10f1598
commit 0f776b9069

View file

@ -2792,7 +2792,7 @@ static int fastrpc_cb_probe(struct device *dev)
start = 0x60000000; start = 0x60000000;
VERIFY(err, !IS_ERR_OR_NULL(sess->smmu.mapping = VERIFY(err, !IS_ERR_OR_NULL(sess->smmu.mapping =
arm_iommu_create_mapping(&platform_bus_type, arm_iommu_create_mapping(&platform_bus_type,
start, 0x7fffffff))); start, 0x70000000)));
if (err) if (err)
goto bail; goto bail;
iommu_set_fault_handler(sess->smmu.mapping->domain, iommu_set_fault_handler(sess->smmu.mapping->domain,