]> git.baikalelectronics.ru Git - kernel.git/commit
arm/arm64: KVM: Fix ordering of timer/GIC on guest entry
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 5 Jun 2015 08:33:28 +0000 (09:33 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 12 Aug 2015 10:28:23 +0000 (11:28 +0100)
commit2f4820e3407e462f95a5b7146435b392d1fc83ed
tree5cdbba92fcce70d797737ddb997c874c2cea0d37
parent6cb66b53cd8f2ee06efcaa074ccfe9ed07718a34
arm/arm64: KVM: Fix ordering of timer/GIC on guest entry

As we now inject the timer interrupt when we're about to enter
the guest, it makes a lot more sense to make sure this happens
before the vgic code queues the pending interrupts.

Otherwise, we get the interrupt on the following exit, which is
not great for latency (and leads to all kind of bizarre issues
when using with active interrupts at the HW level).

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/arm.c