]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: KVM: Convert KVM to use HVC_GET_VECTORS
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 3 Apr 2017 18:37:47 +0000 (19:37 +0100)
committerChristoffer Dall <cdall@linaro.org>
Sun, 9 Apr 2017 14:49:24 +0000 (07:49 -0700)
commit7c5ee4df974c3d4f29391b8d2b2d327331a7cae2
tree3bc84168f0c8b973972a88670a421eb87aca6644
parent74e6f2d1ff48cd0aca1baff0da740e6838825d8f
ARM: KVM: Convert KVM to use HVC_GET_VECTORS

The conversion of the HYP stub ABI to something similar to arm64
left the KVM code broken, as it doesn't know about the new
stub numbering. Let's move the various #defines to virt.h, and
let KVM use HVC_GET_VECTORS.

Tested-by: Keerthy <j-keerthy@ti.com>
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
arch/arm/include/asm/virt.h
arch/arm/kernel/hyp-stub.S
arch/arm/kvm/hyp/hyp-entry.S