Turbo Boost Max 3.0 Support For Skylake Fixed With Linux 4.15

Written by Michael Larabel in Intel on 18 November 2017 at 04:28 PM EST. 5 Comments
INTEL
The platform-drivers-x86 updates have been sent in for Linux 4.15 and include a range of improvements for Intel hardware support. One of the bigger items is support for Skylake CPUs with Turbo Boost Max 3.0.

It turns out up to now that Intel Skylake CPUs featuring Turbo Boost Max 3.0 (TBM3) may have not actually been working correctly for hitting this maximum frequency when the system is sustaining single-threaded workloads. The patch by Intel's Srinivas Pandruvada explains:
Ev Kontsevoy reported that he can't see the presence of "/proc/sys/kernel/sched_itmt_enabled" on i9-7900x with Asrock x299 Taichi system even if he enabled "Turbo 3.0" in the BIOS.

The problem is that even if one core max is 200MHz more than others, the current implementation couldn't enumerate that with the way the system is configured.

The system by default configured for legacy mode (no HWP or speed shift technology), in this mode only way we can enumerate via the mail box interface as implemented in this driver. We were planing to only use this driver for Broadwell, but we need to extend this because some Skylake system has same issue as Broadwell systems.

On this system BIOS allows to change to HWP mode, where we expect that we can enumerate favored core with ACPI-CPPC. But on this system the core priority is 0xff for all cores in CPPC object. So this is not an option.

Hence this change allows Skylake systems to be enumerate favored core similar to Broadwell in legacy mode.
So for at least some Skylake systems with Turbo Boost Max 3.0 support (e.g. the Core i9 7900 series), TBM3 support should be fixed up. I'll be running some tests on my Skylake X systems to look more closely at their behavior. Keep in mind TBM3 isn't to be confused with conventional Intel Turbo Boost found on most of their CPU line-up.


The x86 platform driver updates also feature changes to the Dell SMIBIOS driver for newer Dell laptops, a fix for the Intel Cherry Trail battery management driver, WMI hotkey driver updates, lightbar LED support in the ASUS WMI driver, power button suspend support on the Dell Latitude 7275, and various other fixes and code improvements.

The complete list of x86 platform driver changes can be found via this pull request.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week