]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Dump linux pagetables
authorRashmica Gupta <rashmicy@gmail.com>
Fri, 27 May 2016 05:48:59 +0000 (15:48 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 17 Nov 2016 06:11:46 +0000 (17:11 +1100)
commita30a4d101f0831f742d317e03f6ec350a8e31634
tree8611028d0616b147433290c3c70737e8a7c1ba39
parent12bba276efc3c1c296b49568802bfe1d42159638
powerpc/mm: Dump linux pagetables

Useful to be able to dump the kernels page tables to check permissions
and memory types - derived from arm64's implementation.

Add a debugfs file to check the page tables. To use this the PPC_PTDUMP
config option must be selected.

Signed-off-by: Rashmica Gupta <rashmicy@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Kconfig.debug
arch/powerpc/mm/Makefile
arch/powerpc/mm/dump_linuxpagetables.c [new file with mode: 0644]