summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2017-06-02 14:48:54 -0700
committerGreg Kroah-Hartman <gregkh@google.com>2018-02-05 08:58:35 -0800
commit346a79c3cc3d592d4a08a1a417b55f2ebe77a57f (patch)
tree9a9839fb1356f5af8ab955172be2c5fee59f2b3e /tools/perf/scripts/python
parentbf48b18d3758f067a9693986f3d121fd94508e77 (diff)
UPSTREAM: MIPS: CPS: Handle cores not powering down more gracefully
If we get into a state where a core that ought to power down isn't doing so then the current result is that another CPU gets stuck inside cps_cpu_die() waiting for CPU that ought to be powering down to do so. The best case scenario is that we then trigger RCU stall messages or lockup messages, but neither makes it particularly clear what's happening. Handle this more gracefully by introducing a timeout beyond which we warn the user that the core didn't power down & stop waiting for it. This at least allows the CPU running cps_cpu_die() to continue normally, and hopefully presuming the CPU that powered back up is doing nothing harmful the system will continue functioning as normal. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/16197/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org> (cherry picked from commit 4ad755c9e39c0eeae16f96b97602f1954f582c66) Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions