[PATCH 0/2] Avoid using TSC clocksource on AMD APUs affected by erratum 778

From: Igor Mammedov
Date: Thu Jul 31 2014 - 05:48:56 EST

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(-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/