From 775c0e6de28390ac0d5688bfce1d7437878eb55f Mon Sep 17 00:00:00 2001 From: Shuo Liu Date: Sun, 28 Apr 2024 18:42:15 +0800 Subject: soc/intel/xeon_sp/spr: Print return codes for mp_init_with_smm TEST=Build and boot on intel/archercity CRB Change-Id: Iee2234a3055fe8a94ecbfc820e9ff9e981f8dff2 Signed-off-by: Shuo Liu Reviewed-on: https://review.coreboot.org/c/coreboot/+/82195 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/soc/intel/xeon_sp/spr/cpu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/soc/intel/xeon_sp') diff --git a/src/soc/intel/xeon_sp/spr/cpu.c b/src/soc/intel/xeon_sp/spr/cpu.c index 5014a1378c..ffd30b8361 100644 --- a/src/soc/intel/xeon_sp/spr/cpu.c +++ b/src/soc/intel/xeon_sp/spr/cpu.c @@ -270,6 +270,7 @@ void mp_init_cpus(struct bus *bus) microcode_patch = intel_microcode_find(); intel_microcode_load_unlocked(microcode_patch); - if (mp_init_with_smm(bus, &mp_ops) < 0) - printk(BIOS_ERR, "MP initialization failure.\n"); + enum cb_err ret = mp_init_with_smm(bus, &mp_ops); + if (ret < 0) + printk(BIOS_ERR, "MP initialization failure %d.\n", ret); } -- cgit v1.2.3