aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/Kconfig.debug
diff options
context:
space:
mode:
authorLaura Abbott <lauraa@codeaurora.org>2014-11-25 19:28:39 -0500
committerWill Deacon <will.deacon@arm.com>2014-11-26 12:19:18 -0500
commitc9465b4ec37a68425c5a574b56280dc1a7e34070 (patch)
tree9931393ec1143911c02dc21faf0c62fcc26f4331 /arch/arm64/Kconfig.debug
parentdab78b6dcb2bfc90038f35ada826844273dde4d6 (diff)
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>
Diffstat (limited to 'arch/arm64/Kconfig.debug')
-rw-r--r--arch/arm64/Kconfig.debug12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig.debug b/arch/arm64/Kconfig.debug
index 0a12933e50ed..5fdd6dce8061 100644
--- a/arch/arm64/Kconfig.debug
+++ b/arch/arm64/Kconfig.debug
@@ -6,6 +6,18 @@ config FRAME_POINTER
6 bool 6 bool
7 default y 7 default y
8 8
9config ARM64_PTDUMP
10 bool "Export kernel pagetable layout to userspace via debugfs"
11 depends on DEBUG_KERNEL
12 select DEBUG_FS
13 help
14 Say Y here if you want to show the kernel pagetable layout in a
15 debugfs file. This information is only useful for kernel developers
16 who are working in architecture specific areas of the kernel.
17 It is probably not a good idea to enable this feature in a production
18 kernel.
19 If in doubt, say "N"
20
9config STRICT_DEVMEM 21config STRICT_DEVMEM
10 bool "Filter access to /dev/mem" 22 bool "Filter access to /dev/mem"
11 depends on MMU 23 depends on MMU