diff options
author | Frode Isaksen <fisaksen@baylibre.com> | 2017-12-19 11:15:35 +0000 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-02-07 11:47:29 +0000 |
commit | c4a6287185179732dfc1e903c195ff90c19f1065 (patch) | |
tree | d35f5010dbd952e40f5c178322026445b55757c1 /meta-eas/recipes-kernel/linux/linux-renesas/0037-arm-Wire-frequency-invariant-load-tracking-support-u.patch | |
parent | 109dea1d5c5a38807b098b588584636ae636a302 (diff) |
This layer provides Energy Aware Scheduling (EAS) patcheseel_5.1.0eel_5.0.3eel_5.0.2eel/5.1.0eel/5.0.3eel/5.0.25.1.05.0.35.0.2eel
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 <fisaksen@baylibre.com>
Diffstat (limited to 'meta-eas/recipes-kernel/linux/linux-renesas/0037-arm-Wire-frequency-invariant-load-tracking-support-u.patch')
-rw-r--r-- | meta-eas/recipes-kernel/linux/linux-renesas/0037-arm-Wire-frequency-invariant-load-tracking-support-u.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-eas/recipes-kernel/linux/linux-renesas/0037-arm-Wire-frequency-invariant-load-tracking-support-u.patch b/meta-eas/recipes-kernel/linux/linux-renesas/0037-arm-Wire-frequency-invariant-load-tracking-support-u.patch new file mode 100644 index 0000000..5ddb5aa --- /dev/null +++ b/meta-eas/recipes-kernel/linux/linux-renesas/0037-arm-Wire-frequency-invariant-load-tracking-support-u.patch @@ -0,0 +1,38 @@ +From d3d5aa80cf65f112c759fdd04ec6725361afa6a5 Mon Sep 17 00:00:00 2001 +From: Dietmar Eggemann <dietmar.eggemann@arm.com> +Date: Fri, 18 Nov 2016 12:30:31 +0000 +Subject: [PATCH 37/92] arm: Wire frequency-invariant load-tracking support up + to the scheduler + +Define arch_scale_freq_capacity to use the arch-specific function +scale_freq_capacity(). + +Cc: Russell King <linux@arm.linux.org.uk> +Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com> +(cherry picked from commit 7049774f92be687318845bf633f314676285792f) +Signed-off-by: Gaku Inami <gaku.inami.xw@bp.renesas.com> +--- + arch/arm/include/asm/topology.h | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/arch/arm/include/asm/topology.h b/arch/arm/include/asm/topology.h +index 942a863..981e9c2 100644 +--- a/arch/arm/include/asm/topology.h ++++ b/arch/arm/include/asm/topology.h +@@ -28,6 +28,13 @@ struct cputopo_arm { + #define arch_scale_cpu_capacity scale_cpu_capacity + extern unsigned long scale_cpu_capacity(struct sched_domain *sd, int cpu); + ++#ifdef CONFIG_CPU_FREQ ++ ++#define arch_scale_freq_capacity scale_freq_capacity ++extern unsigned long scale_freq_capacity(struct sched_domain *sd, int cpu); ++ ++#endif /* CONFIG_CPU_FREQ */ ++ + #else + + static inline void init_cpu_topology(void) { } +-- +1.9.1 + |