kernel: add KERNEL_DEBUG_VIRTUAL
[openwrt/openwrt.git] / config / Config-kernel.in
index 7cd7906dc98fe2aa1725ea07382bd1d139ecd380..f1ee919ee337dcc5888a2ba115f3545d59c7f6f9 100644 (file)
@@ -414,6 +414,14 @@ config KERNEL_DEBUG_LL
        help
          ARM low level debugging.
 
+config KERNEL_DEBUG_VIRTUAL
+       bool "Compile the kernel with VM translations debugging"
+       select KERNEL_DEBUG_KERNEL
+       default n
+       help
+         Enable checks sanity checks to catch invalid uses of
+         virt_to_phys()/phys_to_virt() against the non-linear address space.
+
 config KERNEL_DYNAMIC_DEBUG
        bool "Compile the kernel with dynamic printk"
        select KERNEL_DEBUG_FS