aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amdfalconx86
diff options
context:
space:
mode:
authorAwais Belal <awais_belal@mentor.com>2017-03-31 14:40:45 +0500
committerAwais Belal <awais_belal@mentor.com>2017-03-31 14:40:51 +0500
commitde27dbed79deff7054bf4387401ecd9f332557bb (patch)
treeabe45a847bcce75794c67ab65cf4095d6d73e0d4 /meta-amdfalconx86
parent6415c6a0d7fc65d54f68f0c05775db319785724c (diff)
downloadmeta-amd-de27dbed79deff7054bf4387401ecd9f332557bb.tar.gz
meta-amd-de27dbed79deff7054bf4387401ecd9f332557bb.tar.bz2
meta-amd-de27dbed79deff7054bf4387401ecd9f332557bb.zip
amdfalconx86: disable DEBUG_PREEMPT and DEBUG_RODATA
These configurations conflict with KGDB debugging in some cases and generate stack dumps in various other situations. The stack dumps related to mwaitx are properly fixed through https://patchwork.kernel.org/patch/8549611/ but the mentioned patch is only available for Yocto kernel 4.8 and we don't use these so it is much better to avoid the problem with this for the time being rather than backporting the patch. Signed-off-by: Awais Belal <awais_belal@mentor.com>
Diffstat (limited to 'meta-amdfalconx86')
-rw-r--r--meta-amdfalconx86/recipes-kernel/linux/files/amdfalconx86-user-config.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-amdfalconx86/recipes-kernel/linux/files/amdfalconx86-user-config.cfg b/meta-amdfalconx86/recipes-kernel/linux/files/amdfalconx86-user-config.cfg
index aae66033..021e993e 100644
--- a/meta-amdfalconx86/recipes-kernel/linux/files/amdfalconx86-user-config.cfg
+++ b/meta-amdfalconx86/recipes-kernel/linux/files/amdfalconx86-user-config.cfg
@@ -188,3 +188,5 @@ CONFIG_I2C_DESIGNWARE_CORE=y
CONFIG_I2C_DESIGNWARE_PLATFORM=y
CONFIG_I2C_DESIGNWARE_PCI=m
CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_PREEMPT is not set
+# CONFIG_DEBUG_RODATA is not set