x86/kvm: On KVM re-enable (e.g. after suspend), update clocks
authorAndy Lutomirski <luto@kernel.org>
Fri, 11 Dec 2015 03:20:18 +0000 (19:20 -0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 11 Dec 2015 07:56:02 +0000 (08:56 +0100)
commit677a73a9aa5433ea728200c26a7b3506d5eaa92b
treeaefd2afa048807a3b79cea05bf7971f31e512568
parent478dc89cf316697e8029411a64ea2b30c528434d
x86/kvm: On KVM re-enable (e.g. after suspend), update clocks

This gets rid of the "did TSC go backwards" logic and just
updates all clocks.  It should work better (no more disabling of
fast timing) and more reliably (all of the clocks are actually
updated).

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-mm@kvack.org
Link: http://lkml.kernel.org/r/861716d768a1da6d1fd257b7972f8df13baf7f85.1449702533.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kvm/x86.c