iommu/arm-smmu-v3: Support 52-bit physical address
authorRobin Murphy <robin.murphy@arm.com>
Mon, 26 Mar 2018 12:35:14 +0000 (13:35 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 27 Mar 2018 13:12:06 +0000 (14:12 +0100)
commit6619c9138533597dc0ff52155d263f14e8578ca2
treedc5c5dad0a9696b3e0c0ae8a4e2811a3e62859c0
parent6c89928ff7a0f7b4ebc2ac1acab9f99d5f50ed75
iommu/arm-smmu-v3: Support 52-bit physical address

Implement SMMUv3.1 support for 52-bit physical addresses. Since a 52-bit
OAS implies 64KB translation granule support, permitting level 1 block
entries there is simple, and the rest is just extending address fields.

Tested-by: Nate Watterson <nwatters@codeaurora.org>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu-v3.c