commit | f51d7bb79c1124f7f02e9f472ef935eba13bca8e | [log] [tgz] |
---|---|---|
author | Robin Murphy <robin.murphy@arm.com> | Mon Jan 16 13:24:54 2017 +0000 |
committer | Joerg Roedel <jroedel@suse.de> | Mon Jan 30 16:14:24 2017 +0100 |
tree | a6799da585a3f46bad52ceaa8333c4714aaf20d8 | |
parent | ce273db0ff1ae64fea785af25a43977b0b6a4555 [diff] |
iommu/dma: Stop getting dma_32bit_pfn wrong iommu_dma_init_domain() was originally written under the misconception that dma_32bit_pfn represented some sort of size limit for IOVA domains. Since the truth is almost the exact opposite of that, rework the logic and comments to reflect its real purpose of optimising lookups when allocating from a subset of the available 64-bit space. Signed-off-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>