Re: [PATCH v2 13/25] x86: mp: Allow running functions on multiple CPUs

2020-06-28 Thread Bin Meng
Hi Simon, On Mon, Jun 15, 2020 at 1:00 AM Simon Glass wrote: > > 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

Re: [PATCH v2 13/25] x86: mp: Allow running functions on multiple CPUs

2020-06-16 Thread Wolfgang Wallner
Hi Simon, -"Simon Glass" 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',

[PATCH v2 13/25] x86: mp: Allow running functions on multiple CPUs

2020-06-14 Thread Simon Glass
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 en