[PATCH v3 1/4] x86/msr-index: sort AMD RAPL MSRs by address

From: Victor Ding
Date: Tue Oct 27 2020 - 03:24:22 EST


MSRs in the rest of this file are sorted by their addresses; fixing the
two outliers.

No functional changes.

Signed-off-by: Victor Ding <victording@xxxxxxxxxx>
Acked-by: Kim Phillips <kim.phillips@xxxxxxx>


---

(no changes since v2)

Changes in v2:
By Kim Phillips <kim.phillips@xxxxxxx>:
- Added Kim's Acked-by.
- Added Daniel Lezcano to Cc.
- (No code changes).

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 972a34d93505..21917e134ad4 100644
--- a/arch/x86/include/asm/msr-index.h
+++ b/arch/x86/include/asm/msr-index.h
@@ -326,8 +326,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.29.0.rc2.309.g374f81d7ae-goog