aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorSumanth Korikkar <[email protected]>2022-07-26 18:57:59 +0200
committerAlexander Gordeev <[email protected]>2022-07-28 18:05:24 +0200
commitded466e1806686794b403ebf031133bbaca76bb2 (patch)
tree2cd3b70ec053efe4c0e46fb829e00b8181ed29b9 /lib/mpi/mpi-sub-ui.c
parent520763a3272abf0ebf161c748bdbc8dad275521c (diff)
s390/unwind: fix fgraph return address recovery
When HAVE_FUNCTION_GRAPH_RET_ADDR_PTR is defined, the return address to the fgraph caller is recovered by tagging it along with the stack pointer of ftrace stack. This makes the stack unwinding more reliable. When the fgraph return address is modified to return_to_handler, ftrace_graph_ret_addr tries to restore it to the original value using tagged stack pointer. Fix this by passing tagged sp to ftrace_graph_ret_addr. Fixes: d81675b60d09 ("s390/unwind: recover kretprobe modified return address in stacktrace") Cc: <[email protected]> # 5.18 Reviewed-by: Vasily Gorbik <[email protected]> Signed-off-by: Sumanth Korikkar <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions