arm64-use-asm-generic-cacheflushh.patch removed from -mm tree
The patch titled
Subject: arm64: use asm-generic/cacheflush.h
has been removed from the -mm tree. Its filename was
arm64-use-asm-generic-cacheflushh.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Christoph Hellwig <[email protected]>
Subject: arm64: use asm-generic/cacheflush.h
ARM64 needs almost no cache flushing routines of its own. Rely on asm-generic/cacheflush.h for the defaults.
---
arch/arm64/include/asm/cacheflush.h | 46 ++------------------------ 1 file changed, 5 insertions(+), 41 deletions(-)
arch/arm64/include/asm/cacheflush.h renamed from arch/arm64/include/asm/cacheflush.h~arm64-use-asm-generic-cacheflushh +5 -41
@@ -94,20 +94,7 @@ static inline void flush_icache_range(unkick_all_cpus_sync (); } - -static inline void flush_cache_mm (struct mm_struct *mm) -{ -} - -static inline void flush_cache_page (struct vm_area_struct *vma, -unsigned long user_addr,unsigned long pfn) -{ -} - -static inline void flush_cache_range (struct vm_area_struct *vma, -unsigned long start,unsigned long end) -{ -} +#define flush_icache_range flush_icache_range/* * Cache maintenance functions used by the DMA API. No to be used directly.
@@ -123,12 +110,7 @@ extern void __dma_flush_area(const void*/ extern void copy_to_user_page (struct vm_area_struct *,struct page *,unsigned long ,void *,const void *,unsigned long ); -#define copy_from_user_page (vma, page, vaddr, dst, src, len) \ - do { \ - memcpy(dst, src, len); \ - } while (0) - -#define flush_cache_dup_mm (mm) flush_cache_mm(mm) +#define copy_to_user_page copy_to_user_page/* * flush_dcache_page is used when the kernel has written to the page
@@ -154,29 +136,11 @@ static __always_inline void __flush_icac dsb(ish); } -#define flush_dcache_mmap_lock (mapping) do { } while (0) -#define flush_dcache_mmap_unlock (mapping) do { } while (0) - -/* -* We don't appear to need to do anything here. In fact, if we did, we'd -* duplicate cache flushing elsewhere performed by flush_dcache_page(). -*/ -#define flush_icache_page (vma,page) do { } while (0) - -/* -* Not required on AArch64 (PIPT or VIPT non-aliasing D-cache). -*/ -static inline void flush_cache_vmap (unsigned long start,unsigned long end) -{ -} - -static inline void flush_cache_vunmap (unsigned long start,unsigned long end) -{ -} -int set_memory_valid (unsigned long addr,int numpages,int enable);int set_direct_map_invalid_noflush (struct page *page);int set_direct_map_default_noflush (struct page *page); -#endif +#include <asm-generic/cacheflush.h> + +#endif /* __ASM_CACHEFLUSH_H */
_
Patches currently in -mm which might be from [email protected] are
amdgpu-a-null-mm-does-not-mean-a-thread-is-a-kthread.patch kernel-move-use_mm-unuse_mm-to-kthreadc.patch kernel-move-use_mm-unuse_mm-to-kthreadc-v2.patch kernel-better-document-the-use_mm-unuse_mm-api-contract.patch kernel-better-document-the-use_mm-unuse_mm-api-contract-v2.patch kernel-set-user_ds-in-kthread_use_mm.patch maccess-unexport-probe_kernel_write-and-probe_user_write.patch maccess-remove-various-unused-weak-aliases.patch maccess-remove-duplicate-kerneldoc-comments.patch maccess-clarify-kerneldoc-comments.patch maccess-update-the-top-of-file-comment.patch maccess-rename-strncpy_from_unsafe_user-to-strncpy_from_user_nofault.patch maccess-rename-strncpy_from_unsafe_strict-to-strncpy_from_kernel_nofault.patch maccess-rename-strnlen_unsafe_user-to-strnlen_user_nofault.patch maccess-remove-probe_read_common-and-probe_write_common.patch maccess-unify-the-probe-kernel-arch-hooks.patch bpf-factor-out-a-bpf_trace_copy_string-helper.patch bpf-handle-the-compat-string-in-bpf_trace_copy_string-better.patch bpf-rework-the-compat-kernel-probe-handling.patch tracing-kprobes-handle-mixed-kernel-userspace-probes-better.patch maccess-remove-strncpy_from_unsafe.patch maccess-always-use-strict-semantics-for-probe_kernel_read.patch maccess-move-user-access-routines-together.patch maccess-allow-architectures-to-provide-kernel-probing-directly.patch x86-use-non-set_fs-based-maccess-routines.patch maccess-return-erange-when-copy_from_kernel_nofault_allowed-fails.patch