android_kernel_motorola_sm6375/arch/powerpc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Naveen N Rao 5c70542f32 powerpc/ftrace: Fix stack teardown in ftrace_no_trace
commit 4b3338aaa74d7d4ec5b6734dc298f0db94ec83d2 upstream.

Commit 41a506ef71eb ("powerpc/ftrace: Create a dummy stackframe to fix
stack unwind") added use of a new stack frame on ftrace entry to fix
stack unwind. However, the commit missed updating the offset used while
tearing down the ftrace stack when ftrace is disabled. Fix the same.

In addition, the commit missed saving the correct stack pointer in
pt_regs. Update the same.

Fixes: 41a506ef71eb ("powerpc/ftrace: Create a dummy stackframe to fix stack unwind")
Cc: stable@vger.kernel.org # v6.5+
Signed-off-by: Naveen N Rao <naveen@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231130065947.2188860-1-naveen@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-12-20 15:41:26 +01:00
..
boot powerpc: dts: t208x: Disable 10G on MAC1 and MAC2 2023-02-25 11:53:26 +01:00
configs Remove DECnet support from kernel 2023-06-21 15:44:10 +02:00
crypto
include powerpc/64e: Fix wrong test in __ptep_test_and_clear_young() 2023-10-25 11:53:20 +02:00
kernel powerpc/ftrace: Fix stack teardown in ftrace_no_trace 2023-12-20 15:41:26 +01:00
kvm treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
lib
math-emu
mm powerpc/kasan: Disable KCOV in KASAN code 2023-08-30 16:27:11 +02:00
net
oprofile
perf powerpc/imc-pmu: Use the correct spinlock initializer. 2023-11-20 10:30:14 +01:00
platforms powerpc/pseries: fix potential memory leak in init_cpu_associativity() 2023-11-20 10:30:14 +01:00
purgatory powerpc/purgatory: remove PGO flags 2023-06-21 15:44:10 +02:00
sysdev powerpc/xive: Fix endian conversion size 2023-11-20 10:30:14 +01:00
tools
xmon
Kbuild
Kconfig
Kconfig.debug powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y 2023-07-27 08:37:23 +02:00
Makefile powerpc: Fail build if using recordmcount with binutils v2.37 2023-07-27 08:37:34 +02:00
Makefile.postlink