diff options
Diffstat (limited to 'src/soc/intel/pantherlake/cpu.c')
-rw-r--r-- | src/soc/intel/pantherlake/cpu.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/soc/intel/pantherlake/cpu.c b/src/soc/intel/pantherlake/cpu.c index 659ba0cf12..28fa1d890f 100644 --- a/src/soc/intel/pantherlake/cpu.c +++ b/src/soc/intel/pantherlake/cpu.c @@ -138,7 +138,18 @@ void soc_core_init(struct device *cpu) if (CONFIG(INTEL_TME) && is_tme_supported()) set_tme_core_activate(); - /* TODO: Add support for DROP_CPU_FEATURE_PROGRAM_IN_FSP */ + if (CONFIG(DROP_CPU_FEATURE_PROGRAM_IN_FSP)) { + /* Disable 3-strike error */ + disable_signaling_three_strike_event(); + + set_aesni_lock(); + + /* Enable VMX */ + set_feature_ctrl_vmx_arg(CONFIG(ENABLE_VMX) && !conf->disable_vmx); + + /* Feature control lock configure */ + set_feature_ctrl_lock(); + } } static void per_cpu_smm_trigger(void) |