]> git.baikalelectronics.ru Git - kernel.git/commit
arm/arm64: KVM: refactor vgic_handle_mmio() function
authorAndre Przywara <andre.przywara@arm.com>
Mon, 2 Jun 2014 20:44:37 +0000 (22:44 +0200)
committerChristoffer Dall <christoffer.dall@linaro.org>
Tue, 20 Jan 2015 17:25:25 +0000 (18:25 +0100)
commit25cc0ad6a14cb2d1539d901b15b5b99a5a29fdad
tree593df4d953b5ad0b054e0e41809bc5cd8c5c5195
parent259d2ed448fa6ecf757a6e8d0d060327c83d75d4
arm/arm64: KVM: refactor vgic_handle_mmio() function

Currently we only need to deal with one MMIO region for the GIC
emulation (the GICv2 distributor), but we soon need to extend this.
Refactor the existing code to allow easier addition of different
ranges without code duplication.

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