iommu: io-pgtable-arm: Implement IOMMU_USE_UPSTREAM_HINT

Set the appropriate MAIR to to use the bus attributes from the upstream
device, rather than override them in the SMMU. This feature requires
special iommu hw support and will be activated if the SMMU sets a 'magic'
MAIR attribute.

The MAIR attribute requirements are:
Inner Cacheablity = 0
Outer Cacheablity = 1, Write-Back Write Allocate
Outer Shareablity = 1

Change-Id: I3610fd94cd41cc94b2db870c30a7ce996ca02301
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2 files changed