android_kernel_xiaomi_sm7250/arch/microblaze
Steven Rostedt (VMware) e7deeabe9a microblaze: function_graph: Simplify with function_graph_enter()
commit 556763e5a500d71879d632867b75826551acd49c upstream.

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 microblaze 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: Michal Simek <monstr@monstr.eu>
Cc: stable@kernel.org
Fixes: 03274a3ffb ("tracing/fgraph: Adjust fgraph depth before calling trace return callback")
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-05 19:32:09 +01:00
..
boot microblaze: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-04-23 12:49:01 +02:00
configs microblaze: Enabling CONFIG_BRIDGE in mmu_defconfig 2017-06-22 15:36:59 +02:00
include microblaze: remove consistent_sync and consistent_sync_page 2018-07-20 14:29:54 +02:00
kernel microblaze: function_graph: Simplify with function_graph_enter() 2018-12-05 19:32:09 +01:00
lib microblaze: Setup dependencies for ASM optimized lib functions 2018-03-16 12:51:26 +01:00
mm Microblaze patches for 4.19-rc1 2018-08-21 13:18:22 -07:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci microblaze/PCI: Remove stale pcibios_align_resource() comment 2018-08-21 08:23:30 +02:00
Kconfig Microblaze patches for 4.19-rc1 2018-08-21 13:18:22 -07:00
Kconfig.debug Kconfig: consolidate the "Kernel hacking" menu 2018-08-02 08:06:48 +09:00
Kconfig.platform microblaze: Setup dependencies for ASM optimized lib functions 2018-03-16 12:51:26 +01:00
Makefile kbuild: rename LDFLAGS to KBUILD_LDFLAGS 2018-08-24 08:22:08 +09:00