Skip to content

Commit 53bc516

Browse files
pa1guptabp3tk0v
authored andcommitted
x86/msr: Move ARCH_CAP_XAPIC_DISABLE bit definition to its rightful place
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
1 parent e0ca935 commit 53bc516

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

arch/x86/include/asm/msr-index.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@
163163
* are restricted to targets in
164164
* kernel.
165165
*/
166+
#define ARCH_CAP_XAPIC_DISABLE BIT(21) /*
167+
* IA32_XAPIC_DISABLE_STATUS MSR
168+
* supported
169+
*/
166170
#define ARCH_CAP_PBRSB_NO BIT(24) /*
167171
* Not susceptible to Post-Barrier
168172
* Return Stack Buffer Predictions.
@@ -185,11 +189,6 @@
185189
* File.
186190
*/
187191

188-
#define ARCH_CAP_XAPIC_DISABLE BIT(21) /*
189-
* IA32_XAPIC_DISABLE_STATUS MSR
190-
* supported
191-
*/
192-
193192
#define MSR_IA32_FLUSH_CMD 0x0000010b
194193
#define L1D_FLUSH BIT(0) /*
195194
* Writeback and invalidate the

0 commit comments

Comments
 (0)