powerpc/8xx: rewrite flush_instruction_cache() in C
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 9 Feb 2016 16:08:21 +0000 (17:08 +0100)
committerScott Wood <oss@buserror.net>
Fri, 11 Mar 2016 23:20:11 +0000 (17:20 -0600)
commit766d45cbeecc383b8ee230370b316d0b1e30d915
tree934a848219ee9f1aea3291bd0fafbf4166fc7dee
parenta7761fe48993f103d6deac6037bf786bd1db0501
powerpc/8xx: rewrite flush_instruction_cache() in C

On PPC8xx, flushing instruction cache is performed by writing
in register SPRN_IC_CST. This registers suffers CPU6 ERRATA.
The patch rewrites the fonction in C so that CPU6 ERRATA will
be handled transparently

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <oss@buserror.net>
arch/powerpc/kernel/misc_32.S
arch/powerpc/mm/8xx_mmu.c