OSDN Git Service

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)
commit7a0745c5e03ff1129864bc6d80f5c4417e8d7893
tree9c55e9ade85db37bf758208d8a4c6cd5393c12d6
parentf9ec11165301982585e5e5f606739b5bae5331f3
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