The current DMA coherent pool assumes that there is a kernel mapping at all times for the entire pool. This may not be what we want for the entire times. Add the dma_removed ops to support this use case. Bug: 145617272 Signed-off-by: Laura Abbott <lauraa@codeaurora.org> Signed-off-by: Patrick Daly <pdaly@codeaurora.org> Signed-off-by: Liam Mark <lmark@codeaurora.org> Signed-off-by: Swathi Sridhar <swatsrid@codeaurora.org> [surenb Squashed the following commits: a478a8bf78ad "drivers: Add dma removed ops" 8510985ae320 "dma: removed: Merge dma removed changes from 4.14" and removed-dma-pool driver changes from 9d4b7d641556 "iommu: arm-smmu: Merge for ..."] Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: Ie4f1e9bdf57b79699fa8fa7e7a6087e6d88ebbfa |
||
|---|---|---|
| .. | ||
| coherent.c | ||
| contiguous.c | ||
| debug.c | ||
| direct.c | ||
| Kconfig | ||
| Makefile | ||
| mapping.c | ||
| noncoherent.c | ||
| removed.c | ||
| swiotlb.c | ||
| virt.c | ||