]> 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)
commit6ae76bd4d467c7f3d479d597ba2069ada1989c23
tree9c55e9ade85db37bf758208d8a4c6cd5393c12d6
parent803c757e5738839f6736074a640018d07d6a48c0
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