Re: [PATCH v2 1/3] x86/tsc: use CPUID.0x16 to calculate missing crystal frequency

2019-05-09 Thread Ingo Molnar
* Thomas Gleixner wrote: > On Thu, 9 May 2019, Daniel Drake wrote: > > > native_calibrate_tsc() had a data mapping Intel CPU families > > and crystal clock speed, but hardcoded tables are not ideal, and this > > approach was already problematic at least in the Skylake X case, as > > seen in co

Re: [PATCH v2 1/3] x86/tsc: use CPUID.0x16 to calculate missing crystal frequency

2019-05-09 Thread Thomas Gleixner
On Thu, 9 May 2019, Daniel Drake wrote: > native_calibrate_tsc() had a data mapping Intel CPU families > and crystal clock speed, but hardcoded tables are not ideal, and this > approach was already problematic at least in the Skylake X case, as > seen in commit b51120309348 ("x86/tsc: Fix erroneou

[PATCH v2 1/3] x86/tsc: use CPUID.0x16 to calculate missing crystal frequency

2019-05-08 Thread Daniel Drake
native_calibrate_tsc() had a data mapping Intel CPU families and crystal clock speed, but hardcoded tables are not ideal, and this approach was already problematic at least in the Skylake X case, as seen in commit b51120309348 ("x86/tsc: Fix erroneous TSC rate on Skylake Xeon"). By examining CPUID