]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ptdump: Display size of BATs
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 19 May 2020 05:48:52 +0000 (05:48 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 26 May 2020 12:22:18 +0000 (22:22 +1000)
commit20ea0af54a204aa75807b92fcf96cd7fb29f5a5a
treeb8def5f7a86dfebb18cfcc0bf24ed4da67217e1a
parentbefa950b5b2c1d257df38f9b3e7d8c3b6aa7364b
powerpc/ptdump: Display size of BATs

Display the size of areas mapped with BATs.

For that, the size display for pages is refactorised.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/acf764eee231f0358e66ca9e819f052804055acc.1589866984.git.christophe.leroy@csgroup.eu
arch/powerpc/mm/ptdump/bats.c
arch/powerpc/mm/ptdump/ptdump.c
arch/powerpc/mm/ptdump/ptdump.h