From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752552AbbE0LaW (ORCPT ); Wed, 27 May 2015 07:30:22 -0400 Received: from cantor2.suse.de ([195.135.220.15]:34888 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751322AbbE0LaU (ORCPT ); Wed, 27 May 2015 07:30:20 -0400 Date: Wed, 27 May 2015 13:30:08 +0200 From: Borislav Petkov To: Andy Lutomirski Cc: Huang Rui , Thomas Gleixner , "Rafael J. Wysocki" , Len Brown , John Stultz , Tony Li , X86 ML , Peter Zijlstra , Aaron Lu , Fengguang Wu , "linux-kernel@vger.kernel.org" Subject: Re: [RFC PATCH 2/4] x86, mwaitt: introduce mwaitx idle with a configurable timer Message-ID: <20150527113008.GB19582@pd.tnic> References: <1432022472-2224-1-git-send-email-ray.huang@amd.com> <1432022472-2224-3-git-send-email-ray.huang@amd.com> <555D3629.8080002@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. --