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 <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/25725 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
committed by
Patrick Georgi
parent
223fb436fe
commit
3337497d2a
@@ -607,7 +607,7 @@ struct chip_operations soc_intel_apollolake_ops = {
|
||||
static void drop_privilege_all(void)
|
||||
{
|
||||
/* Drop privilege level on all the CPUs */
|
||||
if (mp_run_on_all_cpus(&cpu_enable_untrusted_mode, 1000) < 0)
|
||||
if (mp_run_on_all_cpus(&cpu_enable_untrusted_mode, NULL, 1000) < 0)
|
||||
printk(BIOS_ERR, "failed to enable untrusted mode\n");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user