iommu/arm-smmu: correct the physical address mask during ATOS
We're currently taking the upper 52 bits from the CB_PAR register and using them for the output physical address. That doesn't make sense for a few reasons, not the least of which is the fact that physical addresses are only 48 bits on ARM64 and even less on ARM32. Also, when using V7L and V8 descriptor formats the top byte of the CB_PAR register contains the memory attributes for the translation. Fix this by masking out everything above the valid physical address bits with PHYS_MASK. Change-Id: I96096a6515dc42025d3134933a90b072e5153968 Signed-off-by:Mitchel Humpherys <mitchelh@codeaurora.org> Signed-off-by:
Patrick Daly <pdaly@codeaurora.org>
Loading
Please register or sign in to comment