]> xenbits.xensource.com Git - xen.git/commit
x86/mwait-idle: Graceful probe failure when MWAIT is disabled
authorLen Brown <len.brown@intel.com>
Fri, 23 Nov 2018 11:06:07 +0000 (12:06 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 23 Nov 2018 11:06:07 +0000 (12:06 +0100)
commitcb36aafa76a49bb45a08d00e4f8682e79637c6bb
tree86ab2d3e33554302e22d0437fcaa29696d3f3207
parent7f8d8632b6cc3ee7bec566e21267b45d436aa391
x86/mwait-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>
[Linux commit: a4c447533a18ee86e07232d6344ba12b1f9c5077]
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/cpu/mwait-idle.c