From adb60b149d50552bd9ac3dbeb5eb693f5bdb4b40 Mon Sep 17 00:00:00 2001 From: Thuy Tran Date: Fri, 15 Dec 2017 14:23:47 +0700 Subject: rcar-gen3: linux-renesas: Update to support CAS feature This commit adds SCHED_DEBUG config fragment to support CAS. Signed-off-by: Thuy Tran Signed-off-by: Takamitsu Honda --- .../linux/linux-renesas/capacity_aware_migration_strategy.cfg | 1 + meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 meta-rcar-gen3/recipes-kernel/linux/linux-renesas/capacity_aware_migration_strategy.cfg (limited to 'meta-rcar-gen3/recipes-kernel/linux') 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)} \ +" + -- cgit 1.2.3-korg