Hi Simon,

-----"Simon Glass" <s...@chromium.org> schrieb: -----
> Betreff: [PATCH v2 13/25] x86: mp: Allow running functions on multiple CPUs
> 
> Add a way to run a function on a selection of CPUs. This supports either
> a single CPU, all CPUs, just the main CPU or just the 'APs', in Intel
> terminology.
> 
> It works by writing into a mailbox and then waiting for the CPUs to notice
> it, take action and indicate they are done.
> 
> When SMP is not yet enabled, this just calls the function on the main CPU.
> 
> Signed-off-by: Simon Glass <s...@chromium.org>
> ---
> 
> Changes in v2:
> - Add a comment to run_ap_work()
> 
>  arch/x86/cpu/mp_init.c    | 96 ++++++++++++++++++++++++++++++++++++---
>  arch/x86/include/asm/mp.h | 30 ++++++++++++
>  2 files changed, 120 insertions(+), 6 deletions(-)

Reviewed-by: Wolfgang Wallner <wolfgang.wall...@br-automation.com>

Reply via email to