lkml.org 
[lkml]   [2019]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] x86/tsc: mark tsc reliable on CoffeeLake
Date
On 2019/4/8 8:03 PM, Thomas Gleixner wrote:
> On Mon, 8 Apr 2019, You-Sheng Yang wrote:
>> + /*
>> + * On Intel CoffeeLake, tsc may be marked unstable unexpectedly after
>> + * entering PC10.
>> + */
>> + if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL &&
>> + (boot_cpu_data.x86_model == INTEL_FAM6_KABYLAKE_MOBILE ||
>> + boot_cpu_data.x86_model == INTEL_FAM6_KABYLAKE_DESKTOP) &&
>> + boot_cpu_data.x86_stepping >= 0x0a)
>> + tsc_clocksource_reliable = 1;
>
> No. We are not starting that family/model/stepping game especially not
> with random stepping cutoffs which are pulled out of thin air. That's
> going to spiral out of control sooner than later.

What about we simply disable clocksource watchdog if this is an
invariant TSC?

> There must be a better way to do that. Rafael?
>
> Thanks,
>
> tglx

You-Sheng Yang

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2019-04-12 05:29    [W:0.401 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site