OpenCloudOS-Kernel/arch/microblaze
Christoph Hellwig 1ed1bef7fc dma-direct: make uncached_kernel_address more general
commit fa7e2247c5 upstream.

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>
Signed-off-by: Chen Zhuo <sagazchen@tencent.com>
Signed-off-by: Xinghui Li <korantli@tencent.com>
2024-06-11 21:11:22 +08:00
..
boot microblaze: Switch to standard restart handler 2019-09-19 10:43:32 +02:00
configs microblaze: Switch to standard restart handler 2019-09-19 10:43:32 +02:00
include Merge branch 'akpm' (patches from Andrew) 2019-09-24 16:10:23 -07:00
kernel dma-mapping: drop the dev argument to arch_sync_dma_for_* 2024-06-11 21:11:18 +08:00
lib microblaze: Setup dependencies for ASM optimized lib functions 2018-03-16 12:51:26 +01:00
mm dma-direct: make uncached_kernel_address more general 2024-06-11 21:11:22 +08:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
Kconfig dma-direct: provide mmap and get_sgtable method overrides 2024-06-11 21:11:17 +08:00
Kconfig.debug docs: kbuild: convert docs to ReST and rename to *.rst 2019-06-14 14:21:21 -06:00
Kconfig.platform docs: kbuild: convert docs to ReST and rename to *.rst 2019-06-14 14:21:21 -06:00
Makefile microblaze: fix race condition in building boot images 2018-12-14 08:09:21 +01:00