linux_dsm_epyc7002/arch/riscv
Steven Rostedt (VMware) e949b6db51 riscv/function_graph: Simplify with function_graph_enter()
The function_graph_enter() function does the work of calling the function
graph hook function and the management of the shadow stack, simplifying the
work done in the architecture dependent prepare_ftrace_return().

Have riscv use the new code, and remove the shadow stack management as well as
having to set up the trace structure.

This is needed to prepare for a fix of a design bug on how the curr_ret_stack
is used.

Cc: Greentime Hu <greentime@andestech.com>
Cc: Alan Kao <alankao@andestech.com>
Cc: stable@kernel.org
Fixes: 03274a3ffb ("tracing/fgraph: Adjust fgraph depth before calling trace return callback")
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2018-11-27 20:31:16 -05:00
..
configs RISC-V: defconfig: Enable printk timestamps 2018-11-12 17:16:10 -08:00
include riscv: fix spacing in struct pt_regs 2018-11-12 17:16:16 -08:00
kernel riscv/function_graph: Simplify with function_graph_enter() 2018-11-27 20:31:16 -05:00
lib RISC-V: lib: Fix build error for 64-bit 2018-11-12 18:09:55 -08:00
mm mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
Kconfig RISC-V Patches for the 4.20 Merge Window, Part 2 v2 2018-10-31 16:20:28 -07:00
Kconfig.debug RISC-V: Cosmetic menuconfig changes 2018-10-22 17:38:20 -07:00
Makefile riscv: add missing vdso_install target 2018-11-12 17:16:25 -08:00