KVM: arm/arm64: vgic-new: Add GICv2 MMIO handling framework
authorAndre Przywara <andre.przywara@arm.com>
Tue, 26 Apr 2016 20:32:49 +0000 (21:32 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 20 May 2016 13:39:50 +0000 (15:39 +0200)
commitfb848db39661a1243f6ae939ef7e9251a765b972
treeb3ca3762d5887966d16908d4a63be9d92774a4ca
parent4493b1c4866a03963a35be7d157c911a617a3694
KVM: arm/arm64: vgic-new: Add GICv2 MMIO handling framework

Create vgic-mmio-v2.c to describe GICv2 emulation specific handlers
using the initializer macros provided by the VGIC MMIO framework.
Provide a function to register the GICv2 distributor registers to
the kvm_io_bus framework.
The actual handler functions are still stubs in this patch.

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-mmio-v2.c [new file with mode: 0644]
virt/kvm/arm/vgic/vgic-mmio.c
virt/kvm/arm/vgic/vgic-mmio.h
virt/kvm/arm/vgic/vgic.h