blob: 51b8ccb83fd51fb11b61e24d3b9c4caeeab9e379 [file] [log] [blame]
Matt DeVilliered6fe2f2016-12-14 16:12:43 -06001config CPU_INTEL_COMMON
2 bool
Felix Held3748fca2023-09-12 14:48:38 +02003 select RESERVED_PHYSICAL_ADDRESS_BITS_SUPPORT
Matt DeVilliered6fe2f2016-12-14 16:12:43 -06004
5if CPU_INTEL_COMMON
6
7config ENABLE_VMX
8 bool "Enable VMX for virtualization"
9 default y
10
Matt DeVillierf9aed652018-12-15 15:57:33 -060011config SET_IA32_FC_LOCK_BIT
12 bool "Set IA32_FEATURE_CONTROL lock bit"
Matt DeVilliered6fe2f2016-12-14 16:12:43 -060013 default y
14 help
15 Although the Intel manual says you must set the lock bit in addition
16 to the VMX bit in order for VMX to work, this isn't strictly true, so
17 we have the option to leave it unlocked and allow the OS (e.g. Linux)
18 to manage things itself. This is beneficial for testing purposes as
19 there is no need to reflash the firmware just to toggle the lock bit.
20 However, leaving the lock bit unset will break Windows' detection of
21 VMX support and built-in virtualization features like Hyper-V.
22
Michael Niewöhner2ffd2192020-10-11 16:59:13 +020023config SET_MSR_AESNI_LOCK_BIT
24 bool "Lock the AES-NI enablement state"
25 default y
26 help
27 This config sets the AES-NI lock bit, if available, to prevent any
28 further change of AES-NI enablement. This may be disabled for e.g.
29 testing or debugging.
30
Kyösti Mälkki7841a7f2019-02-11 11:33:36 +020031config CPU_INTEL_COMMON_TIMEBASE
32 bool
33
Matt DeVilliered6fe2f2016-12-14 16:12:43 -060034endif
Kyösti Mälkkif5c0d612019-08-14 13:02:41 +030035
Patrick Rudolphb01ac7e2020-07-26 14:23:37 +020036config CPU_INTEL_COMMON_VOLTAGE
37 bool
38
Kyösti Mälkkif5c0d612019-08-14 13:02:41 +030039config CPU_INTEL_COMMON_SMM
40 bool
41 default y if CPU_INTEL_COMMON