From c4a6287185179732dfc1e903c195ff90c19f1065 Mon Sep 17 00:00:00 2001 From: Frode Isaksen Date: Tue, 19 Dec 2017 11:15:35 +0000 Subject: This layer provides Energy Aware Scheduling (EAS) patches For the moment only for Renesas R-Car Gen3 SoC's. Can be expanded for other SoC's by setting the machine feature biglittle and provide the relevant EAS patches. Bug-AGL: SPEC-813 Change-Id: I2b5e69c515c33e57be19b30466fe208d7b8ac1a5 Signed-off-by: Frode Isaksen --- ...-dts-r8a7796-Add-multi-cluster-definition.patch | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 meta-eas/recipes-kernel/linux/linux-renesas/0085-arm64-dts-r8a7796-Add-multi-cluster-definition.patch (limited to 'meta-eas/recipes-kernel/linux/linux-renesas/0085-arm64-dts-r8a7796-Add-multi-cluster-definition.patch') diff --git a/meta-eas/recipes-kernel/linux/linux-renesas/0085-arm64-dts-r8a7796-Add-multi-cluster-definition.patch b/meta-eas/recipes-kernel/linux/linux-renesas/0085-arm64-dts-r8a7796-Add-multi-cluster-definition.patch new file mode 100644 index 0000000..039b5fe --- /dev/null +++ b/meta-eas/recipes-kernel/linux/linux-renesas/0085-arm64-dts-r8a7796-Add-multi-cluster-definition.patch @@ -0,0 +1,53 @@ +From 5a7311047ea788378333397c2e4659a1623315f5 Mon Sep 17 00:00:00 2001 +From: Gaku Inami +Date: Thu, 25 Aug 2016 14:14:07 +0900 +Subject: [PATCH 85/92] arm64: dts: r8a7796: Add multi-cluster definition + +This patch adds the "cpu-map" for multi-cluster into r8a7796 +device-tree. This definition is used to parse the cpu topology. + +Signed-off-by: Gaku Inami +--- + arch/arm64/boot/dts/renesas/r8a7796.dtsi | 26 ++++++++++++++++++++++++++ + 1 file changed, 26 insertions(+) + +diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi +index afdd69d..de8e219 100644 +--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi ++++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi +@@ -54,6 +54,32 @@ + #address-cells = <1>; + #size-cells = <0>; + ++ cpu-map { ++ cluster0 { ++ core0 { ++ cpu = <&a57_0>; ++ }; ++ core1 { ++ cpu = <&a57_1>; ++ }; ++ }; ++ ++ cluster1 { ++ core0 { ++ cpu = <&a53_0>; ++ }; ++ core1 { ++ cpu = <&a53_1>; ++ }; ++ core2 { ++ cpu = <&a53_2>; ++ }; ++ core3 { ++ cpu = <&a53_3>; ++ }; ++ }; ++ }; ++ + a57_0: cpu@0 { + compatible = "arm,cortex-a57", "arm,armv8"; + reg = <0x0>; +-- +1.9.1 + -- cgit 1.2.3-korg