microblaze-use-asm-generic-cacheflushh.patch removed from -mm tree
The patch titled
Subject: microblaze: use asm-generic/cacheflush.h
has been removed from the -mm tree. Its filename was
microblaze-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: microblaze: use asm-generic/cacheflush.h
Microblaze needs almost no cache flushing routines of its own. Rely on asm-generic/cacheflush.h for the defaults.
---
arch/microblaze/include/asm/cacheflush.h | 29 +-------------------- 1 file changed, 2 insertions(+), 27 deletions(-)
arch/microblaze/include/asm/cacheflush.h renamed from arch/microblaze/include/asm/cacheflush.h~microblaze-use-asm-generic-cacheflushh +2 -27
@@ -57,9 +57,6 @@ void microblaze_cache_init(void);#define invalidate_icache () mbc->iin();#define invalidate_icache_range (start, end) mbc->iinr(start, end); -#define flush_icache_user_range (vma, pg, adr, len) flush_icache(); -#define flush_icache_page (vma, pg) do { } while (0) -#define enable_dcache () mbc->de();#define disable_dcache () mbc->dd();/* FIXME for LL-temac driver */
@@ -77,27 +74,9 @@ do { \flush_dcache_range ((unsigned ) (addr), (unsigned ) (addr) +PAGE_SIZE ); \ }while (0 ); -#define flush_dcache_mmap_lock (mapping) do { } while (0) -#define flush_dcache_mmap_unlock (mapping) do { } while (0) - -#define flush_cache_dup_mm (mm) do { } while (0) -#define flush_cache_vmap (start, end) do { } while (0) -#define flush_cache_vunmap (start, end) do { } while (0) -#define flush_cache_mm (mm) do { } while (0) -#define flush_cache_page (vma, vmaddr, pfn) \ flush_dcache_range(pfn << PAGE_SHIFT, (pfn << PAGE_SHIFT) + PAGE_SIZE); -/* MS: kgdb code use this macro, wrong len with FLASH */ -#if 0 -#define flush_cache_range (vma, start, len) { \ - flush_icache_range((unsigned) (start), (unsigned) (start) + (len)); \ - flush_dcache_range((unsigned) (start), (unsigned) (start) + (len)); \ -} -#endif - -#define flush_cache_range (vma, start, len) do { } while (0) -static inline void copy_to_user_page (struct vm_area_struct *vma,struct page *page,unsigned long vaddr,void *dst,void *src,int len)
@@ -109,12 +88,8 @@ static inline void copy_to_user_page(str flush_dcache_range(addr, addr + PAGE_SIZE); } } +#define copy_to_user_page copy_to_user_page -static inline void copy_from_user_page (struct vm_area_struct *vma, -struct page *page,unsigned long vaddr, -void *dst,void *src,int len) -{ -memcpy (dst, src, len); -} +#include <asm-generic/cacheflush.h> #endif /* _ASM_MICROBLAZE_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