dma-mapping: remove dma_max_pfn
authorChristoph Hellwig <hch@lst.de>
Tue, 25 Jun 2019 09:20:42 +0000 (11:20 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 10 Jul 2019 11:17:30 +0000 (13:17 +0200)
commit79a986721decf428ba539e6e2c941c987acce655
treeb810505cf1838f621794adeebd472e118f3a09a5
parent7559d612dff0389aba5b49664e3bc94a150e45f2
dma-mapping: remove dma_max_pfn

These days, the DMA mapping code must bounce buffers for any unsupported
address. If the driver needs to optimize for natively supported ranges,
then it should use dma_get_required_mask.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
arch/arm/include/asm/dma-mapping.h
include/linux/dma-mapping.h