With the GPU moving onto a new SMMU, the override was removed due to
the way MMU-500 was integrated. Hence, the method of hinting the SMMU
of the upstream device's bus attributes would no longer work for GPU.
Instead, encode the MAIR and TCR register through the IOMMU_USE_LLC_NWA
attribute flag to map the memory into System Cache with no Write-Allocate.
MAIR Encoding:
Bits[7:4] => 0b1110 = Outer Write-back read-allocate, no write-allocate
Bits[3:0] => 0b0100 = Inner non-cacheable normal memory
TCR Encoding:
SH => 0b10 = Outer Shareable
ORGN => 0b11 = Write-Back, no Write-Allocate cacheable
Change-Id: I34db1ebfb5f4e080ca01328176bcabc368e9ddab
Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>