aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2020-09-07 13:42:09 +0000
committerMichael Ellerman <[email protected]>2020-09-15 22:13:33 +1000
commitc118c7303ad528be8ff2aea8cd1ee15452c763f0 (patch)
tree6d4c98677a61815048a13eedbe9784c1aa4160b5 /tools/perf/scripts/python/event_analyzing_sample.py
parent7fdf966bed155b214f4f1f9b67825a40b2e9b998 (diff)
powerpc/32: Fix vmap stack - Do not activate MMU before reading task struct
We need r1 to be properly set before activating MMU, so reading task_struct->stack must be done with MMU off. This means we need an additional register to play with MSR bits while r11 now points to the stack. For that, move r10 back to CR (As is already done for hash MMU) and use r10. We still don't have r1 correct yet when we activate MMU. It is done in following patch. Fixes: 028474876f47 ("powerpc/32: prepare for CONFIG_VMAP_STACK") Cc: [email protected] Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/a027d447022a006c9c4958ac734128e577a3c5c1.1599486108.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions