]> git.baikalelectronics.ru Git - kernel.git/commit
arm/arm64: KVM: arch timer: Reset CNTV_CTL to 0
authorChristoffer Dall <christoffer.dall@linaro.org>
Fri, 4 Sep 2015 14:24:39 +0000 (16:24 +0200)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 4 Sep 2015 15:26:56 +0000 (16:26 +0100)
commit93a1843f66db370d433835140fd5582906220049
tree86378d7e90070176a254c4fbb3682eb38cacd759
parentd53b7f320dd4bb68437fe5aba8ddac7486443994
arm/arm64: KVM: arch timer: Reset CNTV_CTL to 0

Provide a better quality of implementation and be architecture compliant
on ARMv7 for the architected timer by resetting the CNTV_CTL to 0 on
reset of the timer.

This change alone fixes the UEFI reset issue reported by Laszlo back in
February.

Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Drew Jones <drjones@redhat.com>
Cc: Wei Huang <wei@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/arch_timer.c