]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: esr: Add ESR exception class encoding for trapped ERET
authorWill Deacon <will@kernel.org>
Tue, 16 Jul 2019 07:14:19 +0000 (08:14 +0100)
committerWill Deacon <will@kernel.org>
Mon, 5 Aug 2019 10:06:34 +0000 (11:06 +0100)
commit4dbeb832cca782ed13ccc9a88d9221d21cc80ac9
treeec5a3d83d58b8ac53540ce6fff75f08edf4ea9a9
parent82931e3d322da510165a0faeb29a020c6e5664d6
arm64: esr: Add ESR exception class encoding for trapped ERET

The ESR.EC encoding of 0b011010 (0x1a) describes an exception generated
by an ERET, ERETAA or ERETAB instruction as a result of a nested
virtualisation trap to EL2.

Add an encoding for this EC and a string description so that we identify
it correctly if we take one unexpectedly.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/esr.h
arch/arm64/kernel/traps.c