public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Avoid using TSC clocksource on AMD APUs affected by erratum 778
@ 2014-07-31  9:47 Igor Mammedov
  2014-07-31  9:47 ` [PATCH 1/2] x86: AMD: mark TSC unstable on APU family 15h models 10h-1fh Igor Mammedov
  2014-07-31  9:47 ` [PATCH 2/2] x86: kvm: do not advertise stable clocksource if CPU has TSC drift BUG Igor Mammedov
  0 siblings, 2 replies; 7+ messages in thread
From: Igor Mammedov @ 2014-07-31  9:47 UTC (permalink / raw)
  To: linux-kernel; +Cc: x86, hpa, mingo, tglx, pbonzini, kvm, mtosatti

Fixes pvclock backwards jumps caused by TSC drifting despite
host believing that TSC is invariant/synchronized.

TSC drift maybe caused by erratum 778 described in
"Revision Guide for AMD Family 15h Models 10h-1Fh Processors,
 Publication # 48931, Issue Date: May 2013, Revision: 3.10"


Igor Mammedov (2):
  x86: AMD: mark TSC unstable on APU family 15h models 10h-1fh
  x86: kvm: do not advertise stable clocksource if CPU has TSC drift BUG

 arch/x86/include/asm/cpufeature.h | 1 +
 arch/x86/kernel/cpu/amd.c         | 9 +++++++++
 arch/x86/kvm/cpuid.c              | 3 ++-
 3 files changed, 12 insertions(+), 1 deletion(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-08-01  9:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-31  9:47 [PATCH 0/2] Avoid using TSC clocksource on AMD APUs affected by erratum 778 Igor Mammedov
2014-07-31  9:47 ` [PATCH 1/2] x86: AMD: mark TSC unstable on APU family 15h models 10h-1fh Igor Mammedov
2014-07-31 15:47   ` Borislav Petkov
2014-07-31 16:33     ` Paolo Bonzini
2014-08-01  9:02   ` Borislav Petkov
2014-07-31  9:47 ` [PATCH 2/2] x86: kvm: do not advertise stable clocksource if CPU has TSC drift BUG Igor Mammedov
2014-07-31 14:38   ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox