]> 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)
commit80c3443daf87b8ad763791f5546db1354ec08a5d
treeec5a3d83d58b8ac53540ce6fff75f08edf4ea9a9
parenteec80ad40a6230f65d5600dbbd67f84ea177ac2d
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