aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2022-01-28 15:34:25 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-02-02 11:49:26 +0000
commitd32ed899583ab14e6442f76dd1c78695f9c0ec33 (patch)
tree89c94e5dc1feb6855b403649e01088806c8b2282 /meta-agl-bsp
parenta12a83ebdfcd4287264e50edf3b11a156f418ae9 (diff)
[RCAR] Fix block device performance decreased
* After the RCAR BSP 5.5.O, the block device performance decreased. The root cause is a change in the default kernel configuration of the BSP (CPU Frequency scaling) from (RCAR BSP 4.7.0): CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y \# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set To its new default (RCAR BSP 5.5.0) \# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y You can check current value at runtime using: cat /sys/devices/system/cpu/cpufreq/policy0/scaling_governor cat /sys/devices/system/cpu/cpufreq/policy4/scaling_governor To mediate the regression we do switch back to the PERFORMANCE governor. Bug-AGL: SPEC-4205 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I6d19d92dae9dd8c7977e2034215fce07d8318773 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27108 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
Diffstat (limited to 'meta-agl-bsp')
-rw-r--r--meta-agl-bsp/meta-rcar-gen3/recipes-kernel/linux/files/Set_GOV_PERFORMANCE.cfg2
-rw-r--r--meta-agl-bsp/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_%.bbappend1
2 files changed, 3 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-kernel/linux/files/Set_GOV_PERFORMANCE.cfg b/meta-agl-bsp/meta-rcar-gen3/recipes-kernel/linux/files/Set_GOV_PERFORMANCE.cfg
new file mode 100644
index 000000000..b020174e8
--- /dev/null
+++ b/meta-agl-bsp/meta-rcar-gen3/recipes-kernel/linux/files/Set_GOV_PERFORMANCE.cfg
@@ -0,0 +1,2 @@
+CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
+# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_%.bbappend b/meta-agl-bsp/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_%.bbappend
index eccac305a..3665664e0 100644
--- a/meta-agl-bsp/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_%.bbappend
+++ b/meta-agl-bsp/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_%.bbappend
@@ -8,6 +8,7 @@ SRC_URI:append = " \
"
AGL_KCONFIG_FRAGMENTS += "namespace_fix.cfg"
+AGL_KCONFIG_FRAGMENTS += "Set_GOV_PERFORMANCE.cfg"
# For Xen
AGL_KCONFIG_FRAGMENTS += " \