soc/intel/meteorlake: Perform feature control lock

This function calls into `set_feature_ctrl_lock()` to lock
IA32_FEATURE_CONTROL MSRfeature control.

TEST=Able to build and boot google/rex.

Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: Ie9a03ee6786144dae6fd3a18bcc53cb62919dd42
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74162
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
This commit is contained in:
Subrata Banik 2023-04-01 20:42:46 +05:30 committed by Lean Sheng Tan
parent ad6073c8b0
commit 1d13fba3c3
1 changed files with 3 additions and 0 deletions

View File

@ -148,6 +148,9 @@ void soc_core_init(struct device *cpu)
/* Enable VMX */
set_feature_ctrl_vmx_arg(CONFIG(ENABLE_VMX) && !conf->disable_vmx);
/* Feature control lock configure */
set_feature_ctrl_lock();
}
}