]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Add support for hooks to handle undefined instructions
authorPunit Agrawal <punit.agrawal@arm.com>
Tue, 18 Nov 2014 11:41:22 +0000 (11:41 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 20 Nov 2014 16:33:43 +0000 (16:33 +0000)
commitc8747bc99d18c2740678f7ced901d62b9d552e4d
tree497967506563c89d76c9853408b7e271c7d400f5
parent1fe609637cfb2421892c2149b5cfb072ec1354b0
arm64: Add support for hooks to handle undefined instructions

Add support to register hooks for undefined instructions. The handlers
will be called when the undefined instruction and the processor state
(as contained in pstate) match criteria used at registration.

Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/insn.h
arch/arm64/include/asm/traps.h
arch/arm64/kernel/insn.c
arch/arm64/kernel/traps.c