soc/intel/skylake: Use real common code for VMX init
Use the common VMX implementation, and set IA32_FEATURE_CONTROL lock bit per Kconfig *after* SGX is configured (as SGX also sets bits on the IA32_FEATURE_CONTROL register). As it is now correctly based on a Kconfig, the `VmxEnable` devicetree setting vanishes. Test: build/boot google/[chell,fizz], observe Virtualization enabled under Windows 10 when VMX enabled and lock bit set. Change-Id: Iea598cf74ba542a650433719f29cb5c9df700c0f Signed-off-by: Nico Huber <nico.h@gmx.de> Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/29682 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
cd7873a28a
commit
6275e34523
@@ -322,7 +322,7 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
|
||||
params->LogoPtr = config->LogoPtr;
|
||||
params->LogoSize = config->LogoSize;
|
||||
|
||||
params->CpuConfig.Bits.VmxEnable = config->VmxEnable;
|
||||
params->CpuConfig.Bits.VmxEnable = IS_ENABLED(CONFIG_ENABLE_VMX);
|
||||
|
||||
params->PchPmWoWlanEnable = config->PchPmWoWlanEnable;
|
||||
params->PchPmWoWlanDeepSxEnable = config->PchPmWoWlanDeepSxEnable;
|
||||
|
Reference in New Issue
Block a user