Skip to contentSkip to conversation

+ mips-export-flush_icache_range.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Apr 9, 2014 MIPS

lore
Share & tools
lore
#0 lore raw

Subject: + mips-export-flush_icache_range.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
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 <[email protected]>
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.

Cc Paul Gortmaker <[email protected]>
Cc Ralf Baechle <[email protected]>
Cc Sanjay Lal <[email protected]>
Cc John Crispin <[email protected]>
Cc Sergei Shtylyov <[email protected]>

---

 arch/mips/mm/cache.c |    1 +
 1 file changed, 1 insertion(+)
arch/mips/mm/cache.c renamed from arch/mips/mm/cache.c~mips-export-flush_icache_range +1 -0
diff -puN arch/mips/mm/cache.c~mips-export-flush_icache_range 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 [email protected] 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