Skip to content

Commit dae1bd5

Browse files
ChangSeokBaesuryasaimadhu
authored andcommitted
x86/msr-index: Add MSRs for XFD
XFD introduces two MSRs: - IA32_XFD to enable/disable a feature controlled by XFD - IA32_XFD_ERR to expose to the #NM trap handler which feature was tried to be used for the first time. Both use the same xstate-component bitmap format, used by XCR0. Signed-off-by: Chang S. Bae <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Chang S. Bae <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent c351101 commit dae1bd5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,8 @@
625625

626626
#define MSR_IA32_BNDCFGS_RSVD 0x00000ffc
627627

628+
#define MSR_IA32_XFD 0x000001c4
629+
#define MSR_IA32_XFD_ERR 0x000001c5
628630
#define MSR_IA32_XSS 0x00000da0
629631

630632
#define MSR_IA32_APICBASE 0x0000001b

0 commit comments

Comments
 (0)