summaryrefslogtreecommitdiffstats
path: root/arch/arm64/mm/dma-mapping.c
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2017-01-16 14:24:55 +0100
committerJoerg Roedel <jroedel@suse.de>2017-01-30 16:14:24 +0100
commit122fac030e912ed723fe94d8eb0d5d0f6b31535e (patch)
treeddfdbf1d6725f348ece0fffe7dc839077c32cc5a /arch/arm64/mm/dma-mapping.c
parentiommu/dma: Stop getting dma_32bit_pfn wrong (diff)
downloadlinux-122fac030e912ed723fe94d8eb0d5d0f6b31535e.tar.xz
linux-122fac030e912ed723fe94d8eb0d5d0f6b31535e.zip
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/dma-mapping.c')
0 files changed, 0 insertions, 0 deletions