]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d118d2cce87f143f7ec3ee626f7f525d9f7b125
treee76478680edaf50dd89d7c9abe3cd476fa500d7b
parent6564d2e90e23d6f974cb4722ad9f59e553292ea0
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