This is the third in the series of patches to build out an appropriate kprobes blacklist for powerpc. Since posting the second series (*), there have been related changes to the code and I have brought that series forward to account for those changes. As such, all patches from the second series are included in this patchset.
This patchset now ensures that the newly added multiple kprobes test in the ftrace testsuite passes on powerpc64. Tested on both Elfv1 and Elfv2. Changes since v4: - Patch 5 changed to move system_call_exit() symbol before the mtmsrd, along with an explanation for its placement. - Patch 7 reverted to previous version moving the new symbol before the mtmsrd as well. - All other patches remain unchanged from v4. v4: https://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/msg120106.html (*) series 2: https://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/msg117562.html - Naveen Naveen N. Rao (7): powerpc64/elfv1: Only dereference function descriptor for non-text symbols powerpc/64s: Convert .L__replay_interrupt_return to a local label powerpc/64s: Blacklist system_call() and system_call_common() from kprobes powerpc/64s: Move system_call() symbol to just after setting MSR_EE powerpc/64s: Un-blacklist system_call() from kprobes powerpc/64s: Blacklist functions invoked on a trap powerpc/64s: Blacklist rtas entry/exit from kprobes arch/powerpc/include/asm/code-patching.h | 10 +++- arch/powerpc/kernel/entry_64.S | 87 +++++++++++++++++++++----------- arch/powerpc/kernel/exceptions-64s.S | 6 ++- arch/powerpc/kernel/traps.c | 3 ++ 4 files changed, 73 insertions(+), 33 deletions(-) -- 2.13.1