From 1b5e3a27075560d2d4265ece43e855fe43cfe395 Mon Sep 17 00:00:00 2001 From: Jincheng Li Date: Mon, 12 Aug 2024 12:27:49 +0800 Subject: soc/intel/xeon_sp/gnr: Implement SMM methods Change-Id: I578b2c213ff1b33b4ca37e0422f690bedc9f5ba1 Signed-off-by: Jincheng Li Reviewed-on: https://review.coreboot.org/c/coreboot/+/84325 Reviewed-by: Arthur Heymans Tested-by: build bot (Jenkins) --- src/soc/intel/xeon_sp/gnr/cpu.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/soc/intel/xeon_sp/gnr/cpu.c b/src/soc/intel/xeon_sp/gnr/cpu.c index 9502865926..ebccb0814d 100644 --- a/src/soc/intel/xeon_sp/gnr/cpu.c +++ b/src/soc/intel/xeon_sp/gnr/cpu.c @@ -2,10 +2,12 @@ #include #include +#include #include #include #include #include +#include #include #include @@ -84,6 +86,11 @@ static void post_mp_init(void) static const struct mp_ops mp_ops = { .pre_mp_init = pre_mp_init, .get_cpu_count = get_thread_count, +#if CONFIG(HAVE_SMI_HANDLER) + .get_smm_info = get_smm_info, + .pre_mp_smm_init = smm_southbridge_clear_state, + .relocation_handler = smm_relocation_handler, +#endif .get_microcode_info = get_microcode_info, .post_mp_init = post_mp_init, }; -- cgit v1.2.3