From patchwork Wed Mar 1 05:27:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Len Brown X-Patchwork-Id: 9597595 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 19C41600CB for ; Wed, 1 Mar 2017 05:39:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0C64928306 for ; Wed, 1 Mar 2017 05:39:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 011F72842B; Wed, 1 Mar 2017 05:39:58 +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=ham 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 CE7D328410 for ; Wed, 1 Mar 2017 05:39:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752149AbdCAFjy (ORCPT ); Wed, 1 Mar 2017 00:39:54 -0500 Received: from mail-qk0-f195.google.com ([209.85.220.195]:34991 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751473AbdCAFjc (ORCPT ); Wed, 1 Mar 2017 00:39:32 -0500 Received: by mail-qk0-f195.google.com with SMTP id n127so8230587qkf.2; Tue, 28 Feb 2017 21:37:32 -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=6YMzygOJB/kEv0WDfTbxg4QEBjnJtDQoDnodb/iBpI8=; b=e/JrhImuJbfXDPJCdeIQoRSzsYEfaS7eRA5iBwVtWIWT3PPPpTIr0nUYElSl983SHG oDoGWzrROh33a4V9rohSuzxQmxK7G8qK4J/U7Exks3EyRUcoeB68tCbtsc2MIZ8s5ttY /6yJ1TjsMp0ZQQw70MM9Jb/+S/atEgPwcHgRI9o85MY5su1VCCzIkFG1TzOQ/V8ZG/jr FdMT2RI08Aw1qFm0pMJv/WM+JKJ575/2goFizw82gs7Ntvdl+EPaL2/VWaOb2t+YhJKY eQ83eiEx7nWX4GBLa/v6HPiAgFrZDVJ46wVUcol+LJLq9RLb5Fk1TZAxto3NElY0tM/A Pu3A== 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=6YMzygOJB/kEv0WDfTbxg4QEBjnJtDQoDnodb/iBpI8=; b=JPx2S7WOHwnYeepTFfsNBSL3FyjjuM/QIfPNPl3Jf097OCpWJ0c6aMBjQFnuqltYLB mLOTpAmpRlYhFu9EAZaw9SJgbyGvyw4w09XvV+TNCV3/UScUEpwuLyyGHC05E3uAVOxd JtRdjiFhe/HzpeyxIw75YBkSfbwkd/La6ZmA4Wnf/APGZkN4WaStfMYkY79YKGd8vLGi 8sUeTFZ9tVxQw2dlvzzlHgaU76Wvys78/x/IQ2xyyZGYbJQrcw6omuO1htzwhnrvpe3B DhqnvJff3ErpRU3rH1a+ir6pnq3LJpGRVGu2XScqqNw7sukWdSzVERHg7KuXV5GNFQt+ Obdw== X-Gm-Message-State: AMke39kkhIQ/EfA2QUQ/0rdbk7LoMEKCUPSHYCCtNs7aIuV1QPudzw91imh8mEZwTx2uqQ== X-Received: by 10.237.42.109 with SMTP id k42mr8151897qtf.52.1488346114554; Tue, 28 Feb 2017 21:28:34 -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.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Feb 2017 21:28:34 -0800 (PST) From: Len Brown To: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Len Brown , x86@kernel.org Subject: [PATCH 18/44] x86 msr_index.h: Define MSR_MISC_FEATURE_CONTROL Date: Wed, 1 Mar 2017 00:27:22 -0500 Message-Id: <98af74599ea0757098a5776ea29e581b661dcf6f.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 This non-architectural MSR has disable bits for various prefetchers on modern processors. While these bits are generally touched only by the BIOS, say, via BIOS SETUP, it is useful to dump them when examining options that can alter performance. 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 83bc672c225c..312fb7e14cdd 100644 --- a/arch/x86/include/asm/msr-index.h +++ b/arch/x86/include/asm/msr-index.h @@ -467,6 +467,7 @@ #define MSR_IA32_TEMPERATURE_TARGET 0x000001a2 +#define MSR_MISC_FEATURE_CONTROL 0x000001a4 #define MSR_MISC_PWR_MGMT 0x000001aa #define MSR_IA32_ENERGY_PERF_BIAS 0x000001b0