| Date | Sat, 29 Jan 2022 15:53:07 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCHv2 05/29] x86/tdx: Add HLT support for TDX guests |
| |
On Mon, Jan 24, 2022 at 06:01:51PM +0300, Kirill A. Shutemov wrote: > @@ -870,6 +871,10 @@ void select_idle_routine(const struct cpuinfo_x86 *c) > } else if (prefer_mwait_c1_over_halt(c)) { > pr_info("using mwait in idle threads\n"); > x86_idle = mwait_idle; > + } else if (cpu_feature_enabled(X86_FEATURE_TDX_GUEST)) { > + pr_info("using TDX aware idle routine\n"); > + x86_idle = tdx_safe_halt; > + return;
Forgot to remove that "return".
-- Regards/Gruss, Boris.
https://people.kernel.org/tglx/notes-about-netiquette
|