]> git.baikalelectronics.ru Git - kernel.git/commit
intel_idle: prevent SKL-H boot failure when C8+C9+C10 enabled
authorLen Brown <len.brown@intel.com>
Sun, 13 Mar 2016 05:33:48 +0000 (00:33 -0500)
committerLen Brown <len.brown@intel.com>
Wed, 23 Mar 2016 20:19:29 +0000 (16:19 -0400)
commitf5286ea62396af5680ebb80435c2016994913300
tree547b3699233a0fccae3122020ddb4bbf814a2faa
parent1c36e91e9f8a2ec52ebefc29dc47db038ad1685c
intel_idle: prevent SKL-H boot failure when C8+C9+C10 enabled

Some SKL-H configurations require "intel_idle.max_cstate=7" to boot.
While that is an effective workaround, it disables C10.

This patch detects the problematic configuration,
and disables C8 and C9, keeping C10 enabled.

Note that enabling SGX in BIOS SETUP can also prevent this issue,
if the system BIOS provides that option.

https://bugzilla.kernel.org/show_bug.cgi?id=109081
"Freezes with Intel i7 6700HQ (Skylake), unless intel_idle.max_cstate=7"

Signed-off-by: Len Brown <len.brown@intel.com>
Cc: stable@vger.kernel.org
drivers/idle/intel_idle.c