OSDN Git Service

KVM: arm/arm64: Handle VGICv2 save/restore from the main VGIC code
authorChristoffer Dall <christoffer.dall@linaro.org>
Thu, 22 Dec 2016 19:39:10 +0000 (20:39 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Mar 2018 10:53:20 +0000 (10:53 +0000)
commit75174ba6ca9dcfddda88aa420da4d7aa2b279fdf
treec5d1dc7a6af9db67e6fb8fdd36dfce9ddb9844ee
parentbb5ed7035918d265189e2623d71c8f458713d3e9
KVM: arm/arm64: Handle VGICv2 save/restore from the main VGIC code

We can program the GICv2 hypervisor control interface logic directly
from the core vgic code and can instead do the save/restore directly
from the flush/sync functions, which can lead to a number of future
optimizations.

Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/kvm/hyp/switch.c
arch/arm64/include/asm/kvm_hyp.h
arch/arm64/kvm/hyp/switch.c
virt/kvm/arm/hyp/vgic-v2-sr.c
virt/kvm/arm/vgic/vgic-v2.c
virt/kvm/arm/vgic/vgic.c
virt/kvm/arm/vgic/vgic.h