OpenCloudOS-Kernel/arch/microblaze/mm
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
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
consistent.c dma-direct: make uncached_kernel_address more general 2024-06-11 21:11:22 +08:00
fault.c signal: Remove the task parameter from force_sig_fault 2019-05-29 09:31:43 -05:00
highmem.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
init.c init: provide a generic free_initmem implementation 2019-05-14 09:47:47 -07:00
mmu_context.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pgtable.c mm: remove quicklist page table caches 2019-09-24 15:54:09 -07:00