Re: [PATCH 2/3] x86/tsc: Fix erroneous TSC rate on Skylake Xeon

From: Len Brown
Date: Tue Jan 02 2018 - 16:09:44 EST


On Tue, Jan 2, 2018 at 10:36 AM, Prarit Bhargava <prarit@xxxxxxxxxx> wrote:
>
>
> On 12/22/2017 12:27 AM, Len Brown wrote:
>> From: Len Brown <len.brown@xxxxxxxxx>
>>
>> Linux-4.9 added INTEL_FAM6_SKYLAKE_X to native_calibrate_tsc():

>
> Sorry, Len I didn't realize you had sent this multiple times.
>
> I lifted this code directly from tools/power/x86/turbostat/turbostat.c:4155
> -- is that code incorrect too?

yes, also a bug in turbostat -- fix is in the turbostat queue.

--
Len Brown, Intel Open Source Technology Center