From cf1464f7b909ac69d542d44e6be0e0306403ee65 Mon Sep 17 00:00:00 2001 From: Mitchel Humpherys Date: Mon, 10 Feb 2014 17:59:10 -0800 Subject: iommu: msm: always use 32-bit physical addresses TZ expects the physical address of the destination dump buffer to be 32-bits, even on LPAE targets. Always send a 32-bit integer. This requires truncating the top 4 bytes of a 64-bit physical address, but this shouldn't be a problem on current targets since all physical addresses should be <4GB. Change-Id: I486ed39e132be46ebfc80335024cb8d31d7ac1c2 Signed-off-by: Mitchel Humpherys --- drivers/iommu/msm_iommu_sec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/iommu') diff --git a/drivers/iommu/msm_iommu_sec.c b/drivers/iommu/msm_iommu_sec.c index 0c4acaf04d44..9a78c187aa66 100644 --- a/drivers/iommu/msm_iommu_sec.c +++ b/drivers/iommu/msm_iommu_sec.c @@ -124,7 +124,7 @@ static int msm_iommu_dump_fault_regs(int smmu_id, int cb_num, struct msm_scm_fault_regs_dump_req { uint32_t id; uint32_t cb_num; - phys_addr_t buff; + uint32_t buff; uint32_t len; } req_info; int resp; -- cgit v1.2.3