Re: [PATCH 1/1] x86 TSC: set X86_FEATURE_TSC_RELIABLE, per CPUID

From: Andy Lutomirski
Date: Mon Jun 01 2015 - 14:40:21 EST


On 05/30/2015 10:44 PM, Len Brown wrote:
From: Len Brown <len.brown@xxxxxxxxx>

Speed cpu_up() by believing CPUID's "invariant TSC" flag,
and skipping the TSC warp test on single socket systems.

I'm typing this email on a "Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz" with a "X79A-GD65 (8D) (MS-7760)" motherboard. (DO NOT BUY THAT MOTHERBOARD!)

The brilliant stock firmware breaks TSC sync on bootup. Even with the updated firmware I'm using, it's broken on resume from S3.

If you want to make this depend on X86_FEATURE_TSC_ADJUST and confirm that all cores have the same IA32_TSC_ADJUST value, then maybe that would be okay. Otherwise, please don't underestimate the malice^Wgross incompetence of firmware vendors.

--Andy
--
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/