]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: purge all the prefetched instructions for the coherent icache flush
authorKevin Hao <haokexin@gmail.com>
Thu, 22 Aug 2013 01:30:35 +0000 (09:30 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 2 Dec 2013 03:13:47 +0000 (14:13 +1100)
commit39ce1ac3b06c055928bde9af604c7737d73052e0
treeb3302187e8e314de7c7cef55f1147c755de8e8f6
parent053eab1daed20ca0cee9093461a4b0ae7168cb76
powerpc: purge all the prefetched instructions for the coherent icache flush

As Benjamin Herrenschmidt has indicated, we still need a dummy icbi to
purge all the prefetched instructions from the ifetch buffers for the
snooping icache. We also need a sync before the icbi to order the
actual stores to memory that might have modified instructions with
the icbi.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/cache.h
arch/powerpc/kernel/misc_32.S
arch/powerpc/kernel/misc_64.S