]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit52196ad916aa865dc664e8b8c645b406ca095289
tree934a848219ee9f1aea3291bd0fafbf4166fc7dee
parent40b4ec45bb9719bbc7dd110e7c110bac95aa5085
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