linux-stable/arch/powerpc
Michael Jeanson cd2bb7dc98 powerpc/ftrace: fix syscall tracing on PPC64_ELF_ABI_V1
commit ad050d2390 upstream.

In v5.7 the powerpc syscall entry/exit logic was rewritten in C, on
PPC64_ELF_ABI_V1 this resulted in the symbols in the syscall table
changing from their dot prefixed variant to the non-prefixed ones.

Since ftrace prefixes a dot to the syscall names when matching them to
build its syscall event list, this resulted in no syscall events being
available.

Remove the PPC64_ELF_ABI_V1 specific version of
arch_syscall_match_sym_name to have the same behavior across all powerpc
variants.

Fixes: 68b34588e2 ("powerpc/64/sycall: Implement syscall entry/exit logic in C")
Cc: stable@vger.kernel.org # v5.7+
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221201161442.2127231-1-mjeanson@efficios.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-07 11:15:51 +01:00
..
boot powerpc: dts: turris1x.dts: Add channel labels for temperature sensor 2022-12-31 13:26:34 +01:00
configs powerpc/configs: Properly enable PAPR_SCM in pseries_defconfig 2022-10-21 12:38:55 +02:00
crypto powerpc: Fix all occurences of duplicate words 2022-07-25 12:05:15 +10:00
include powerpc/ftrace: fix syscall tracing on PPC64_ELF_ABI_V1 2023-01-07 11:15:51 +01:00
kernel powerpc/rtas: avoid scheduling in rtas_os_term() 2023-01-04 11:26:27 +01:00
kexec powerpc/kexec: Fix build failure from uninitialised variable 2022-08-10 15:55:20 +10:00
kvm KVM: Rename mmu_notifier_* to mmu_invalidate_* 2022-08-19 04:05:41 -04:00
lib powerpc/ppc-opcode: Define and use PPC_RAW_SETB() 2022-07-27 21:36:05 +10:00
math-emu powerpc/math_emu/efp: Include module.h 2022-10-21 12:38:55 +02:00
mm powerpc/64s/radix: don't need to broadcast IPI for radix pmd collapse flush 2022-09-26 12:14:33 -07:00
net powerpc/bpf/32: Fix Oops on tail call tests 2022-12-08 11:30:22 +01:00
perf powerpc/hv-gpci: Fix hv_gpci event list 2022-12-31 13:26:34 +01:00
platforms powerpc/pseries/eeh: use correct API for error log size 2022-12-31 13:26:36 +01:00
purgatory powerpc/purgatory: Omit use of bin2c 2022-07-27 21:36:03 +10:00
sysdev powerpc/xive: add missing iounmap() in error path in xive_spapr_populate_irq_data() 2022-12-31 13:26:34 +01:00
tools
xmon powerpc/xmon: Fix -Wswitch-unreachable warning in bpt_cmds 2022-12-31 13:26:34 +01:00
Kbuild
Kconfig powerpc/64e: Fix amdgpu build on Book3E w/o AltiVec 2022-11-26 09:27:19 +01:00
Kconfig.debug powerpc: Kconfig.debug: Remove extra empty line 2022-06-29 19:43:16 +10:00
Makefile powerpc/64s: Fix GENERIC_CPU build flags for PPC970 / G5 2022-10-21 12:38:57 +02:00
Makefile.postlink