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 <sascha.bischoff@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Geoffrey Blake <geoffrey.blake@arm.com>
[Ported to gem5's 4.9 kernel. Squashed fixups in 4.4 branch.]
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
[Ported to gem5's 4.14 kernel.]
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
11 files changed