[meta-lsi] [PATCH 21/22] linux-yocto_4.1: Update fragments to match defconfigs

Daniel Dragomir daniel.dragomir at windriver.com
Thu Jan 28 04:57:12 PST 2016


The config generated from fragments for Yocto should match the
one generated from Github defconfigs with make.

Thi patch update local fragments for Yocto to match defconfigs
from Github 4.1 Kernel at this level:

commit 827aeb95dcad487eb8486bc5a6987141d1435f26
axxia: defconfig: Enable function tracer for 5500

Major changes:
   - Enable function tracer for 5500
   - Remove suport for Intel NET devices
   - Debug option (e.g. KMEMLEAK log size to 8192)

Signed-off-by: Daniel Dragomir <daniel.dragomir at windriver.com>
---
 .../linux-4.1/axxiaarm/common/common-hw.cfg        |  1 +
 .../linux-4.1/axxiaarm/common/common-non-hw.cfg    |  4 +++-
 .../linux-4.1/axxiaarm/common/dbg-non-hw.cfg       |  5 ++--
 .../linux-4.1/axxiaarm64/common/dbg-non-hw.cfg     | 27 +++++++++++++++++++---
 4 files changed, 31 insertions(+), 6 deletions(-)

diff --git a/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/common-hw.cfg b/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/common-hw.cfg
index 3a3428c..510c0a9 100644
--- a/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/common-hw.cfg
+++ b/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/common-hw.cfg
@@ -38,6 +38,7 @@ CONFIG_HOTPLUG_CPU=y
 # CONFIG_NET_VENDOR_EXAR is not set
 # CONFIG_NET_VENDOR_FARADAY is not set
 # CONFIG_NET_VENDOR_HP is not set
+# CONFIG_NET_VENDOR_INTEL is not set
 # CONFIG_NET_VENDOR_MARVELL is not set
 # CONFIG_NET_VENDOR_MELLANOX is not set
 # CONFIG_NET_VENDOR_MICREL is not set
diff --git a/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/common-non-hw.cfg b/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/common-non-hw.cfg
index 778857c..8790bcc 100644
--- a/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/common-non-hw.cfg
+++ b/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/common-non-hw.cfg
@@ -264,7 +264,9 @@ CONFIG_NLS_ISO8859_1=y
 #
 CONFIG_RCU_CPU_STALL_TIMEOUT=60
 # CONFIG_RCU_CPU_STALL_INFO is not set
-# CONFIG_FTRACE is not set
+# CONFIG_FTRACE_SYSCALLS is not set
+# CONFIG_BLK_DEV_IO_TRACE is not set
+# CONFIG_UPROBE_EVENT is not set
 # CONFIG_KGDB is not set
 CONFIG_DEBUG_USER=y
 
diff --git a/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/dbg-non-hw.cfg b/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/dbg-non-hw.cfg
index 71a4503..1d12964 100644
--- a/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/dbg-non-hw.cfg
+++ b/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/dbg-non-hw.cfg
@@ -25,12 +25,13 @@ CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER=y
 CONFIG_SLUB_DEBUG_ON=y
 CONFIG_SLUB_STATS=y
 CONFIG_DEBUG_KMEMLEAK=y
-CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y
+CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=8192
+# CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF is not set
 CONFIG_DEBUG_STACK_USAGE=y
 CONFIG_DEBUG_VM=y
 CONFIG_DEBUG_VM_RB=y
 CONFIG_DEBUG_MEMORY_INIT=y
-CONFIG_DEBUG_PER_CPU_MAPS=y
+# CONFIG_DEBUG_PER_CPU_MAPS is not set
 CONFIG_DEBUG_HIGHMEM=y
 CONFIG_DEBUG_SHIRQ=y
 
diff --git a/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm64/common/dbg-non-hw.cfg b/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm64/common/dbg-non-hw.cfg
index 4498ca1..c6413dc 100644
--- a/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm64/common/dbg-non-hw.cfg
+++ b/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm64/common/dbg-non-hw.cfg
@@ -23,16 +23,23 @@ CONFIG_DEBUG_OBJECTS_TIMERS=y
 CONFIG_DEBUG_OBJECTS_WORK=y
 CONFIG_DEBUG_OBJECTS_RCU_HEAD=y
 CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER=y
+CONFIG_SLUB_DEBUG_ON=y
 CONFIG_SLUB_STATS=y
 CONFIG_DEBUG_KMEMLEAK=y
-CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y
+CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=8192
+# CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF is not set
+CONFIG_DEBUG_STACK_USAGE=y
 CONFIG_DEBUG_VM=y
 CONFIG_DEBUG_VM_RB=y
-CONFIG_DEBUG_PER_CPU_MAPS=y
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_PER_CPU_MAPS is not set
+CONFIG_DEBUG_HIGHMEM=y
+CONFIG_DEBUG_SHIRQ=y
 
 #
 # Debug Lockups and Hangs
 #
+CONFIG_LOCKUP_DETECTOR=y
 CONFIG_SCHEDSTATS=y
 CONFIG_TIMER_STATS=y
 
@@ -40,6 +47,20 @@ CONFIG_TIMER_STATS=y
 # Lock Debugging
 #
 CONFIG_DEBUG_RT_MUTEXES=y
-CONFIG_DEBUG_WW_MUTEX_SLOWPATH=y
+CONFIG_PROVE_LOCKING=y
 CONFIG_LOCK_STAT=y
+CONFIG_DEBUG_LOCKDEP=y
 CONFIG_DEBUG_ATOMIC_SLEEP=y
+CONFIG_DEBUG_KOBJECT=y
+CONFIG_DEBUG_LIST=y
+CONFIG_DEBUG_SG=y
+CONFIG_DEBUG_NOTIFIERS=y
+CONFIG_DEBUG_CREDENTIALS=y
+
+#
+# RCU Debugging
+#
+CONFIG_PROVE_RCU=y
+CONFIG_SPARSE_RCU_POINTER=y
+CONFIG_RCU_CPU_STALL_INFO=y
+CONFIG_RCU_TRACE=y
-- 
1.9.1



More information about the meta-lsi mailing list