ARM: aarch64: fix exception level mixup
When entering an exception the we currently jump to the code handling
EL1 when we are actually at EL3 and the other way round. Fix this by
introducing and using the switch_el macro from U-Boot.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c2024e4 commit 04177bad21165fea1825d0cfceef40a71e4333d6
@Sascha Hauer Sascha Hauer authored on 14 Mar 2018
Showing 2 changed files
View
arch/arm/cpu/exceptions_64.S
View
arch/arm/include/asm/assembler64.h 0 → 100644