From 0f776b9069db500776951f39c7aee46683fbb0c6 Mon Sep 17 00:00:00 2001 From: Tharun Kumar Merugu Date: Thu, 27 Apr 2017 17:43:27 +0530 Subject: [PATCH] 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 Signed-off-by: Tharun Kumar Merugu --- drivers/char/adsprpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/adsprpc.c b/drivers/char/adsprpc.c index c267d3b86237..7e44b38bbfca 100644 --- a/drivers/char/adsprpc.c +++ b/drivers/char/adsprpc.c @@ -2792,7 +2792,7 @@ static int fastrpc_cb_probe(struct device *dev) start = 0x60000000; VERIFY(err, !IS_ERR_OR_NULL(sess->smmu.mapping = arm_iommu_create_mapping(&platform_bus_type, - start, 0x7fffffff))); + start, 0x70000000))); if (err) goto bail; iommu_set_fault_handler(sess->smmu.mapping->domain,