arm64: Add more test functions to insn.c
authorDavid A. Long <dave.long@linaro.org>
Fri, 8 Jul 2016 16:35:46 +0000 (12:35 -0400)
committerAlex Shi <alex.shi@linaro.org>
Thu, 20 Oct 2016 07:38:13 +0000 (15:38 +0800)
commit94c1e89fb50c0a938f81b70784b723accd5a737c
treee5886506db8f3c38d225b9327cb58d959e5e3325
parentd2131284236b369409bce0d23ab38309086ff29d
arm64: Add more test functions to insn.c

commit d59bee887231191c80f2ee674d7ec19179eb40ec upstream.

Certain instructions are hard to execute correctly out-of-line (as in
kprobes).  Test functions are added to insn.[hc] to identify these.  The
instructions include any that use PC-relative addressing, change the PC,
or change interrupt masking. For efficiency and simplicity test
functions are also added for small collections of related instructions.

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