]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: define helpers to get L1 icache sizes
authorAlastair D'Silva <alastair@d-silva.org>
Mon, 4 Nov 2019 02:32:55 +0000 (13:32 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 7 Nov 2019 11:48:34 +0000 (22:48 +1100)
commitdf7e07c7a770ac63c6c73cb63603b7dc7627c9a1
tree9c55e9ade85db37bf758208d8a4c6cd5393c12d6
parent59a6c59f250c313fb60b39c3296186f69d7d1a45
powerpc: define helpers to get L1 icache sizes

This patch adds helpers to retrieve icache sizes, and renames the existing
helpers to make it clear that they are for dcache.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191104023305.9581-4-alastair@au1.ibm.com
arch/powerpc/include/asm/cache.h
arch/powerpc/include/asm/cacheflush.h