From 1d13fba3c32ba7974b2c73428ff4b096e814dcd2 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Sat, 1 Apr 2023 20:42:46 +0530 Subject: 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 Change-Id: Ie9a03ee6786144dae6fd3a18bcc53cb62919dd42 Reviewed-on: https://review.coreboot.org/c/coreboot/+/74162 Tested-by: build bot (Jenkins) Reviewed-by: Kapil Porwal Reviewed-by: Eric Lai --- src/soc/intel/meteorlake/cpu.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc/intel/meteorlake') diff --git a/src/soc/intel/meteorlake/cpu.c b/src/soc/intel/meteorlake/cpu.c index bc7f7c76e8..5177c4da30 100644 --- a/src/soc/intel/meteorlake/cpu.c +++ b/src/soc/intel/meteorlake/cpu.c @@ -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(); } } -- cgit v1.2.3