lisa._assets.kmodules.lisa: Don't rely on rq->cpu_capacity_orig anymore
The kernel commit 7bc263840bc3 ("sched/topology: Consolidate and clean
up access to a CPU's max compute") removed rq->cpu_capacity_orig so we
can't use it anymore to retrieve the original CPU capacity nor for
setting the FREQ_INVARIANCE kernel feature in LISA.
Split the micro-architectural part of the Invariance from the
FREQ_INVARIANCE into its own kernel feature UARCH_INVARIANCE.
Use a copy of the Arm64 (+ Arm, Riscv) kernel implementation (per-cpu
cpu_scale variable in drivers/base/arch_topology.c) also in the lisa
trace module code.
Tested on Juno-r0 with 'lisa-load-kmod --conf target_conf.yml' by
evaluating the 'capacity_orig' field of the 'lisa__sched_cpu_capacity'
trace event.
Signed-off-by:
Dietmar Eggemann <dietmar.eggemann@arm.com>
Loading
Please register or sign in to comment