arm64: add support to dump the kernel page tables
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / Kconfig.debug
index 0a12933e50edaef727d67e5f678f779418ea24b4..5fdd6dce806125d1035a9e32fef8711de7ec4373 100644 (file)
@@ -6,6 +6,18 @@ config FRAME_POINTER
        bool
        default y
 
+config ARM64_PTDUMP
+       bool "Export kernel pagetable layout to userspace via debugfs"
+       depends on DEBUG_KERNEL
+       select DEBUG_FS
+        help
+         Say Y here if you want to show the kernel pagetable layout in a
+         debugfs file. This information is only useful for kernel developers
+         who are working in architecture specific areas of the kernel.
+         It is probably not a good idea to enable this feature in a production
+         kernel.
+         If in doubt, say "N"
+
 config STRICT_DEVMEM
        bool "Filter access to /dev/mem"
        depends on MMU