]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: entry: Allow handling of undefined instructions from EL1
authorWill Deacon <will.deacon@arm.com>
Tue, 7 Aug 2018 12:43:06 +0000 (13:43 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 14 Sep 2018 16:46:17 +0000 (17:46 +0100)
commitfcb84b8625fcc2518b7eaf3534f12662a17479a8
tree19c947d9efc758b44a4e23cf7b6984669a761324
parent9252c8d68e417340d9858ddd32d102e085cb7f6c
arm64: entry: Allow handling of undefined instructions from EL1

Rather than panic() when taking an undefined instruction exception from
EL1, allow a hook to be registered in case we want to emulate the
instruction, like we will for the SSBS PSTATE manipulation instructions.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/entry.S
arch/arm64/kernel/traps.c