mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
x86/spec-ctrl: More MSR_ARCH_CAPS enumerations
https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/best-practices/data-operand-independent-timing-isa-guidance.html https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/advisory-guidance/running-average-power-limit-energy-reporting.html Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
8c24b70fed
commit
4ccfee0a08
1 file changed
+9
@@ -51,6 +51,9 @@
|
||||
#define PPIN_ENABLE (_AC(1, ULL) << 1)
|
||||
#define MSR_PPIN 0x0000004f
|
||||
|
||||
#define MSR_MISC_PACKAGE_CTRL 0x000000bc
|
||||
#define PGK_CTRL_ENERGY_FILTER_EN (_AC(1, ULL) << 0)
|
||||
|
||||
#define MSR_CORE_CAPABILITIES 0x000000cf
|
||||
#define CORE_CAPS_SPLITLOCK_DETECT (_AC(1, ULL) << 5)
|
||||
|
||||
@@ -71,6 +74,9 @@
|
||||
#define ARCH_CAPS_IF_PSCHANGE_MC_NO (_AC(1, ULL) << 6)
|
||||
#define ARCH_CAPS_TSX_CTRL (_AC(1, ULL) << 7)
|
||||
#define ARCH_CAPS_TAA_NO (_AC(1, ULL) << 8)
|
||||
#define ARCH_CAPS_MISC_PACKAGE_CTRL (_AC(1, ULL) << 10)
|
||||
#define ARCH_CAPS_ENERGY_FILTERING (_AC(1, ULL) << 11)
|
||||
#define ARCH_CAPS_DOITM (_AC(1, ULL) << 12)
|
||||
#define ARCH_CAPS_SBDR_SSDP_NO (_AC(1, ULL) << 13)
|
||||
#define ARCH_CAPS_FBSDP_NO (_AC(1, ULL) << 14)
|
||||
#define ARCH_CAPS_PSDP_NO (_AC(1, ULL) << 15)
|
||||
@@ -155,6 +161,9 @@
|
||||
#define PASID_PASID_MASK 0x000fffff
|
||||
#define PASID_VALID (_AC(1, ULL) << 31)
|
||||
|
||||
#define MSR_UARCH_MISC_CTRL 0x00001b01
|
||||
#define UARCH_CTRL_DOITM (_AC(1, ULL) << 0)
|
||||
|
||||
#define MSR_EFER 0xc0000080 /* Extended Feature Enable Register */
|
||||
#define EFER_SCE (_AC(1, ULL) << 0) /* SYSCALL Enable */
|
||||
#define EFER_LME (_AC(1, ULL) << 8) /* Long Mode Enable */
|
||||
|
||||