Initialize the VMX MSR
The VMX MSR may come up with random values and needs to be initialized to zero. This was done incorrectly in finalize_smm. It must be done on a per core basis in the general CPU init. This touches all Sandybridge and Ivybridge configs. Change-Id: I015352d0f8e2ebe55ac0a5e9c5bbff83bd2ff86b Signed-off-by: Marc Jones <marc.jones@se-eng.com> Reviewed-on: http://review.coreboot.org/1794 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
committed by
Stefan Reinauer
parent
5986edadff
commit
f5a11aa82f
@@ -43,7 +43,6 @@ static void msr_set_bit(unsigned reg, unsigned bit)
|
||||
|
||||
void intel_model_206ax_finalize_smm(void)
|
||||
{
|
||||
msr_set_bit(IA32_FEATURE_CONTROL, 0);
|
||||
msr_set_bit(MSR_PMG_CST_CONFIG_CONTROL, 15);
|
||||
|
||||
/* Lock AES-NI only if supported */
|
||||
|
Reference in New Issue
Block a user