arm64: KVM: Add VGIC device control for arm64
authorChristoffer Dall <christoffer.dall@linaro.org>
Sun, 2 Feb 2014 21:41:02 +0000 (13:41 -0800)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:18:32 +0000 (17:18 +0200)
commit312c49473d6543ad3888172fc63992e5a326c622
treee440e7c854ef3482b2cd6d0b04f811eaa71df60a
parent4635cac7cb81e457a59eb1cbea32d828f6c25a05
arm64: KVM: Add VGIC device control for arm64

This fixes the build breakage introduced by
c07a0191ef2de1f9510f12d1f88e3b0b5cd8d66f and adds support for the device
control API and save/restore of the VGIC state for ARMv8.

The defines were simply missing from the arm64 header files and
uaccess.h must be implicitly imported from somewhere else on arm.

Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 2a2f3e269c75edf916de5967079069aeb6a601cb)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm64/include/uapi/asm/kvm.h
virt/kvm/arm/vgic.c