aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-kernel
diff options
context:
space:
mode:
authorThuy Tran <thuy.tran.xh@rvc.renesas.com>2017-12-15 14:23:47 +0700
committerThuy Tran <thuy.tran.xh@rvc.renesas.com>2018-01-30 10:00:50 +0700
commitadb60b149d50552bd9ac3dbeb5eb693f5bdb4b40 (patch)
tree65a996f29730632c3a1aa7208659e5350f9e674c /meta-rcar-gen3/recipes-kernel
parentf86189b4063883c3fb50bc4561960515feff836f (diff)
rcar-gen3: linux-renesas: Update to support CAS feature
This commit adds SCHED_DEBUG config fragment to support CAS. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Diffstat (limited to 'meta-rcar-gen3/recipes-kernel')
-rw-r--r--meta-rcar-gen3/recipes-kernel/linux/linux-renesas/capacity_aware_migration_strategy.cfg1
-rw-r--r--meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb6
2 files changed, 7 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-kernel/linux/linux-renesas/capacity_aware_migration_strategy.cfg b/meta-rcar-gen3/recipes-kernel/linux/linux-renesas/capacity_aware_migration_strategy.cfg
new file mode 100644
index 0000000..e8b09aa
--- /dev/null
+++ b/meta-rcar-gen3/recipes-kernel/linux/linux-renesas/capacity_aware_migration_strategy.cfg
@@ -0,0 +1 @@
+CONFIG_SCHED_DEBUG=y
diff --git a/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb b/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb
index 99d23e7..9e33ba4 100644
--- a/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb
+++ b/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb
@@ -21,3 +21,9 @@ SRC_URI_append = " \
file://touch.cfg \
${@base_conditional("USE_AVB", "1", " file://usb-video-class.cfg", "", d)} \
"
+
+# Add SCHED_DEBUG config fragment to support CAS
+SRC_URI_append = " \
+ ${@bb.utils.contains('MACHINE_FEATURES','cas','file://capacity_aware_migration_strategy.cfg','',d)} \
+"
+