From 766bd0040f082e82b3af199fb392c462444fb79d Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Tue, 23 Aug 2022 19:29:07 +0530 Subject: soc/intel/adl: Consider INTEL_TME config prior TME MSR programming This patch brings INTEL_TME config check prior programming TME Set Activation Core MSR on all cores. TEST=Able to boot Google/Taeko to OS. Signed-off-by: Subrata Banik Change-Id: I8af7e305da1050f443929ab33be556e713e53e9a Reviewed-on: https://review.coreboot.org/c/coreboot/+/66976 Reviewed-by: Tarun Tuli Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/soc/intel/alderlake/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/intel/alderlake/cpu.c b/src/soc/intel/alderlake/cpu.c index dce5478f80..e339d6d2e9 100644 --- a/src/soc/intel/alderlake/cpu.c +++ b/src/soc/intel/alderlake/cpu.c @@ -141,7 +141,7 @@ void soc_core_init(struct device *cpu) /* Enable Turbo */ enable_turbo(); - if (is_tme_supported()) + if (CONFIG(INTEL_TME) && is_tme_supported()) set_tme_core_activate(); } -- cgit v1.2.3