arm64: record boot mode when entering the kernel
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 26 Oct 2012 14:40:05 +0000 (15:40 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 5 Dec 2012 11:26:48 +0000 (11:26 +0000)
To be able to signal the availability of EL2 to other parts of
the kernel, record the boot mode.

Once booted, two predicates indicate if HYP mode is available,
and if not, whether this is due to a boot mode mismatch or not.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>

No differences found