From: Mark Rutland Date: Tue, 26 Mar 2013 13:41:35 +0000 (+0000) Subject: ARM: KVM: arch_timers: zero CNTVOFF upon return to host X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~41^2^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f793c23ebbe5afd1cabf4a42a3a297022213756f;p=pandora-kernel.git ARM: KVM: arch_timers: zero CNTVOFF upon return to host To use the virtual counters from the host, we need to ensure that CNTVOFF doesn't change unexpectedly. When we change to a guest, we replace the host's CNTVOFF, but we don't restore it when returning to the host. As the host sets CNTVOFF to zero, and never changes it, we can simply zero CNTVOFF when returning to the host. This patch adds said zeroing to the return to host path. Signed-off-by: Mark Rutland Acked-by: Marc Zyngier Acked-by: Santosh Shilimkar Acked-by: Christoffer Dall --- Reading git-diff-tree failed