]> 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)
commit9697f756b78d0936d57a7dd83e309fa1dd5e5863
tree593df4d953b5ad0b054e0e41809bc5cd8c5c5195
parentba30d2956fb81afa7f655b896a0eafaf019dde90
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