From 3337497d2a1995614afd4a554747d86e4bcd8d31 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Tue, 24 Apr 2018 13:45:30 +0530 Subject: cpu/x86: Add support to run function with argument over APs This patch ensures that user can pass a function with given argument list to execute over APs. BUG=b:74436746 BRANCH=none TEST=Able to run functions over APs with argument. Change-Id: I668b36752f6b21cb99cd1416c385d53e96117213 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/25725 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/soc/intel/skylake/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc/intel/skylake') diff --git a/src/soc/intel/skylake/cpu.c b/src/soc/intel/skylake/cpu.c index 4a9d298f60..7f19dac072 100644 --- a/src/soc/intel/skylake/cpu.c +++ b/src/soc/intel/skylake/cpu.c @@ -477,9 +477,9 @@ static void post_mp_init(void) smm_lock(); #endif - mp_run_on_all_cpus(vmx_configure, 2000); + mp_run_on_all_cpus(vmx_configure, NULL, 2000); - mp_run_on_all_cpus(sgx_configure, 2000); + mp_run_on_all_cpus(sgx_configure, NULL, 2000); } static const struct mp_ops mp_ops = { -- cgit v1.2.3