diff options
| author | Pan Xinhui <[email protected]> | 2017-03-22 16:27:49 -0300 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2017-03-28 10:52:00 +1100 |
| commit | 3b5bf42b81d56085fd58692b5117f69aa77fdff7 (patch) | |
| tree | 0af0955fad922cd8a531a55bc8c261b072a369f4 /tools/perf/scripts/python | |
| parent | c7e790c5f4c3e923664f45dfbc84492406bef045 (diff) | |
powerpc/xmon: Fix an unexpected xmon on/off state change
Once xmon is triggered by sysrq-x, it is enabled always afterwards even
if it is disabled during boot. This will cause a system reset interrupt
fail to dump. So keep xmon in its original state after exit.
We have several ways to set xmon on or off.
1) by a build config CONFIG_XMON_DEFAULT.
2) by a boot cmdline with xmon or xmon=early or xmon=on to enable xmon
and xmon=off to disable xmon. This value will override that in step 1.
3) by a debugfs interface, as proposed in this patchset.
And this value can override those in step 1 and 2.
Signed-off-by: Pan Xinhui <[email protected]>
Signed-off-by: Guilherme G. Piccoli <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions