]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - arch/arm64/Kconfig
arm64: VHE: Add support for running Linux in EL2 mode
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 19 Feb 2014 09:33:14 +0000 (09:33 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:18 +0000 (18:34 +0000)
commit1f364c8c48a0767885a18451ee074c64b454157a
tree3fa0d98862ed916c5b2767c6015fa563d89c2857
parentae7e27fe6834d4a78fd8e4576a8e1dd15ae0c008
arm64: VHE: Add support for running Linux in EL2 mode

With ARMv8.1 VHE, the architecture is able to (almost) transparently
run the kernel at EL2, despite being written for EL1.

This patch takes care of the "almost" part, mostly preventing the kernel
from dropping from EL2 to EL1, and setting up the HYP configuration.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/Kconfig
arch/arm64/kernel/head.S