]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: KVM: Map the kernel RO section into HYP
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 27 Oct 2015 12:18:48 +0000 (12:18 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 14 Dec 2015 11:30:43 +0000 (11:30 +0000)
commit10472b6e1bebe94829c7722fc14af051daa4ce5a
tree86716f40661c3a9a503a0a47b398169d6eb77e46
parent9fc95af3c6a2434ea89e767dd9fd572196e4a824
arm64: KVM: Map the kernel RO section into HYP

In order to run C code in HYP, we must make sure that the kernel's
RO section is mapped into HYP (otherwise things break badly).

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/arm.c