soc/intel/alderlake: Perform TME core activation on all CPUs

This patch runs `set_tme_core_activate()` on all CPUs (BSP+APs) as
per Alder Lake Processor EDS.

TEST= Able to build and boot Google/Redrix.
Dumping MSR 0x9FF on all logical processors shows zero value being
set.

Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I130480d4fba413d47d0d0137932ec1fb041a88d8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66753
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Subrata Banik 2022-08-15 16:38:49 +05:30
parent 66cd18462c
commit 069b6d0479
1 changed files with 3 additions and 0 deletions

View File

@ -140,6 +140,9 @@ void soc_core_init(struct device *cpu)
set_energy_perf_pref(conf->energy_perf_pref_value);
/* Enable Turbo */
enable_turbo();
if (is_tme_supported())
set_tme_core_activate();
}
static void per_cpu_smm_trigger(void)