]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ptdump: Properly handle non standard page size
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 19 May 2020 05:48:54 +0000 (05:48 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 26 May 2020 12:22:19 +0000 (22:22 +1000)
commit4549079b8baf2e3d406d3c3e0bcfdc60fa3e7f77
treedb5bb457d39d88a0325be1807585ccc727978094
parent73726345c17ede86c0fa827d5553daddd3fd59cd
powerpc/ptdump: Properly handle non standard page size

In order to properly display information regardless of the page size,
it is necessary to take into account real page size.

Fixes: 5003d9c927d8 ("powerpc: dump as a single line areas mapping a single physical page.")
Cc: stable@vger.kernel.org
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/a53b2a0ffd042a8d85464bf90d55bc5b970e00a1.1589866984.git.christophe.leroy@csgroup.eu
arch/powerpc/mm/ptdump/ptdump.c