]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - Documentation/core-api/dma-api.rst
dma-mapping: remove the {alloc,free}_noncoherent methods
authorChristoph Hellwig <hch@lst.de>
Tue, 24 Nov 2020 15:38:40 +0000 (16:38 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 9 Feb 2021 17:01:38 +0000 (18:01 +0100)
commit81d88ce55092edf1a1f928efb373f289c6b90efd
tree5a1706ea280e7f9a653512ff492bbcc6129485e7
parent9dc00b25eadf2908ae76ac0607b55a9f4e0e0cdc
dma-mapping: remove the {alloc,free}_noncoherent methods

It turns out allowing non-contigous allocations here was a rather bad
idea, as we'll now need to define ways to get the pages for mmaping
or dma_buf sharing.  Revert this change and stick to the original
concept.  A different API for the use case of non-contigous allocations
will be added back later.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Tested-by: Ricardo Ribalda <ribalda@chromium.org>:wq
Documentation/core-api/dma-api.rst
drivers/iommu/dma-iommu.c
include/linux/dma-map-ops.h
include/linux/dma-mapping.h
kernel/dma/mapping.c