Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1022138ybg; Wed, 29 Jul 2020 03:55:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxn3vM9YZpN7L2wg3uzIwLU5U7Z1S/4b7+i5yuSE/OzsJYGquigD2mC7ZCQ5A/6QkmitQ9j X-Received: by 2002:a17:906:ca4f:: with SMTP id jx15mr22401654ejb.449.1596020131964; Wed, 29 Jul 2020 03:55:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596020131; cv=none; d=google.com; s=arc-20160816; b=J+DGPSfOuJrFpj9cmgU+wt/EHJw9HCayI3+Jm8pTcoZ3JswDblUC9UGdyYrk/N+l5Z gXmFbVQHe4SJhl/P33BDUu+mSnfgYJTSSE0TSChB0zWWetBJFxiCyjxE1mX9+pGid6Jg Hg2TdsdxNE1fQ+A5INY7E2gFzDVBQJzd/pIFb4VKbfwwM7b+MVb7ehsTP1PvRb1RzTCu AvV7kv53PaWDuxWO65PpABLoftByWhcRBMAjq69cOsfgckWdUrHykZYN9M8QAtTANKce oBNa+ZGhq3r5GEQJ5xQ8YOTE/E1Ard07uaN9JHl9bPw3n4J7yopHNU1wqVEX+4286pMP Lplw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references :mime-version:message-id:in-reply-to:date:dkim-signature; bh=1dEDkzJYgjVVqjEitEFw8gql6+YijucNn9liE79fC9Y=; b=r/iUi0VNNuYMigL6XV8rka3sBilZrt90oH3PcPhUfCRnFX4SHp+FhMqSqp2YeR0VNm RTTMqIPMVU7oi4J5ZxvKq3bRLcendpjWTykOZMmXJ+yoWW2LOdp0AgaQUy/roe0CoLNu L/x2nrXMrsqQaMdyegZD0pA9vGo71nasX58Jd7c1hm/XoFZ/KMAxaOrvDZ4Di5MzVxmQ 4jlhp+SuoynMpW6d6x4eigIjPkUbo8JVBS72ymnriS4TIxs6FmAfEX8dJ/6Ou+J25N4w AIKTUUV8Rmb1s0UtGOfIRUadPsbEL4KZTWum3FnwapQht1yPGOpxf94rsePsT/DTnAps e8mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=RSKfeGf9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dj11si977530edb.279.2020.07.29.03.55.09; Wed, 29 Jul 2020 03:55:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=RSKfeGf9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726825AbgG2KwX (ORCPT + 99 others); Wed, 29 Jul 2020 06:52:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726497AbgG2KwW (ORCPT ); Wed, 29 Jul 2020 06:52:22 -0400 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45FCDC0619D2 for ; Wed, 29 Jul 2020 03:52:22 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id u12so28954954ybj.0 for ; Wed, 29 Jul 2020 03:52:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=1dEDkzJYgjVVqjEitEFw8gql6+YijucNn9liE79fC9Y=; b=RSKfeGf9Tc8fWQxZ4X1HkI78UZCWzGntRi0jHX+IEnH1Q/X9kFEtjIoV0ao1Z7zPzQ SctVYpFlXipUMxmg7TUcDkIdMoL3MSQe1Cp/a8Uk8VHiPtdS5jJDoVJi9MnfK04VGyUa SHRPv4r0O7cUm5el3oRqGg3cxMGg1ILyRpzNV87e4Z3/tKIS8aJfqmHaVUfn+MAV3Yq1 9PCncfxRGm1PfrI8bwieCB64IPE3lgWvBor1/IW5/tsQIBDTEVwKEJ3oFDt7YNKCFaLT uibC36G5IOO92SZxOM6c1Dab2n4IcW7WSB+4at0soR/SdGDsWNu4Yn8FKdAzJ6kTLsvn Dj2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=1dEDkzJYgjVVqjEitEFw8gql6+YijucNn9liE79fC9Y=; b=cTfMH1wpIRMskunMDD+ABFKZ8diOiPyicnlhVWoOWZDWNW+eOcyKuk1edGFQw68SJh +9gUDeEqr0MIN03AXAzqd3ygeQ4ovDfnZjWais3jOQZ9QqAcsMnbdwehZufOJgTGzU/9 0JpDAarYV4B8kwnzpO0dJC1uDF1o7UAdPWaJQ0YZ2gckYLRNVDGfdL89hq0DBlMRPgT8 L8EiJ4QiJBYQ0Px7B162rmySyNe38EoKIkHCUjKx1ArWC/dVBEaRcJc4Pd3h6p0XQCUe JNgDfH2UKGp3snw0GelrJYLpwihNEuVsYSWsmdWQg2wKfaYbKllQPRzH4YDgWJSa9XFX PmZQ== X-Gm-Message-State: AOAM533m49xz3NBuaalspKe/mpF+wQ7IG9lnxf+sAJtUeCc4p0BLq+P0 AWX5+KEy9Phq+VIzNI52vmSMCyF2+kJOzxCYAD6+OIKQ9WxCSZEL0ztLTFRXDjvH6E/yxZxWz/9 S1OAKAHPZ8pSME/uEqZD0FGG5+nGj4LPGzVROLnRucB84A00ObE1EOlMGDTzcAe6CIbF891GTND pzjmAh X-Received: by 2002:a25:9785:: with SMTP id i5mr3506413ybo.255.1596019941451; Wed, 29 Jul 2020 03:52:21 -0700 (PDT) Date: Wed, 29 Jul 2020 20:52:04 +1000 In-Reply-To: <20200729105206.2991064-1-victording@google.com> Message-Id: <20200729205144.1.I8556c0b9b6f75bf3121989f5641c33e694fff8d9@changeid> Mime-Version: 1.0 References: <20200729105206.2991064-1-victording@google.com> X-Mailer: git-send-email 2.28.0.rc0.142.g3c755180ce-goog Subject: [PATCH 1/3] x86/msr-index: sort AMD RAPL MSRs by address From: Victor Ding To: LKML Cc: Victor Ding , Borislav Petkov , "H. Peter Anvin" , Ingo Molnar , Jan Beulich , Josh Poimboeuf , Kim Phillips , Pawan Gupta , "Peter Zijlstra (Intel)" , Sean Christopherson , Thomas Gleixner , Tony Luck , Vineela Tummalapalli , x86@kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org MSRs in the rest of this file are sorted by their addresses; fixing the two outliers. No functional changes. Signed-off-by: Victor Ding --- arch/x86/include/asm/msr-index.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86/include/asm/msr-index.h index e8370e64a155..c5e92317356e 100644 --- a/arch/x86/include/asm/msr-index.h +++ b/arch/x86/include/asm/msr-index.h @@ -305,8 +305,8 @@ #define MSR_PP1_ENERGY_STATUS 0x00000641 #define MSR_PP1_POLICY 0x00000642 -#define MSR_AMD_PKG_ENERGY_STATUS 0xc001029b #define MSR_AMD_RAPL_POWER_UNIT 0xc0010299 +#define MSR_AMD_PKG_ENERGY_STATUS 0xc001029b /* Config TDP MSRs */ #define MSR_CONFIG_TDP_NOMINAL 0x00000648 -- 2.28.0.rc0.142.g3c755180ce-goog