From patchwork Wed Mar 1 05:27:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Len Brown X-Patchwork-Id: 9597617 X-Patchwork-Delegate: rjw@sisk.pl Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8CC87600CB for ; Wed, 1 Mar 2017 05:41:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 818C826E56 for ; Wed, 1 Mar 2017 05:41:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 76D7628428; Wed, 1 Mar 2017 05:41:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3554026E56 for ; Wed, 1 Mar 2017 05:41:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752086AbdCAFk7 (ORCPT ); Wed, 1 Mar 2017 00:40:59 -0500 Received: from mail-qk0-f194.google.com ([209.85.220.194]:33472 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752027AbdCAFkR (ORCPT ); Wed, 1 Mar 2017 00:40:17 -0500 Received: by mail-qk0-f194.google.com with SMTP id n186so8208306qkb.0; Tue, 28 Feb 2017 21:38:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references:reply-to:organization; bh=h7EGWi8JarUKWvPaLI8v2TDfWq0nB9NH92dHNiZ+h8k=; b=TZ0wx7FYRW/Rj+kS4/Q8Vq0mERsPTFdjtdAsvWUBMFBCvEm4Yyq3wIBZ0WZT72yQeM DqkuvQeVCAFmBBoG54vxUFpukOZg/nhX/bKxl9j02etLF06Z7Pp6gDiM0K0rT3s+kep+ altmhg4wrb3y7lY2rQcss6+5+/34pBI3ahL5Ye3VTCIthhobNiGT4TlsLKq7aKDBy9rs jHzLlwBWKbFH1U7Wc2hAcxwniUjagnxnB1P3jPHpThHg1UMisE34MiB+sYgOnh+Z7ZML O2b0ywOG4+hIhKKMvX2eZwjC8lf3zp9JCVTMntH2RP/XWEBBQqGM61QBy38Y3MYI1Jnu T8jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references:reply-to:organization; bh=h7EGWi8JarUKWvPaLI8v2TDfWq0nB9NH92dHNiZ+h8k=; b=m6a6ZBLzxzkN15Ua31Zgmum7Er5TU5PdbWzdvhUCIEmvEv4AKJUHycNz6wZqAJvqrX mm6Gv39rCxwT5UeNcMH+/n8DlC4+ANA1RasKx8kmhmhXsnjQPg4TSEu1djhTjv8wDouw SL7kXUh1C9d66ni32rg6MTbV2gLUgSrTM7jPPYbvItEqKxCiK2HhY7uE0aTkXR1ntFN0 jCMd7AgwQnSN2WFM72cS/vdU8wBaG+zpvcwixnLnOIlRtSOsG+Jeh/HMD9x5B6dDgcoB FteYiJ4UkyBnhKGepVLN4T1MiIolde29VeieuMRJ87n7LERSTmp5uSugNcVxT1I40X8i X5Aw== X-Gm-Message-State: AMke39ljCgmkKGgg3I5I9htx+E1chKWjVSiYY2+JVbwt5edBxBJXg/p+b40p2knTncI63g== X-Received: by 10.55.17.138 with SMTP id 10mr7967034qkr.202.1488346106806; Tue, 28 Feb 2017 21:28:26 -0800 (PST) Received: from z87.localdomain (pool-96-230-116-151.bstnma.fios.verizon.net. [96.230.116.151]) by smtp.gmail.com with ESMTPSA id c141sm2530517qkb.10.2017.02.28.21.28.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Feb 2017 21:28:26 -0800 (PST) From: Len Brown To: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Len Brown , x86@kernel.org Subject: [PATCH 07/44] x86: msr-index.h: Define MSR_PKG_CST_CONFIG_CONTROL Date: Wed, 1 Mar 2017 00:27:11 -0500 Message-Id: <40496c8ee73a5ca4fa581badf2247418980586b1.1488345270.git.len.brown@intel.com> X-Mailer: git-send-email 2.11.0.161.g6610af872 In-Reply-To: <20170301052748.27810-1-lenb@kernel.org> References: <20170301052748.27810-1-lenb@kernel.org> In-Reply-To: <678a3bd1b3de6d2ebf604e7d708bc8150bb667e9.1488345270.git.len.brown@intel.com> References: <678a3bd1b3de6d2ebf604e7d708bc8150bb667e9.1488345270.git.len.brown@intel.com> Reply-To: Len Brown Organization: Intel Open Source Technology Center Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Len Brown define MSR_PKG_CST_CONFIG_CONTROL (0xE2), which is the string used by Intel Documentation. We use this MSR in intel_idle and turbostat by a previous name, to be updated in the next patch. Cc: x86@kernel.org Signed-off-by: Len Brown --- arch/x86/include/asm/msr-index.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86/include/asm/msr-index.h index 710273c617b8..975f23eefe14 100644 --- a/arch/x86/include/asm/msr-index.h +++ b/arch/x86/include/asm/msr-index.h @@ -47,6 +47,7 @@ #define MSR_PLATFORM_INFO 0x000000ce #define MSR_NHM_SNB_PKG_CST_CFG_CTL 0x000000e2 +#define MSR_PKG_CST_CONFIG_CONTROL 0x000000e2 #define NHM_C3_AUTO_DEMOTE (1UL << 25) #define NHM_C1_AUTO_DEMOTE (1UL << 26) #define ATM_LNC_C6_AUTO_DEMOTE (1UL << 25)