Christian Walter has uploaded this change for review.

View Change

soc/intel/xeon_sp/cpx: Add locking of IA32_FEATURE_CONTROL and VMX

Change-Id: Ib329648f77acecccb0ced1806f61be252d03f2f4
Signed-off-by: Christian Walter <christian.walter@9elements.com>
---
M src/soc/intel/xeon_sp/cpx/cpu.c
1 file changed, 4 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/45869/1
diff --git a/src/soc/intel/xeon_sp/cpx/cpu.c b/src/soc/intel/xeon_sp/cpx/cpu.c
index eb8c0eb..0999f6d 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 @@

/* Clear out pending MCEs */
xeon_configure_mca();
+
+ /* Enable Vmx */
+ set_vmx_and_lock();
}

static struct device_operations cpu_dev_ops = {

To view, visit change 45869. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib329648f77acecccb0ced1806f61be252d03f2f4
Gerrit-Change-Number: 45869
Gerrit-PatchSet: 1
Gerrit-Owner: Christian Walter <christian.walter@9elements.com>
Gerrit-Reviewer: Patrick Rudolph <siro@das-labor.org>
Gerrit-MessageType: newchange