From patchwork Wed Mar 1 05:27:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Len Brown X-Patchwork-Id: 9597661 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 B70CF604DC for ; Wed, 1 Mar 2017 05:58:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA9D828428 for ; Wed, 1 Mar 2017 05:58:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9EDE128452; Wed, 1 Mar 2017 05:58:38 +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 5391328428 for ; Wed, 1 Mar 2017 05:58:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752036AbdCAF6Z (ORCPT ); Wed, 1 Mar 2017 00:58:25 -0500 Received: from mail-qk0-f194.google.com ([209.85.220.194]:35347 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750813AbdCAF5T (ORCPT ); Wed, 1 Mar 2017 00:57:19 -0500 Received: by mail-qk0-f194.google.com with SMTP id n127so8300438qkf.2; Tue, 28 Feb 2017 21:56:35 -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=1e0QpxWIgjqnMtzySp9wErQ8Y1oXVEDQJMSp2IzJvC0=; b=nQ2lKwLeGk+Ayi7ppWt44PzVfE0RVpJSalIwhfmiZy1SgY+C4G1b5WnF1l/hoKMhl4 vq1RPTPtWoO2M+n8NlZS6/o2dRXDebYeF3c+IveRinMMFAf4Y7BykYz1cXh7KdW5U6Ey gHkIKJELRkIvLgaL1dsk1b0ps4D+FE9XfzcClIGYB11jz2qWwhLW/q1G4drZ7RENY1f5 Y3shn0qDn9QkntXGll4t5LTW9bImCvrFbfubEFJ+tohtGNewURbDRo6Lz9Jx/sd0XuTT iXobfXjkvpRhH/yqWdPhfcOTMZ1iMMjA+wN/dIAuVZC9lmd73jhIq/ttgmjMNqHN+7+v sLPA== 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=1e0QpxWIgjqnMtzySp9wErQ8Y1oXVEDQJMSp2IzJvC0=; b=oI82+Rg/uIUDhH3UFCpSnS4ZiND+ejCvqykqHcmW/8GveHw7qXukWyPxLiGcnFVrME mWg0oLP7hYZ2fenUOijKiQSb7Bg3zO/OW8xiYQq1WSqx8ZCgp8Tf3dkqUHB+tK1UluP1 KAu4ZW3Wa8CVz5nZMObpumV+1uZp2i9jWCVO2n+qsMywKlH0yYCS1IyLniq279UXwhz3 m8ZlzeEIkDfrVLjMLe9TqEiN2gGxEoYPWzxeCRHUWLFAMcY9xrpzi0w5G4LyvevFZsAr XVSPyxHuZbKXUCxbmcZDqJ6V6KvRhPm4KpZemar6nvuc2+8zMWpnEeB4bAf3J+SHaqGs To4w== X-Gm-Message-State: AMke39n3rGg4visNaPrxFviRQaH5PyKRPqslDVfIWjMZ09s5DEJ7BLF8P7x7eKwW2Q8AdQ== X-Received: by 10.233.239.201 with SMTP id d192mr7614597qkg.294.1488346111917; Tue, 28 Feb 2017 21:28:31 -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.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Feb 2017 21:28:31 -0800 (PST) From: Len Brown To: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Len Brown , x86@kernel.org Subject: [PATCH 14/44] x86 msr-index.h: Define Atom specific core ratio MSR locations Date: Wed, 1 Mar 2017 00:27:18 -0500 Message-Id: <8a34fd0226eaae64d61ff9a113d276e28acb6b5c.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 These MSRs are currently used by the intel_pstate driver, using a local definition. Cc: x86@kernel.org Signed-off-by: Len Brown --- arch/x86/include/asm/msr-index.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86/include/asm/msr-index.h index 079db99f6560..83bc672c225c 100644 --- a/arch/x86/include/asm/msr-index.h +++ b/arch/x86/include/asm/msr-index.h @@ -209,6 +209,12 @@ #define MSR_CC6_DEMOTION_POLICY_CONFIG 0x00000668 #define MSR_MC6_DEMOTION_POLICY_CONFIG 0x00000669 +#define MSR_ATOM_CORE_RATIOS 0x0000066a +#define MSR_ATOM_CORE_VIDS 0x0000066b +#define MSR_ATOM_CORE_TURBO_RATIOS 0x0000066c +#define MSR_ATOM_CORE_TURBO_VIDS 0x0000066d + + #define MSR_CORE_PERF_LIMIT_REASONS 0x00000690 #define MSR_GFX_PERF_LIMIT_REASONS 0x000006B0 #define MSR_RING_PERF_LIMIT_REASONS 0x000006B1