ARM: tegra: cpuidle: Handle case where secondary CPU hangs on entering LP2
authorDmitry Osipenko <digetx@gmail.com>
Mon, 24 Feb 2020 22:40:49 +0000 (01:40 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 13 Mar 2020 10:23:09 +0000 (11:23 +0100)
commit51da5f1cd83444024db3f1d96eccf269e25a46bc
tree9ceb8aa51c5828f65b10422eb1b50b94318abe4b
parent7ed50dd5dd12c2e69a591b2dc4d242b0e6c32dd3
ARM: tegra: cpuidle: Handle case where secondary CPU hangs on entering LP2

It is possible that something may go wrong with the secondary CPU, in
that case it is much nicer to get a dump of the flow-controller state
before hanging machine.

Acked-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Tested-by: Peter Geis <pgwipeout@gmail.com>
Tested-by: Jasper Korten <jja2000@gmail.com>
Tested-by: David Heidelberg <david@ixit.cz>
Tested-by: Nicolas Chauvet <kwizart@gmail.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/mach-tegra/cpuidle-tegra20.c