]> git.baikalelectronics.ru Git - kernel.git/commit
x86/msr-index: Add MSRs for XFD
authorChang S. Bae <chang.seok.bae@intel.com>
Thu, 21 Oct 2021 22:55:17 +0000 (15:55 -0700)
committerBorislav Petkov <bp@suse.de>
Tue, 26 Oct 2021 08:18:09 +0000 (10:18 +0200)
commitfacd19d4ec9dafea1930ea20009713c05150b8a2
tree01e8f9c7df443052c9d7542cff4a3fefd83e3467
parent82605de0708712f354e668e0a081a2617f400247
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 <chang.seok.bae@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20211021225527.10184-14-chang.seok.bae@intel.com
arch/x86/include/asm/msr-index.h