Skip to content
Commit 4e034a65 authored by Chris Redpath's avatar Chris Redpath 👓
Browse files

energy_model: Add loader method to read simplified EM from target



If we cannot find an energy directory in the first domain & group of the
first online CPU, this target may be using the simplified EM which can be
loaded from many sources and provides a view of the loaded energy model
through a dedicated folder at /sys/devices/system/cpu/energy_model.

Provide a method to load from the new location and some utilities to try
to work out if one of them is present and load the correct one.

Signed-off-by: Chris Redpath's avatarChris Redpath <chris.redpath@arm.com>
parent 34eb1943
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment