diff options
author | Kane Chen <kane.chen@intel.corp-partner.google.com> | 2022-04-29 16:35:23 +0800 |
---|---|---|
committer | Werner Zeh <werner.zeh@siemens.com> | 2022-05-16 04:49:25 +0000 |
commit | c9b1f8a28e90ff6890a4f74559f5136edc5a33f9 (patch) | |
tree | cff9eb50eb85a3bf618c7c24e22d750604eb45c4 /src/mainboard/purism | |
parent | 8b02bd1f8de71d852daf41df80d6bb27e86b90f7 (diff) |
cpu/x86/mp_init.c: Add mp_run_on_all_cpus_synchronously
MTRR is a core level register which means 2 threads in one core share
same MTRR. There is a race condition could happen that AP overrides
BSP MTRR unintentionally.
In order to prevent such race condition between BSP and APs, this
patch provides a function to let BSP assign tasks to all APs and wait
them to complete the assigned tasks.
BUG=b:225766934
Change-Id: I8d1d49bca410c821a3ad0347548afc42eb860594
Signed-off-by: Kane Chen <kane.chen@intel.corp-partner.google.com>
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63566
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/purism')
0 files changed, 0 insertions, 0 deletions