Re: [RFC PATCH 2/4] x86, mwaitt: introduce mwaitx idle with a configurable timer

From: Borislav Petkov
Date: Wed May 27 2015 - 07:30:26 EST


On Tue, May 26, 2015 at 06:01:03PM -0700, Andy Lutomirski wrote:
> https://chromium-review.googlesource.com/#/c/205161/
>
> Oddly, Coreboot seems to have mis-spelled that MSR. It's
> MSR_PKG_CST_CONFIG_CONTROL, and bit 31 isn't defined in the SDM
> (unsurprisingly).

Since this MSR is a control MSR and from looking at the comment in the
coreboot code and how they set that bit, it enables that MWAIT variant.
Even if the MSR write would stick on your hw, though, you'd still need
to know what it takes into EAX/ECX (and possibly some other register...
EBX, EDX...?) It might bring you some fun while trying to figure it out
:-)

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/