Files
ubports_kernel_google_msm/arch/x86/include/asm
Marcelo Tosatti b74f05d61b x86: kvmclock: abstract save/restore sched_clock_state
Upon resume from hibernation, CPU 0's hvclock area contains the old
values for system_time and tsc_timestamp. It is necessary for the
hypervisor to update these values with uptodate ones before the CPU uses
them.

Abstract TSC's save/restore sched_clock_state functions and use
restore_state to write to KVM_SYSTEM_TIME MSR, forcing an update.

Also move restore_sched_clock_state before __restore_processor_state,
since the later calls CONFIG_LOCK_STAT's lockstat_clock (also for TSC).
Thanks to Igor Mammedov for tracking it down.

Fixes suspend-to-disk with kvmclock.

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2012-03-20 12:37:45 +02:00
..
2011-12-05 17:17:24 +01:00
2011-08-29 13:44:12 -07:00
2011-08-29 13:44:12 -07:00
2011-01-13 08:03:25 -08:00
2011-03-18 10:39:30 +01:00
2011-02-14 12:08:28 +01:00
2011-09-27 18:08:04 +02:00
2011-05-02 17:24:48 +02:00
2011-05-16 14:55:57 -04:00
2011-04-18 09:26:48 -07:00
2010-10-26 16:52:08 -07:00
2011-01-07 10:03:50 -05:00
2012-02-20 10:58:54 -08:00
2011-11-11 10:22:55 +01:00
2010-10-26 16:52:08 -07:00
2011-02-23 22:27:52 +01:00
2011-07-26 16:49:43 -07:00
2011-07-22 14:39:50 +09:30
2011-05-24 14:33:35 +02:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-09-25 19:53:00 +03:00
2011-12-05 14:28:37 +01:00
2010-06-29 12:12:59 +02:00
2010-11-01 15:38:34 -04:00
2010-10-26 16:52:08 -07:00
2011-01-13 17:32:44 -08:00
2011-06-05 21:30:33 +02:00
2011-01-13 17:32:44 -08:00
2011-03-15 15:34:15 -07:00
2011-07-26 16:49:47 -07:00
2011-03-18 10:39:30 +01:00
2011-08-29 13:44:12 -07:00
2011-12-05 12:00:16 +01:00
2011-03-23 19:47:18 -07:00
2011-05-20 12:50:29 -07:00
2011-05-20 12:50:29 -07:00
2011-06-05 21:30:32 +02:00