gem5: Adding support for the gem5 energy controller

The energy controller enables DVFS (dynamic voltage and frequency
scaling support) of gem5 for up to 32 independent domains (or
clusters).  The changes are modelled somewhat after the VExpress SPC
component, but are specific to gem5.

Change-Id: I161913cb72bd9a8515f4e63686452e94ef222106
Signed-off-by: Sascha Bischoff <>
Reviewed-by: Andreas Sandberg <>
Reviewed-by: Geoffrey Blake <>
[Ported to gem5's 4.9 kernel. Squashed fixups in 4.4 branch.]
Signed-off-by: Andreas Sandberg <>
[Ported to gem5's 4.14 kernel.]
Signed-off-by: Andreas Sandberg <>
11 files changed