Subject: + mips-export-flush_icache_range.patch added to -mm tree To: keescook@xxxxxxxxxxxx,blogic@xxxxxxxxxxx,paul.gortmaker@xxxxxxxxxxxxx,ralf@xxxxxxxxxxxxxx,sanjayl@xxxxxxxxxxx,sergei.shtylyov@xxxxxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Wed, 09 Apr 2014 13:33:37 -0700 The patch titled Subject: mips: export flush_icache_range has been added to the -mm tree. Its filename is mips-export-flush_icache_range.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mips-export-flush_icache_range.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mips-export-flush_icache_range.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Kees Cook <keescook@xxxxxxxxxxxx> Subject: mips: export flush_icache_range The lkdtm module performs tests against executable memory ranges, so it needs to flush the icache for proper behaviors. Other architectures already export this, so do the same for MIPS. Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx> Cc: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Cc: Sanjay Lal <sanjayl@xxxxxxxxxxx> Cc: John Crispin <blogic@xxxxxxxxxxx> Cc: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/mips/mm/cache.c | 1 + 1 file changed, 1 insertion(+) diff -puN arch/mips/mm/cache.c~mips-export-flush_icache_range arch/mips/mm/cache.c --- a/arch/mips/mm/cache.c~mips-export-flush_icache_range +++ a/arch/mips/mm/cache.c @@ -38,6 +38,7 @@ void (*__flush_kernel_vmap_range)(unsign void (*__invalidate_kernel_vmap_range)(unsigned long vaddr, int size); EXPORT_SYMBOL_GPL(__flush_kernel_vmap_range); +EXPORT_SYMBOL_GPL(flush_icache_range); /* MIPS specific cache operations */ void (*flush_cache_sigtramp)(unsigned long addr); _ Patches currently in -mm which might be from keescook@xxxxxxxxxxxx are origin.patch mips-export-flush_icache_range.patch mips-export-flush_icache_range-fix.patch lib-vsprintf-add-%pt-format-specifier.patch binfmt_elfc-use-get_random_int-to-fix-entropy-depleting.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html