arm64: add conditional instruction simulation support
authorDavid A. Long <dave.long@linaro.org>
Fri, 8 Jul 2016 16:35:47 +0000 (12:35 -0400)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 19 Jul 2016 14:03:19 +0000 (15:03 +0100)
commit2af3ec08b414ceb9c32fad2bb0f87252f3f18de8
treeff2603ec647205a23d00ae652b994a29f703be28
parentd59bee887231191c80f2ee674d7ec19179eb40ec
arm64: add conditional instruction simulation support

Cease using the arm32 arm_check_condition() function and replace it with
a local version for use in deprecated instruction support on arm64. Also
make the function table used by this available for future use by kprobes
and/or uprobes.

This function is derived from code written by Sandeepa Prabhu.

Signed-off-by: Sandeepa Prabhu <sandeepa.s.prabhu@gmail.com>
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/Makefile
arch/arm64/kernel/armv8_deprecated.c
arch/arm64/kernel/insn.c