diff options
author | Martin Blumenstingl <[email protected]> | 2017-09-17 18:45:20 +0200 |
---|---|---|
committer | Kevin Hilman <[email protected]> | 2017-10-29 08:29:30 -0700 |
commit | 936a4174435b376557ee2610eae03592baeb9016 (patch) | |
tree | b8d99a90ee1526defb468a57775f679dd4efa2b4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0606326effc66201223de26d71c2779a108ee452 (diff) |
ARM: smp_scu: allow the platform code to read the SCU CPU status
On Amlogic Meson8 / Meson8m2 (both Cortex-A9) and Meson8b (Cortex-A5)
the CPU hotplug code needs to wait until the SCU status of the CPU that
is being taken offline is SCU_PM_POWEROFF.
Provide a utility function (which can be invoked for example from
.cpu_kill()) which allows reading the SCU status of a CPU.
While here, replace the magic number 0x3 with a preprocessor macro
(SCU_CPU_STATUS_MASK) so we don't have to duplicate this magic number in
the new function.
Signed-off-by: Martin Blumenstingl <[email protected]>
Acked-by: Russell King <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions