aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAlistair Popple <[email protected]>2020-05-06 13:40:41 +1000
committerMichael Ellerman <[email protected]>2020-05-19 00:10:38 +1000
commit2aa6195e43b3740258ead93aee42ac719dd4c4b0 (patch)
tree07ee5ab059b1b8f47ce98a1bbde1b801ea8f671b /tools/perf/scripts/python/stackcollapse.py
parent0b582db5490a1f250ef63337dd46d5c7599dae80 (diff)
powerpc: Enable Prefixed Instructions
Prefix instructions have their own FSCR bit which needs to enabled via a CPU feature. The kernel will save the FSCR for problem state but it needs to be enabled initially. If prefixed instructions are made unavailable by the [H]FSCR, attempting to use them will cause a facility unavailable exception. Add "PREFIX" to the facility_strings[]. Currently there are no prefixed instructions that are actually emulated by emulate_instruction() within facility_unavailable_exception(). However, when caused by a prefixed instructions the SRR1 PREFIXED bit is set. Prepare for dealing with emulated prefixed instructions by checking for this bit. Signed-off-by: Alistair Popple <[email protected]> Signed-off-by: Jordan Niethe <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Reviewed-by: Nicholas Piggin <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions