Re: [URGENT rfc patch 0/3] tsc clocksource bug fix

From: Peter Zijlstra
Date: Fri Jul 05 2013 - 17:22:55 EST


On Fri, Jul 05, 2013 at 05:24:09PM +0200, Thomas Gleixner wrote:
> See arch/x86/kernel/tsc.c
>
> We disable the watchdog for the TSC when tsc_clocksource_reliable is
> set.
>
> tsc_clocksource_reliable is set when:
>
> - you add tsc=reliable to the kernel command line

Ah, I didn't know about that one, useful.

> - boot_cpu_has(X86_FEATURE_TSC_RELIABLE)
>
> X86_FEATURE_TSC_RELIABLE is a software flag, set by vmware and
> moorsetown. So all other machines keep the watchdog enabled.

Right.. I knew it was enabled on my machines even though they normally
have usable TSC.
--
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/