Cannot load EM from platform when some CPUs are hotplugged out - is it a problem?
Created by: credp
My Juno board currently has CPUs 4 & 5 unplugged for some tests I want to run. When I try to load the energy model (from the sched_domains, i.e. DT-style full EM), the loader tries to load model data for CPUs which are not currently present in the sched domains. This is the log I get, which makes it pretty clear what happens, but I'm not sure if this is new or not.
I am using PR #605 right now.
2018-06-21 10:44:26,184 INFO : TestEnv : Attempting to read energy model from target 2018-06-21 10:44:26,824 INFO : EMReader : Attempting to load EM using from_sd_target 2018-06-21 10:44:28,421 ERROR : TestEnv : Couldn't read target energy model: No such file: '/proc/sys/kernel/sched_domain/cpu4/domain0/group0/energy/cap_states' 2018-06-21 10:44:28,423 INFO : TestEnv : Topology: 2018-06-21 10:44:28,424 INFO : TestEnv : [[0, 3], [1, 2]]