soc/intel/mtl: Activate TME on all CPUs

This patch runs `set_tme_core_activate()` on all CPUs (BSP+APs) as
per MTL processor EDS.

TEST= Able to build and boot RVP.
Confirmed TME supported mode detected via temporary debug prints and MSR 0x9ff indicates activated.

Signed-off-by: Tarun Tuli <taruntuli@google.com>
Change-Id: Id368925504d81025239e94698d2cb0e2266a5a96
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66949
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Tarun Tuli 2022-08-22 16:41:35 -04:00 committed by Felix Held
parent 1afa771201
commit 24a05478aa
1 changed files with 3 additions and 0 deletions

View File

@ -123,6 +123,9 @@ void soc_core_init(struct device *cpu)
/* Enable Turbo */ /* Enable Turbo */
enable_turbo(); enable_turbo();
if (CONFIG(INTEL_TME) && is_tme_supported())
set_tme_core_activate();
} }
static void per_cpu_smm_trigger(void) static void per_cpu_smm_trigger(void)