From 24a05478aa45d754512b670ac3c979e0d599a6dc Mon Sep 17 00:00:00 2001 From: Tarun Tuli Date: Mon, 22 Aug 2022 16:41:35 -0400 Subject: 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 Change-Id: Id368925504d81025239e94698d2cb0e2266a5a96 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66949 Reviewed-by: Subrata Banik Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/soc/intel/meteorlake/cpu.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/soc/intel/meteorlake/cpu.c b/src/soc/intel/meteorlake/cpu.c index e0b7eccf69..00caaa529b 100644 --- a/src/soc/intel/meteorlake/cpu.c +++ b/src/soc/intel/meteorlake/cpu.c @@ -123,6 +123,9 @@ void soc_core_init(struct device *cpu) /* Enable Turbo */ enable_turbo(); + + if (CONFIG(INTEL_TME) && is_tme_supported()) + set_tme_core_activate(); } static void per_cpu_smm_trigger(void) -- cgit v1.2.3