]> git.karo-electronics.de Git - linux-beck.git/commit
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)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 19 Jul 2016 14:03:19 +0000 (15:03 +0100)
commitd59bee887231191c80f2ee674d7ec19179eb40ec
tree004a922ee4801122442bfe08ed5f2f5e56b7a2a4
parent0a8ea52c3eb157dd65e224fc95b7c9c99fcba9f7
arm64: Add more test functions to insn.c

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