diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2022-07-07 15:06:21 -0700 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2022-07-07 15:07:16 -0700 |
commit | e7ec2d73996b336eb5d7e6fc0f4607589b07a09e (patch) | |
tree | 953328006dc23eb9581b6e449f68f13063cdc13b /config | |
parent | 3899f68b54b31de4b4fef4f575f7ea56dc93d965 (diff) | |
download | upstream-e7ec2d73996b336eb5d7e6fc0f4607589b07a09e.tar.gz upstream-e7ec2d73996b336eb5d7e6fc0f4607589b07a09e.tar.bz2 upstream-e7ec2d73996b336eb5d7e6fc0f4607589b07a09e.zip |
kernel: add KERNEL_DEBUG_VIRTUAL
This option allows turning on CONFIG_DEBUG_VIRTUAL which is useful to
debug incorrect uses of the virtual to physical and physical to virtual
translations functions.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/Config-kernel.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 7cd7906dc9..f1ee919ee3 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -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 |