arm64: KVM: move HCR_EL2.{IMO,FMO} manipulation into the vgic switch code
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 9 Aug 2013 17:19:11 +0000 (18:19 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 11 Jul 2014 11:57:36 +0000 (04:57 -0700)
commitac3c3747e2db2f326ffc601651de544cdd33a8e9
treee76478680edaf50dd89d7c9abe3cd476fa500d7b
parent1a9b13056dde7e3092304d6041ccc60a913042ea
arm64: KVM: move HCR_EL2.{IMO,FMO} manipulation into the vgic switch code

GICv3 requires the IMO and FMO bits to be tightly coupled with some
of the interrupt controller's register switch.

In order to have similar code paths, move the manipulation of these
bits to the GICv2 switch code.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/kvm_arm.h
arch/arm64/kvm/hyp.S