Punit Agrawal [off-list ref] writes:
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 <redacted>
---
arch/arm64/include/asm/insn.h | 2 ++
arch/arm64/include/asm/traps.h | 16 ++++++++++
arch/arm64/kernel/insn.c | 5 ++++
arch/arm64/kernel/traps.c | 68 ++++++++++++++++++++++++++++++++++++++++++
4 files changed, 91 insertions(+)
This patch was sent twice by mistake. Please ignore this copy.
[...]