summaryrefslogtreecommitdiffstats
path: root/kernel/dma/coherent.c
Commit message (Collapse)AuthorAgeFilesLines
* dma-mapping: remove the DMA_MEMORY_EXCLUSIVE flagChristoph Hellwig2019-02-201-18/+7Star
| | | | | | | | All users of dma_declare_coherent want their allocations to be exclusive, so default to exclusive allocations. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* dma-mapping: remove dma_mark_declared_memory_occupiedChristoph Hellwig2019-02-201-23/+0Star
| | | | | | This API is not used anywhere, so remove it. Signed-off-by: Christoph Hellwig <hch@lst.de>
* dma-mapping: remove an incorrect __iommem annotationChristoph Hellwig2019-02-131-1/+1
| | | | | | memmap return a regular void pointer, not and __iomem one. Signed-off-by: Christoph Hellwig <hch@lst.de>
* dma-mapping: remove a few unused exportsChristoph Hellwig2019-01-041-2/+0Star
| | | | | | | Now that the slow path DMA API calls are implemented out of line a few helpers only used by them don't need to be exported anymore. Signed-off-by: Christoph Hellwig <hch@lst.de>
* dma-mapping: move all DMA mapping code to kernel/dmaChristoph Hellwig2018-06-141-0/+434
Currently the code is split over various files with dma- prefixes in the lib/ and drives/base directories, and the number of files keeps growing. Move them into a single directory to keep the code together and remove the file name prefixes. To match the irq infrastructure this directory is placed under the kernel/ directory. Signed-off-by: Christoph Hellwig <hch@lst.de>