]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/cache: add cache flush operation for various e500
authorchenhui zhao <chenhui.zhao@freescale.com>
Fri, 20 Nov 2015 09:13:58 +0000 (17:13 +0800)
committerScott Wood <oss@buserror.net>
Sat, 5 Mar 2016 05:44:51 +0000 (23:44 -0600)
commite7affb1dba0e9068aeb3978e858f39753e0dc20a
treeacc3b13685888fd5ad9ba6a67b0b6235447eba7f
parentebb9d30a6a74f4ced5b7d35446ebb6362a724393
powerpc/cache: add cache flush operation for various e500

Various e500 core have different cache architecture, so they
need different cache flush operations. Therefore, add a callback
function cpu_flush_caches to the struct cpu_spec. The cache flush
operation for the specific kind of e500 is selected at init time.
The callback function will flush all caches inside the current cpu.

Signed-off-by: Chenhui Zhao <chenhui.zhao@freescale.com>
Signed-off-by: Tang Yuantian <Yuantian.Tang@feescale.com>
Signed-off-by: Scott Wood <oss@buserror.net>
arch/powerpc/include/asm/cacheflush.h
arch/powerpc/include/asm/cputable.h
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/cpu_setup_fsl_booke.S
arch/powerpc/kernel/cputable.c
arch/powerpc/kernel/head_fsl_booke.S
arch/powerpc/platforms/85xx/smp.c