Matt DeVillier | ed6fe2f | 2016-12-14 16:12:43 -0600 | [diff] [blame] | 1 | config CPU_INTEL_COMMON |
| 2 | bool |
Felix Held | 3748fca | 2023-09-12 14:48:38 +0200 | [diff] [blame] | 3 | select RESERVED_PHYSICAL_ADDRESS_BITS_SUPPORT |
Matt DeVillier | ed6fe2f | 2016-12-14 16:12:43 -0600 | [diff] [blame] | 4 | |
| 5 | if CPU_INTEL_COMMON |
| 6 | |
| 7 | config ENABLE_VMX |
| 8 | bool "Enable VMX for virtualization" |
| 9 | default y |
| 10 | |
Matt DeVillier | f9aed65 | 2018-12-15 15:57:33 -0600 | [diff] [blame] | 11 | config SET_IA32_FC_LOCK_BIT |
| 12 | bool "Set IA32_FEATURE_CONTROL lock bit" |
Matt DeVillier | ed6fe2f | 2016-12-14 16:12:43 -0600 | [diff] [blame] | 13 | 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öhner | 2ffd219 | 2020-10-11 16:59:13 +0200 | [diff] [blame] | 23 | config 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älkki | 7841a7f | 2019-02-11 11:33:36 +0200 | [diff] [blame] | 31 | config CPU_INTEL_COMMON_TIMEBASE |
| 32 | bool |
| 33 | |
Matt DeVillier | ed6fe2f | 2016-12-14 16:12:43 -0600 | [diff] [blame] | 34 | endif |
Kyösti Mälkki | f5c0d61 | 2019-08-14 13:02:41 +0300 | [diff] [blame] | 35 | |
Patrick Rudolph | b01ac7e | 2020-07-26 14:23:37 +0200 | [diff] [blame] | 36 | config CPU_INTEL_COMMON_VOLTAGE |
| 37 | bool |
| 38 | |
Kyösti Mälkki | f5c0d61 | 2019-08-14 13:02:41 +0300 | [diff] [blame] | 39 | config CPU_INTEL_COMMON_SMM |
| 40 | bool |
| 41 | default y if CPU_INTEL_COMMON |