]> git.baikalelectronics.ru Git - kernel.git/commit
intel_idle: Graceful probe failure when MWAIT is disabled
authorLen Brown <len.brown@intel.com>
Thu, 9 Nov 2017 07:19:39 +0000 (02:19 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 9 Nov 2017 13:13:21 +0000 (14:13 +0100)
commitfea1c0c1d5b1a7b1246b07c545e3ab3ce86779d7
tree73456b297ccbb9ba0d7f6544c11516786cbbf469
parent0af69e0f3c7e293d84c7f2c1c81c421ff0baa9b8
intel_idle: Graceful probe failure when MWAIT is disabled

When MWAIT is disabled, intel_idle refuses to probe.
But it may mis-lead the user by blaming this on the model number:

intel_idle: does not run on family 6 modesl 79

So defer the check for MWAIT until after the model# white-list check succeeds,
and if the MWAIT check fails, tell the user how to fix it:

intel_idle: Please enable MWAIT in BIOS SETUP

Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/idle/intel_idle.c