Hi Dietmar,
On Thu, Aug 24, 2017 at 07:55:44PM +0200, Dietmar Eggemann wrote:
[...]
I'm running EAS v1.3 (4.4.80-02913-gc40a9a77daf7) with the default hikey960_defconfig on my hikey960 as well.
Haven't seen this WALT panic yet.
Let's compare the boards, maybe you use a different setup:
(1) kernel:
https://android.googlesource.com/kernel/hikey-linaro c40a9a77daf7
top commit is:
commit c40a9a77daf770cd8ca75572235b015ef6ff6589 Author: Brendan Jackman brendan.jackman@arm.com Date: Fri Aug 4 10:58:20 2017 +0100
hikey960:/ # zcat /proc/config.gz | grep _SCHED_
CONFIG_SCHED_WALT=y CONFIG_GENERIC_SCHED_CLOCK=y CONFIG_SCHED_AUTOGROUP=y CONFIG_SCHED_TUNE=y CONFIG_SCHED_MC=y # CONFIG_SCHED_SMT is not set CONFIG_SCHED_HRTICK=y CONFIG_SCHED_DEBUG=y CONFIG_SCHED_INFO=y # CONFIG_SCHED_STACK_END_CHECK is not set CONFIG_SCHED_TRACER=y
hikey960:/ # cat /sys/kernel/debug/sched_features GENTLE_FAIR_SLEEPERS START_DEBIT NO_NEXT_BUDDY LAST_BUDDY CACHE_HOT_BUDDY WAKEUP_PREEMPTION NO_HRTICK NO_DOUBLE_TICK LB_BIAS NONTASK_CAPACITY TTWU_QUEUE RT_PUSH_IPI NO_FORCE_SD_OVERLAP RT_RUNTIME_SHARE NO_LB_MIN ATTACH_AGE_LOAD ENERGY_AWARE
For kernel, I am using EASv1.3 for mass testing, so the last commit is: f8873f63f9b79 ('Merge remote-tracking branch 'common/android-4.4' into hikey-4.4')
Based on I applied some WALT patches when I review them on gerrit:
0255026 Revert "sched: EAS: schedfreq: fix CPU util over estimation" '-> This patch is revered by me, it introduces perfermance regression.
8bb1dcb arm64: topology: change cpu_power to cpu_capacity to match existing use 9ce9c6b arm64: topology: Tell the scheduler about the relative power of cores 027a65b arm64: topology: Export arch_get_cpu_efficiency API 5e69299 sched: WALT: fix window mis-alignment f46bcb1 sched: EAS: Round up in cap divide for cpu util 566ee8f sched: EAS: fix incorrect energy delta calculation due to rounding error 7545b2d sched: EAS/WALT: take into account of waking task's load dea0a53 cpufreq: sched: WALT: don't apply capacity margin twice 9c3eb22 sched: WALT: fix potential overflow ce7d00d cpufreq/sched: Consider max cpu capacity when choosing frequencies 06125d6 cpufreq/sched: Use cpu max freq rather than policy max 97dc38d sched: EAS: schedfreq: fix CPU util over estimation 6a1c225 sched: EAS/WALT: use cr_avg instead of prev_runnable_sum b03aeb0 sched: EAS/WALT: fix deflated energy cost of previous CPU 6826628 sched: WALT: fix broken cumulative runnable average accounting 2b69325 sched: deadline: WALT: account cumulative runnable avg
(2) Firmware:
https://github.com/96boards-hikey/tools-images-hikey960 master
Just reminding, are you using Hisilicon propietary firmwares or UEFI+ARM-TF? I am using UEFI+ARM-TF.
top commit is:
ccb401f72634 - recovery-flash: add '-e' flag for bash (2017-07-18 Leo Yan)
Yeah, this is same with me.
Thanks, Leo Yan