KVM: arm/arm64: vgic-new: Add userland GIC CPU interface access
authorAndre Przywara <andre.przywara@arm.com>
Thu, 3 Dec 2015 11:48:42 +0000 (11:48 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 20 May 2016 13:40:05 +0000 (15:40 +0200)
commit878c569e45066a76a2a841dab965e6d22c4e187e
treee56553b4874315c2333414d4e97abf23a4f6ba34
parente4823a7a1b4a4f2549dd223f243779ab9510db22
KVM: arm/arm64: vgic-new: Add userland GIC CPU interface access

Using the VMCR accessors we provide access to GIC CPU interface state
to userland by wiring it up to the existing userland interface.
[Marc: move and make VMCR accessors static, streamline MMIO handlers]

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/vgic/vgic-kvm-device.c
virt/kvm/arm/vgic/vgic-mmio-v2.c
virt/kvm/arm/vgic/vgic.h