aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorTarun Tuli <taruntuli@google.com>2022-08-22 16:41:35 -0400
committerFelix Held <felix-coreboot@felixheld.de>2022-08-26 17:31:50 +0000
commit24a05478aa45d754512b670ac3c979e0d599a6dc (patch)
tree5db89585380b9b13263ae86f89fe0de0fa7cb342 /src/soc/intel
parent1afa77120166c1a13b8c6143df14bacc74d9bb30 (diff)
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>
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/meteorlake/cpu.c3
1 files changed, 3 insertions, 0 deletions
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)