summaryrefslogtreecommitdiff
path: root/arch/arm64/mm
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2017-01-16 16:24:55 +0300
committerJoerg Roedel <jroedel@suse.de>2017-01-30 18:14:24 +0300
commit122fac030e912ed723fe94d8eb0d5d0f6b31535e (patch)
treeddfdbf1d6725f348ece0fffe7dc839077c32cc5a /arch/arm64/mm
parentf51d7bb79c1124f7f02e9f472ef935eba13bca8e (diff)
downloadlinux-122fac030e912ed723fe94d8eb0d5d0f6b31535e.tar.xz
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/arm64/mm')
0 files changed, 0 insertions, 0 deletions