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)
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>

No differences found