diff options
author | Lorenzo Pieralisi <Lorenzo.Pieralisi@arm.com> | 2013-03-14 14:07:20 +0000 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2013-05-03 13:50:05 +0100 |
commit | 892404cc9460bdc9156ec0ca3ac27c6f20539213 (patch) | |
tree | ed8fd19c99f4ebeebdaf88531a5500460b041b29 /include | |
parent | c98a7217394f6a96c2681c6e6089360bb29bd6d1 (diff) |
ARM: TC2: reset CPUs spuriously woken up on cluster power up
On TC2, all CPUs in a cluster are woken up when an IRQ event triggers for a
CPU in a cluster in shutdown state.
This patch puts spuriously woken CPUs back in reset by checking the
pending IRQ status in the SPC wake-up interrupt status register; if the
CPU has no pending IRQ routed to it, the core reexecutes wfi and it is put
in reset by FW straight away.
Tested-by: Viresh Kumar <viresh.kumar2@arm.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions