arm64: add support to dump the kernel page tables
authorLaura Abbott <lauraa@codeaurora.org>
Wed, 26 Nov 2014 00:28:39 +0000 (00:28 +0000)
committerWill Deacon <will.deacon@arm.com>
Wed, 26 Nov 2014 17:19:18 +0000 (17:19 +0000)
commitc9465b4ec37a68425c5a574b56280dc1a7e34070
tree9931393ec1143911c02dc21faf0c62fcc26f4331
parentdab78b6dcb2bfc90038f35ada826844273dde4d6
arm64: add support to dump the kernel page tables

In a similar manner to arm, it's useful to be able to dump the page
tables to verify permissions and memory types. Add a debugfs file
to check the page tables.

Acked-by: Steve Capper <steve.capper@linaro.org>
Tested-by: Steve Capper <steve.capper@linaro.org>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
[will: s/BUFFERABLE/NORMAL-NC/]
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Kconfig.debug
arch/arm64/mm/Makefile
arch/arm64/mm/dump.c [new file with mode: 0644]