Christoph Hellwig fa7e2247c5 dma-direct: make uncached_kernel_address more general
Rename the symbol to arch_dma_set_uncached, and pass a size to it as
well as allow an error return.  That will allow reusing this hook for
in-place pagetable remapping.

As the in-place remap doesn't always require an explicit cache flush,
also detangle ARCH_HAS_DMA_PREP_COHERENT from ARCH_HAS_DMA_SET_UNCACHED.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
2020-03-16 10:48:09 +01:00
..
2019-11-01 14:36:44 -07:00
2020-02-04 11:58:07 +00:00
2020-02-03 16:59:51 +00:00
2020-01-31 11:28:31 -08:00
2020-01-22 15:56:08 -08:00
2019-08-23 14:47:21 +01:00
2020-01-31 11:28:31 -08:00
2019-06-08 13:09:31 -07:00
2019-06-08 13:09:31 -07:00
2020-01-31 11:28:31 -08:00
2019-06-08 13:09:31 -07:00