I wanted to have all the special configuration parameters needed in the kernel .config file for enabling some features, for which test cases are there in LTP, but those tests will not run until the running kernel was enabled. I wanted the consolidated list in the ltp/README itself. I have generated a small patch for this. I would request others also to add to this when they find out such scenarios in LTP. Please feel free to add. We do not want situations where test cases are available in LTP, but they cannot be tested just because that the kernel was not built with configuration(s) set. Signed-Off-By: Subrata Modak <subrata@linux.vnet.ibm.com>.
diff --git a/README b/README
index fbebfec..a71e9b9 100644
--- a/README
+++ b/README
@@ -110,3 +110,61 @@
 For more information on how to use the 'numa' test automation suite please refer
 to file testcases/kernel/numa/README.
 
+---------------------------------
+Enable CODE COVERAGE for your Kernel:
+---------------------------------
+1) Apply kernel-gcov patch(s) against the corresponding Kernel. They are available here:
+http://ltp.cvs.sourceforge.net/viewvc/ltp/utils/analysis/gcov-kernel/linux-2.*.*-gcov.patch?view=log,
+2) Also enable the following options in your .config file before building the kernel
+CONFIG_GCOV_PROFILE=y
+CONFIG_GCOV_ALL=y
+CONFIG_GCOV_PROC=m
+CONFIG_GCOV_HAMMER=y
+
+---------------------------------
+Enabling Kernel Configuration to test Containers/Namespaces
+---------------------------------
+CONFIG_NAMESPACES=y
+CONFIG_UTS_NS=y
+CONFIG_IPC_NS=y
+CONFIG_USER_NS=y
+CONFIG_PID_NS=y
+CONFIG_NET_NS=y
+CONFIG_VETH=y
+CONFIG_MACVLAN=y
+
+
+---------------------------------
+Enabling Kernel Configuration to test Controllers
+---------------------------------
+CONFIG_CGROUPS=y
+CONFIG_CGROUP_DEBUG=y
+CONFIG_CGROUP_NS=y
+CONFIG_GROUP_SCHED=y
+CONFIG_FAIR_GROUP_SCHED=y
+CONFIG_RT_GROUP_SCHED=y
+CONFIG_CGROUP_SCHED=y
+CGROUP_MEM_RES_CTLR=y
+---------------------------------
+Enabling Kernel Configuration to test Power Management features
+---------------------------------
+CONFIG_CPU_FREQ=y
+CONFIG_CPU_FREQ_TABLE=y
+CONFIG_CPU_FREQ_DEBUG=y
+CONFIG_CPU_FREQ_STAT=y
+CONFIG_CPU_FREQ_STAT_DETAILS=y
+CONFIG_CPU_IDLE=y
+CONFIG_CPU_IDLE_GOV_LADDER=y
+CONFIG_CPU_IDLE_GOV_MENU=y
+CONFIG_SCHED_MC=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE=y
+CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
+---------------------------------