summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Calianu <adrian.calianu@enea.com>2017-05-24 13:23:39 +0200
committerAdrian Calianu <adrian.calianu@enea.com>2017-05-24 13:23:39 +0200
commit51a7c43d9912cf194a7480773d7faf2bd66dfdc3 (patch)
tree902d4c23b851936d32ec2057bb1f15b218535e96
parenta399dcee2b46dbea11b940c52ab254f7fb18dae5 (diff)
downloadenea-kernel-cache-51a7c43d9912cf194a7480773d7faf2bd66dfdc3.tar.gz
add low latency specific kernel configuration
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
-rw-r--r--features/lowlatency/hz_1000.cfg4
-rw-r--r--features/lowlatency/lowlatency_y.scc5
-rw-r--r--features/lowlatency/preempt.cfg5
3 files changed, 14 insertions, 0 deletions
diff --git a/features/lowlatency/hz_1000.cfg b/features/lowlatency/hz_1000.cfg
new file mode 100644
index 0000000..cfe38e6
--- /dev/null
+++ b/features/lowlatency/hz_1000.cfg
@@ -0,0 +1,4 @@
1
2CONFIG_HZ_1000=y
3CONFIG_HZ=1000
4
diff --git a/features/lowlatency/lowlatency_y.scc b/features/lowlatency/lowlatency_y.scc
new file mode 100644
index 0000000..eaf745a
--- /dev/null
+++ b/features/lowlatency/lowlatency_y.scc
@@ -0,0 +1,5 @@
1define KFEATURE_DESCRIPTION "Enable low latency kernel configuration"
2define KFEATURE_COMPATIBILITY board
3
4kconf non-hardware preempt.cfg
5kconf non-hardware hz_1000.cfg
diff --git a/features/lowlatency/preempt.cfg b/features/lowlatency/preempt.cfg
new file mode 100644
index 0000000..a3bbe94
--- /dev/null
+++ b/features/lowlatency/preempt.cfg
@@ -0,0 +1,5 @@
1CONFIG_IRQ_FORCED_THREADING=y
2CONFIG_PREEMPT_RCU=y
3
4CONFIG_PREEMPT=y
5CONFIG_PREEMPT_COUNT=y