Re: [PATCH] x86: Prefer MWAIT over HALT on AMD processors

From: Borislav Petkov
Date: Wed Apr 06 2022 - 08:59:40 EST


On Wed, Apr 06, 2022 at 11:44:52AM +0530, Wyes Karny wrote:
> If x86_FEATURE_ZEN is set and X86_FEATURE_MWAIT is not set or has
> X86_BUG_MONITOR then it won't return correct value.

Can that ever happen on Zen uarch?

Also, what does this mean: "allow MWAIT early on."?

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette