summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/xeon_sp/cpx/cpu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/intel/xeon_sp/cpx/cpu.c b/src/soc/intel/xeon_sp/cpx/cpu.c
index eb8c0eb48a..0999f6d721 100644
--- a/src/soc/intel/xeon_sp/cpx/cpu.c
+++ b/src/soc/intel/xeon_sp/cpx/cpu.c
@@ -16,6 +16,7 @@
#include <soc/msr.h>
#include <soc/soc_util.h>
#include "chip.h"
+#include <cpu/intel/common/common.h>
static const void *microcode_patch;
@@ -91,6 +92,9 @@ static void each_cpu_init(struct device *cpu)
/* Clear out pending MCEs */
xeon_configure_mca();
+
+ /* Enable Vmx */
+ set_vmx_and_lock();
}
static struct device_operations cpu_dev_ops = {