linux/arch/nios2
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
..
boot treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
configs sysctl: Remove the sysctl system call 2019-11-26 13:03:56 -06:00
include mm/vmalloc: Add empty <asm/vmalloc.h> headers and use them from <linux/vmalloc.h> 2019-12-10 10:12:55 +01:00
kernel TTY/Serial driver updates for 5.6-rc1 2020-01-29 10:13:27 -08:00
lib treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
mm dma-direct: make uncached_kernel_address more general 2020-03-16 10:48:09 +01:00
platform treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Kconfig dma-direct: make uncached_kernel_address more general 2020-03-16 10:48:09 +01:00
Kconfig.debug nios2: remove pointless second entry for CONFIG_TRACE_IRQFLAGS_SUPPORT 2019-07-04 11:32:09 +08:00
Makefile kbuild: consolidate Devicetree dtb build rules 2018-10-02 09:23:21 -05:00