]> Git Repo - J-linux.git/commitdiff
x86/msr: Move ARCH_CAP_XAPIC_DISABLE bit definition to its rightful place
authorPawan Gupta <[email protected]>
Fri, 19 Jan 2024 02:52:24 +0000 (18:52 -0800)
committerBorislav Petkov (AMD) <[email protected]>
Tue, 9 Apr 2024 15:39:54 +0000 (17:39 +0200)
The ARCH_CAP_XAPIC_DISABLE bit of MSR_IA32_ARCH_CAP is not in the
correct sorted order. Move it where it belongs.

No functional change.

  [ bp: Massage commit message. ]

Signed-off-by: Pawan Gupta <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/243317ff6c8db307b7701a45f71e5c21da80194b.1705632532.git.pawan.kumar.gupta@linux.intel.com
arch/x86/include/asm/msr-index.h

index 05956bd8bacf50e35f463c13720a38735fe8b1b5..961c0eb5aaaf2bfcd4dbc9cf8e71769cd8040e7c 100644 (file)
                                                 * are restricted to targets in
                                                 * kernel.
                                                 */
+#define ARCH_CAP_XAPIC_DISABLE         BIT(21) /*
+                                                * IA32_XAPIC_DISABLE_STATUS MSR
+                                                * supported
+                                                */
 #define ARCH_CAP_PBRSB_NO              BIT(24) /*
                                                 * Not susceptible to Post-Barrier
                                                 * Return Stack Buffer Predictions.
                                                 * File.
                                                 */
 
-#define ARCH_CAP_XAPIC_DISABLE         BIT(21) /*
-                                                * IA32_XAPIC_DISABLE_STATUS MSR
-                                                * supported
-                                                */
-
 #define MSR_IA32_FLUSH_CMD             0x0000010b
 #define L1D_FLUSH                      BIT(0)  /*
                                                 * Writeback and invalidate the
This page took 0.04991 seconds and 4 git commands to generate.