post upstream v5.14 backports for kprobes and arm64
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2069373
Livepatching on arm64 is currently under development upstream, specifically reliable stack unwinding for that arch: https://lore.kernel.org/lkml/20220117145608.6781-1-madvenka@linux.microsoft.com/
A list of patch-sets to support this upstream work includes:
- [PATCH -tip v11 00/27] kprobes: Fix stacktrace with kretprobes on x86
- [PATCH v3 0/9] kprobes: Make KUnit and add stacktrace on kretprobe tests
- [PATCH] arm64: ftrace: use HAVE_FUNCTION_GRAPH_RET_ADDR_PTR
- [PATCH v3 1/5] stacktrace: move filter_irq_stacks() to kernel/stacktrace.c
- [PATCH 0/9] arm64: stacktrace: unify unwind code
- [PATCH] arm64: Mark start_backtrace() notrace and NOKPROBE_SYMBOL
The list mainly spans kprobes and arm64 stack unwind code. At this point the work doesn't not require massive amounts of backport conflict resolution.
Testing would require typical sanity checks for kernel subsystems making use of stack unwinding: ftrace, kprobes, and livepatch (for supported arches). Note that this does not imply any change in support for kpatch (or livepatch functionality) at this time.
Omitted-fix: 5a72345e6a78 ("powerpc: Fix STACKTRACE=n build") Already included via 48015b632f77 ("powerpc: Fix STACKTRACE=n build") Signed-off-by: Joe Lawrence joe.lawrence@redhat.com