By using mp_run_on_all_cpus_synchronously to run APs MTRR init, it gurantees the BSP will run post_cpus_add_romcache until all APs finishes _x86_setup_mtrrs task. BUG=b:225766934 TEST=Test on redrix and found the MTRR race condition on AP/BSP is gone. Change-Id: I1fd889f880a0c605e6c739423a434d2adbc12d26 Signed-off-by: Kane Chen <kane.chen@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63567 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Subrata Banik <subratabanik@google.com> |
||
|---|---|---|
| .. | ||
| acpi | ||
| basecode | ||
| block | ||
| pch | ||
| fsp_reset.c | ||
| hda_verb.c | ||
| hda_verb.h | ||
| Kconfig.common | ||
| Makefile.inc | ||
| mma.c | ||
| mma.h | ||
| nhlt.c | ||
| reset.c | ||
| reset.h | ||
| smbios.c | ||
| smbios.h | ||
| tpm_tis.c | ||
| vbt.c | ||
| vbt.h | ||