arm64: Remove stack duplicating code from jprobes
authorDavid A. Long <dave.long@linaro.org>
Wed, 10 Aug 2016 20:44:51 +0000 (16:44 -0400)
committerAlex Shi <alex.shi@linaro.org>
Thu, 20 Oct 2016 07:38:13 +0000 (15:38 +0800)
commit6264eb72844b6e38af818a5b1233f9183b66f69b
tree0e309f96ef8f17474c9b2d79a0caf168334d8d8d
parent717a1bff724bd2db1a901e3afe00fe27a6e5551c
arm64: Remove stack duplicating code from jprobes

commit ad05711cec12131e1277ce749a99d08ecf233aa7 upstream.

Because the arm64 calling standard allows stacked function arguments to be
anywhere in the stack frame, do not attempt to duplicate the stack frame for
jprobes handler functions.

Documentation changes to describe this issue have been broken out into a
separate patch in order to simultaneously address them in other
architecture(s).

Signed-off-by: David A. Long <dave.long@linaro.org>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/kprobes.h
arch/arm64/kernel/probes/kprobes.c