kernel_optimize_test/arch/arm64
Marc Zyngier 974c8e450b arm64: fix el2_setup check of CurrentEL
The CurrentEL system register reports the Current Exception Level
of the CPU. It doesn't say anything about the stack handling, and
yet we compare it to PSR_MODE_EL2t and PSR_MODE_EL2h.

It works by chance because PSR_MODE_EL2t happens to match the right
bits, but that's otherwise a very bad idea. Just check for the EL
value instead.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
[catalin.marinas@arm.com: fixed arch/arm64/kernel/efi-entry.S]
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2014-07-04 16:16:52 +01:00
..
boot
configs
crypto
include arm64: fix el2_setup check of CurrentEL 2014-07-04 16:16:52 +01:00
kernel arm64: fix el2_setup check of CurrentEL 2014-07-04 16:16:52 +01:00
kvm
lib
mm
xen
Kconfig
Kconfig.debug
Makefile