diff options
author | Robin Murphy | 2017-01-16 13:24:55 +0000 |
---|---|---|
committer | Joerg Roedel | 2017-01-30 16:14:24 +0100 |
commit | 122fac030e912ed723fe94d8eb0d5d0f6b31535e (patch) | |
tree | ddfdbf1d6725f348ece0fffe7dc839077c32cc5a /arch | |
parent | f51d7bb79c1124f7f02e9f472ef935eba13bca8e (diff) |
iommu/dma: Implement PCI allocation optimisation
Whilst PCI devices may have 64-bit DMA masks, they still benefit from
using 32-bit addresses wherever possible in order to avoid DAC (PCI) or
longer address packets (PCIe), which may incur a performance overhead.
Implement the same optimisation as other allocators by trying to get a
32-bit address first, only falling back to the full mask if that fails.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions